xuanquang1999's blog

By xuanquang1999, 5 years ago, In English,

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

 
 
 
 
  • Vote: I like it
  • 0
  • Vote: I do not like it

»
5 years ago, # |
Rev. 2   Vote: I like it 0 Vote: I do not like it

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