cf/mirror

Destroying Bridges

CF
1944A800· newbie1s256 MB⌨ stdin/stdout

Examples

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