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

Автор xyzbajju, история, 5 месяцев назад, По-английски

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

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

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

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

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

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