My code of problem H that passed the pretest got TLE on test 1. Is there something wrong with the judge? Why it can pass the sample within the contest but failed in system test. There is no randomization in my code.
https://mirror.codeforces.com/contest/2178/submission/355404092









