cf/mirror

Rudolf and the Ball Game

CF
1941D1200· pupil2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
5
6 3 2
2 ?
2 ?
2 ?
12 1 2
3 1
10 7 4
2 ?
9 1
4 ?
7 0
2 0
8 1
5 ?
5 3 1
4 0
4 ?
1 ?
4 1 1
2 ?
Output
3
2 4 6
1
11
4
3 5 7 9
3
2 3 5
1
3
1941D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…