Game with Marbles (Easy Version)
1914E11400· specialist3.5s256 MB⌨ stdin/stdout
Examples
Sample 1of 1multi-test • hover to link
Input
534 2 11 2 441 20 1 20100 15 10 2051000000000 1000000000 1000000000 1000000000 10000000001 1 1 1 135 6 52 1 763 2 4 2 5 59 4 7 9 2 5
Output
1-929999999978-6
58%
1914E1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)