|
|
вернуться в форумTLE 18 test, python 3 My algorythm has maximum O(n^2) complexity. I have TLE 18 test. But, when i artificially set limits for n (amount of layers) to 200 and for k (amount of bricks in a single layer) to 290, my program still gets TLE 18 test, i really have no idea how is it possible. It should get WA\AC if inputs are more than limits since i do not see any possibility of an endless cycle in my algo. Edited by author 27.02.2020 21:19 Edited by author 27.02.2020 21:36 |
|
|