Блог пользователя Topcoder_Updates

Автор Topcoder_Updates, история, 3 года назад, По-английски

Topcoder SRM 824 is scheduled to start at 12:00 UTC-5 on February 19, 2022.

Registration is now open for the SRM in the Arena or Applet and closes at 11:55 UTC-5 .The coding phase will start at 12:05 UTC-5, so make sure that you are all ready to go. Click here to see what time it starts in your area.

Please take a look at our How to Compete guide to understand Topcoder Algorithm rounds better.

Some Important Links:: Match Results (match results, rating changes, challenges, individual test case results), Problem Archive, Problem Writing, Algorithm Rankings, Editorials and Older Editorials(SRM 710 and before),

Best of luck!
- The Topcoder Team

  • Проголосовать: нравится
  • +30
  • Проголосовать: не нравится

»
3 года назад, # |
Rev. 4   Проголосовать: нравится +6 Проголосовать: не нравится

PS. there is a rule-change on Topcoder SRM rules regarding pre-written code, effective now. See the thread at this link and the full rules here.

»
3 года назад, # |
  Проголосовать: нравится 0 Проголосовать: не нравится

I have a question about the 30% pre-written code. Does this deduct my point? Or just a warning? Honestly, this rule doesn't make sense much cause many people put their personal library in the code regardless of the use.

»
3 года назад, # |
Rev. 2   Проголосовать: нравится 0 Проголосовать: не нравится

My Div-2 600 failed because I used recursion+memoization, the same exact code works fine on my machine and also I tried it on Codeforces custom tests and it works fine,the limits are pretty small and the code run pretty fast so I didn't expect that to exceed the stack size, is that intended?

Code

I know it's better to test on the topcoder itself but sometimes I just test on my machine, and honestly I didn't expect that :/

»
3 года назад, # |
Rev. 5   Проголосовать: нравится 0 Проголосовать: не нравится

Can any one tell why this fails? Or provide the test case?

code
  • »
    »
    3 года назад, # ^ |
      Проголосовать: нравится 0 Проголосовать: не нравится

    It's trivial to construct a case where v%c is increasing but $$$s=f$$$ and an answer exists.