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 1080
Posted by Nazar Revutsky 13 Apr 2001 04:41
May the input consist the countries:
3
1 3 0
3 0
0

Please give me any hints for this problem.
Re: Problem 1080 --> You should use DFS or BFS
Posted by Tran Nam Trung (trungduck@yahoo.com) 13 Apr 2001 14:57
> May the input consist the countries:
> 3
> 1 3 0
> 3 0
> 0
>
> Please give me any hints for this problem.
Re: Problem 1080 --> You should use DFS or BFS
Posted by Nazar Revutsky 14 Apr 2001 00:11
What is DFS or BFS ?
i think he means Deep First Search and Breadth First Search
Posted by Dinh Quang Hiep (mg9h@yahoo.com) 14 Apr 2001 08:28
> What is DFS or BFS ?