xyzbajju's blog

By xyzbajju, history, 7 months ago, In English

Problem Named speedRun

https://www.codechef.com/problems/SPR?tab=statement

can anyone please help in this question , appeared in todays contest. I have got the approach after the bombing is done which is easier as well , can anyone help me further.

Thanks

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

»
7 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by xyzbajju (previous revision, new revision, compare).

»
7 months ago, # |
  Vote: I like it 0 Vote: I do not like it

The test cases for this question were weak, as an O(n^2) solution was able to pass. See this solution: https://www.codechef.com/viewsolution/1063437308