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

Автор shivamjain, история, 11 лет назад, По-английски

i submitted a solution to this question, but i cant understand why i am getting error. here's my code: http://codeforces.me/contest/598/submission/14241094 any help will be appreciated.

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

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

would be much better if u just placed a submition :/ this is ugly i dont think any body can read :)

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

also give me a good reason why it shouldnt get tl :)

think the querries are all like this

l = 1 , r = n , k = n — 1

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

my solution passed 14 test cases and is getting timed out in test case #15. i think i have taken the constraints in consideration.