Game with Stones
1584E2300· international master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
622 231 2 341 1 1 141 2 2 141 2 1 281 2 1 2 1 2 1 2
Output
104213
58%
1584E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
622 231 2 341 1 1 141 2 2 141 2 1 281 2 1 2 1 2 1 2
104213