Balanced Stone Heaps
1623C1600· expert1s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
441 2 10 1004100 100 100 155 1 1 1 861 2 3 4 5 6
Output
7113
58%
1623C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
441 2 10 1004100 100 100 155 1 1 1 861 2 3 4 5 6
7113