|  | 
|  | 
| back to board | Is it possible to get faster than O(m log n) time?Re: Is it possible to get faster than O(m log n) time? > I used algorithm with O(m log n) and got AC. But of course, whenyou search, sometime you can see that it 's not necessary to
 continue. Ex : if student's year < teacher's first year -> ignor this
 year.
hashing is another idea ,but , but ... (-) >Re: Is it possible to get faster than O(m log n) time? My algorhitm is O(m). But it is not work :)
 Edited by author 29.11.2006 16:19
 
 Edited by author 29.11.2006 16:19
Re: Is it possible to get faster than O(m log n) time? yes,  use hash | 
 | 
|