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

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

I'm trying to solve the problem A of Codeforces Trainings Season 2 Episode 11. But I don't understand why did I got TLE on test 2, while I used O(n) solution. Can anyone help me explaining it?

My solution

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

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

link to the solution is not working you can't post a link to a gym submission instead you can use a website like pastebin.com and post the link of your solution