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

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

The problem statement is included in a PDF, here's the url http://mirror.codeforces.com/gym/100676/attachments/download/3333/acm-arabella-collegiate-programming-contest-en.pdf

This is my submission : http://ideone.com/ydWkFG ( Submission ID : # http://mirror.codeforces.com/gym/100676/submission/13904264)

Getting MLE on submission, makes me think of my approach as an incorrect one. Please help to fix/correct the above mentioned approach, or provide hints towards the right approach , if mine is wrong.

Ty in advance. :) Warm Regards

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

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

"or provide hints towards the right approach , if mine is wrong". It's obvious that your approach is wrong as it is giving MLE!

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

I'm not allowed to view the requested page. (Your submission ID link)