cf/mirror

Colored Subgraphs

CF
1796E2500· grandmaster2s256 MB⌨ stdin/stdout

Examples

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