Banknotes
1606C1400· specialist2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
43 130 1 22 7770 43 2550 1 310 10000000000 1 2 3 4 5 6 7 8 9
Output
59778148999999999920999999999
58%
1606C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
43 130 1 22 7770 43 2550 1 310 10000000000 1 2 3 4 5 6 7 8 9
59778148999999999920999999999