SriniV's blog

By SriniV, history, 18 months ago, In English

For Problem B, would the maximum $$$a_{i}$$$|$$$a_{j}$$$ = 2n-1 -> so f(n-1 , n) = n^2-n-k-2nk?

How would you solve f(i,n) > f(n-1,n) in that case?

Problem: 1554B - Cobb
Editorial : https://mirror.codeforces.com/blog/entry/93321

  • Vote: I like it
  • 0
  • Vote: I do not like it