cf/mirror

Elimination of a Ring

CF
1761B1000· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
3
4
1 2 3 2
4
1 2 1 2
1
1
Output
4
3
1
1761B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)