'ACM UVA 11331'에 해당되는 글 1건

  1. 2008.05.14 UVA 11331 - [Test Case] The Joys of Farming
공부/ACM2008. 5. 14. 02:03
Input:
5
4 8 8
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9

3 2 4
1 2
2 3
3 1
2 4

4 8 6
1 2
3 4
5 6
7 8
9 10
11 12

10 3 9
1 2
2 3
4 6
9 8
1 9
10 11
13 6
5 8
12 7

7 7 8
1 2
3 4
5 6
1 7
1 8
1 9
8 9
2 9

Output:
yes
no
no
no
no


Posted by Jyui