http://codeforces.net/gym/100134
I have found there are some unexpected characters such as spaces or tal in the input file. I'm sure my code will run correct on small test cases,but wa on test 1 30ms.my code will run much more than 30ms on big test.. So hope admin can check it..
You should read from file
disjoint.in
and write todisjoint.out
.