|
|
вернуться в форумI solve it with BFS, but i still have Time Limit Exceeded. Послано rafal 21 мар 2003 20:18 Is there any other way to solve this problem, please help me, give me a tip. I got 'accepted' only changed 'integer' to 'longint'. Послано Lin 22 мар 2003 09:25 > Is there any other way to solve this problem, please help me, give me > a tip. Re: I got 'accepted' only changed 'integer' to 'longint'. BFS is O(N) and reading input is also O(N), so... |
|
|