cf/mirror

Game with Colored Marbles

CF
2042B900· newbie2s512 MB⌨ stdin/stdout

Examples

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