| acmsguru |
|---|
| Finished |
has built N cities connected with two-way roads. They believed in magic of an even number K and built the roads in such a way that each city had exactly K roads going from it. sample input | sample output |
9 4 1 2 1 3 1 4 1 5 2 3 3 4 4 5 5 2 2 6 3 7 4 8 5 9 6 7 7 8 8 9 9 6 7 9 8 6 | YES 4 9 5 3 12 13 10 11 15 |
| Name |
|---|


