|  | 
|  | 
| вернуться в форум | WA3. O(N^2) solution Gimme some tests, please :) All tests that I found my program passed right, I can't understand my mistake.Now I have WA4 :)
 
 
 Edited by author 08.07.2012 10:07
Re: WA3. O(N^2) solution can anybody explain me an idea of N^2?Re: WA3. O(N^2) solution I think there is no O(N^2) solution, but who knows? Maybe, I'm not right. Now my AC solution is nearly O(N^3) (something like N^3-N^4 operation) - it's enough. | 
 | 
|