ENG
RUS
Timus 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
Discussion of Problem
1450
. Russian Pipelines
for those who have WA10
Posted by
Vladislav
30 Mar 2014 19:07
If you use topological sort, and then use dp, you should check that there is a way from s to vertex from which you want to get to the next vertex.
© 2000–2024
Timus Online Judge Team
. All rights reserved.