|
|
вернуться в форумComplexity Which complexity is the best? I got ac with O(n^2*logn), but the running time of my program was 0.25s. Re: Complexity O(N^2) is the best I knew. However, it takes N^2 in memory. See Timus-1395 "Pascal vs C++. Version 2" (-) Re: Complexity I got AC in 0.046s with O(n^2). But take O(n^2)memory |
|
|