Topcoder_Updates's blog

By Topcoder_Updates, history, 3 years ago, In English

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

  • Vote: I like it
  • +30
  • Vote: I do not like it

| Write comment?
»
3 years ago, # |
Rev. 4   Vote: I like it +6 Vote: I do not like it

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 years ago, # |
  Vote: I like it 0 Vote: I do not like it

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 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

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 years ago, # |
Rev. 5   Vote: I like it 0 Vote: I do not like it

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

code
  • »
    »
    3 years ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

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