nocriz's blog

By nocriz, history, 7 months ago, In English

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

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

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

»
5 weeks ago, # |
  Vote: I like it +3 Vote: I do not like it

How did you calculate the maximum cost?

  • »
    »
    3 weeks ago, # ^ |
      Vote: I like it +13 Vote: I do not like it

    It grows monotonically with the parameters, so just test the largest case