Time limit adjusted & problem rejudged. It seems that recent changes on the judge server caused a great impact on the efficiency of some O(N2 ) solutions.
Time limit adjusted & problem rejudged. It seems that recent changes on the judge server caused a great impact on the efficiency of some O(N2 ) solutions.