|
|
back to boardI only think of a O(N^2) algo for this problem. At first,I wrote it in Pascal,But TLE. And then,I wrote it in C,and got AC. Who can do the explanation for me? Thanks! I got AC with N^2 CPP solution in 0.968 sec. Maybe judges should decrease the Time Limit. New time limit is 0.25 sec. Bruteforce gets TL now. All recent submits were rejudged. |
|
|