sg0310461's blog

By sg0310461, history, 13 months ago, In English

Can anyone tell me why my solution is giving TLE in Codeforces Round 909 (Div. 3) problem D despite being O(n)? My solution for problem D is https://codeforces.net/contest/1899/submission/233163745 .

Full text and comments »

  • Vote: I like it
  • +5
  • Vote: I do not like it