nocriz's blog

By nocriz, history, 7 months ago, In English

Code is available at https://mirror.codeforces.com/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

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

How did you calculate the maximum cost?

  • »
    »
    4 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