Controversial Rounds
1398F2500· grandmaster2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
611?000
Output
6 3 2 1 0 0
Sample 2of 3
Input
501?01
Output
5 1 0 0 0
Sample 3of 3
Input
12???1??????1?
Output
12 6 4 3 2 2 1 1 1 1 1 1
58%
1398F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)