cf/mirror

Begginer's Zelda

CF
1905B1100· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
4
4
1 2
1 3
3 4
9
3 1
3 5
3 2
5 6
6 7
7 8
7 9
6 4
7
1 2
1 3
2 4
4 5
3 6
2 7
6
1 2
1 3
1 4
4 5
2 6
Output
1
3
2
2
1905B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…