Rare Coins
1948F2500· grandmaster2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
2 21 00 22 21 1
Output
748683265 748683265
Sample 2of 2
Input
4 32 3 4 51 0 7 33 32 31 4
Output
997756929 273932289 1
58%
1948F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)