cf/mirror

Doctor's Brown Hypothesis

CF
1835D2900· international gm2s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
7 8 346
1 2
1 3
2 4
3 4
4 5
5 1
6 7
7 6
Output
5
Sample 2of 3
Input
5 6 128
1 2
1 3
2 4
3 4
4 5
5 1
Output
6
Sample 3of 3
Input
3 3 30
1 2
2 3
3 2
Output
2
1835D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…