Please subscribe to the official Codeforces channel in Telegram via the link https://t.me/codeforces_official. ×

callisto's blog

By callisto, history, 8 years ago, In English

code

In this code I minimize the difference between prefix sums only, but don't consider the difference of indexes. I think there might be test where prefix sums difference is bigger, but indexes difference is small, and it can be answer.

Full text and comments »

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