fan_balae's blog

By fan_balae, history, 4 years ago, In Russian

Link to submission: https://codeforces.com/contest/1324/submission/81004543

The algorithm is similar to what most others used but this is showing a TLE on the 24th test. Can anyone point out my error?

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