|
|
вернуться в форумProblem statement was updated: • "All the pieces have distinct coordinates and lie on a table" • "Coordinates should be precise up to 7 digits" New tests have been added. Timelimit was decreased to 3 seconds. Submissions made after contest have been rejudged. This problem suppose O(N^2) solution now. I think there is an O(NlogN) solution But how??? I solved this problem using quadro trees. My solution is about O(N^2*log(N)). What is O(N^2) or O(Nlog(N)) algo? Diagram of Voronoy - is O(n*log(n)) O(n^3) is also acceptable, but it seems to be O(n^2) Edited by author 06.01.2012 03:13 |
|
|