Cobb — 1554B

Revision en1, by SriniV, 2023-06-01 16:37:42

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

Tags help, bitwise

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English SriniV 2023-06-01 16:37:42 243 Initial revision (published)