Comments
On chenjb → XXII Open Cup: GP of EDG, 4 years ago
0
On chenjb → XXII Open Cup: GP of EDG, 4 years ago
0

Can anyone help me? I always get wrong answer on #3.

my submission: #180039582

Just note that all the data is random, so you can just search for the s2 and find the max answer as this process is thought to be around O(logN)