fan_balae's blog

By fan_balae, history, 5 years ago, In Russian

Link to submission: https://codeforces.net/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