|
|
вернуться в форумMy solution on Pascal is 247 bytes only! But uses more memory and time than others :) (-) > O(n^2)? I think it will get TLE. I know O(N*logN) solution (rather simple), but O(N^2) passes TL easily - computers became faster since 2000 (-) |
|
|