cf/mirror

Game of Ball Passing

CF
1649B1300· pupil1s256 MB⌨ stdin/stdout

Examples

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