Exam in BerSU (hard version)
1185C21700· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
7 151 2 3 4 5 6 7
Output
0 0 0 0 0 2 3
Sample 2of 2
Input
5 10080 40 40 40 60
Output
0 1 1 2 3
58%
1185C2.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)