ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Common Board

2 Miguel Angel or any1 who has solved 1254
Posted by uuuuuuu 6 Apr 2003 15:17
1. Did You use BFS ?

2. I use improved BFS and my complexity is (k*BFS+seeking for
the      shortest way which takes the length of the way). But i
always get TLE ?!
I use BFS and get AC within 10 sec. Easy algo O(M*N*K) (-)
Posted by Dmitry 'Diman_YES' Kovalioff 6 Apr 2003 21:12