calling all geniuses: N^3 is actually N^2 ?????????????

Revision en1, by TwentyOneHundredOrBust, 2019-10-17 02:32:47

https://mirror.codeforces.com/contest/1237/submission/62742100

Looks N^3, but seems to be N^2 after constructing many cases. Any proofs/can you hack it?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English TwentyOneHundredOrBust 2019-10-17 02:32:47 203 Initial revision (published)