VMSS 7WC '16, Week 1

Vincent Massey's Seven Week Challenge is back! In the seven weeks leading into CCC, we'll be writing weekly contests to prepare everyone for it. Each contest will have three problems, in order of difficulty: Bronze, Silver, and Gold. You'll have a week to solve them all, so take it easy.

In this contest, you'll follow a scrappy young computational mathematician by the name of Leo Feng as he realizes his dreams: Project Feng, a weapon to surpass Project Euler. Under his guidance, you will learn the secrets to prime factorization, the mysteries of logical thinking, and the lost art of Russian palindrome cultivation.

The problem writer for this week is JeffreyZ. Bronze and Silver should be solvable with Python. Gold was done in C++ and I'm not going to make any guarantees about that one.

This round will be unrated.

Before the contest date, you may wish to check out the tips and help pages.

The contest consists of three problems with a difficulty range similar to that of CCC Junior. If you cannot solve a problem fully, we encourage you to go for partial marks.

After joining the contest, you proceed to the Problems tab to begin. You can also go to Users if you wish to see the rankings.

We have listed below some advice as well as contest strategies:

  • Start from the beginning. Ties will be broken by the sum of times used to solve the problems starting from the beginning of the contest. The last submission time of your highest score will be used.
  • Remove all extra debugging code and/or input prompts from your code before submitting. The judge is very strict — most of the time, it requires your output to match exactly.
  • Do not pause program execution at the end. The judging process is automated. You should use stdin / stdout to perform input / output, respectively.
  • It is guaranteed that all the problems will be solvable with C++.

Don't panic. Good luck!


  • 2
    YouZ  commented on Jan. 11, 2016, 10:04 p.m.

    If I leave... do I still get my ranking? I mean, I solved all 3

    • -1
      Xyene  commented on Jan. 11, 2016, 10:08 p.m.

      Yes, the ranking persists (and you may join the contest later as long as your timer is not expired).

  • 1
    r3mark  commented on Jan. 7, 2016, 10:12 a.m.

    Is that the dismissal time at VMSS or something?

    • 0
      JeffreyZ  commented on Jan. 7, 2016, 4:38 p.m.

      Yeah, our periods are weird.

  • 4
    bobhob314  commented on Jan. 4, 2016, 5:50 p.m.

    IT'S BACK <3 <3 <3

    • 1
      JeffreyZ  commented on Jan. 4, 2016, 10:55 p.m.

      YOU'RE BACK <3 <3 <3

      • 2
        bobhob314  commented on Jan. 8, 2016, 7:50 a.m.

        Jeffrey, I have a few questions on how you run your computer club (assuming that you run it, of course). Could you give me your last name so I can add you on fb? I was mostly interesting in how you managed your retention and what you do to keep people interested in what you explain (if you do any lecture-type things). Does your club do anything besides competitive programming?

        Thanks, Max

        • 2
          JeffreyZ  commented on Jan. 8, 2016, 1:17 p.m.

          Added you on FB, but don't expect much.

      • 3
        bobhob314  commented on Jan. 5, 2016, 7:36 a.m. edited

        I NEVER LEFT BB <3 <3 <3