Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

the_explorer_adarsh's blog

By the_explorer_adarsh, history, 16 months ago, In English

There was this problem that I came across, and solutions here did not cover all edge cases from my perspective. Please clarify if for test case 1 1 5 9 2 3 The result should be 3 moves or 11 moves because it accepted 11, but it can be done in 3 moves by inserting top 3 zeros at the position just 4th from the bottom.

As it accepted my solution where the result for above was 11.

2122B - Pile Shuffling ahsoltan Please do review it.

Full text and comments »

  • Vote: I like it
  • -7
  • Vote: I do not like it