cf/mirror

Ehab's Last Theorem

CF
1325F2500· grandmaster1s256 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
6 6
1 3
3 4
4 2
2 6
5 6
5 1
Output
1
1 6 4
Sample 2of 3
Input
6 8
1 3
3 4
4 2
2 6
5 6
5 1
1 4
2 5
Output
2
4
1 5 2 4
Sample 3of 3
Input
5 4
1 2
1 3
2 4
2 5
Output
1
3 4 5
1325F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…