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

problem 1315
Posted by hajime 16 Apr 2004 02:48
Hi, i'm trying solve this problem using bfs with priority queue but keep getting WA. Could somebody help me or give any tricky input/output ??