|
|
back to boardHow dangerous it was!!! 1069 Pascal Accepted 0.906 I use O(N^2) Re: How dangerous it was!!! There is O(n*log(n)) algorithm for this problem (use heap). Re: How dangerous it was!!! Posted by 天下无双 28 Oct 2004 16:50 呵呵。我现在用了线段树,就成这样了: 1069 Pascal Accepted 0.062 789 КБ |
|
|