cf/mirror

Chips on the Board

CF
1879B900· newbie2s256 MB⌨ stdin/stdout

Examples

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