cf/mirror

Elections

CF
1978D1600· expert2s256 MB⌨ stdin/stdout

Examples

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