|
|
back to boardProblem 1200 "Horns and Hoofs". New time limit is 0.25 sec (-) Bruteforce O(K*K) works faster than 1 second (-) I got again AC!!! I remake NEW 0.032s Create NEW 0.033 please!!! :) Re: I got again AC!!! I don't see the reason to put a new time limit... I think that sometimes is good to have the posibility to do it in several ways (even if some of this ways are slower than others)...and also because there are other problems like this where you need to do it only in a fast way if you want to get AC But it's not my decition byee Re: I got again AC!!! Michel, I think the time limit is changed because O(k^2) is not what the author wants to pass. In fact there are lots of possible solutions. For example, mine works in O(k*logk). |
|
|