Comments

I submitted this code on 2h 24 min, it passed the pretest after 2h 30min, is this submission legal?

Why can't it be sys tested?

https://mirror.codeforces.com/contest/2211/submission/368593258

upd : Tt is solved. Thanks to Proof_by_QED.