Balanced Remainders
1490B1000· newbie2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
460 2 5 5 4 862 0 2 1 0 097 1 3 4 2 10 3 9 660 1 2 3 4 5
Output
3130
58%
1490B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
460 2 5 5 4 862 0 2 1 0 097 1 3 4 2 10 3 9 660 1 2 3 4 5
3130