Codeforces and Polygon may be unavailable from May 23, 4:00 (UTC) to May 23, 8:00 (UTC) due to technical maintenance. ×

nocriz's blog

By nocriz, history, 4 weeks ago, In English

Code is available at https://codeforces.com/contest/1965/submission/258446500.

The maximum cost is 348800. I hope the reader is entertained.

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