Optimal Currency Exchange
1214A1400· specialist1.5s512 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
1006070
Output
40
Sample 2of 3
Input
4105570
Output
5
Sample 3of 3
Input
6006070
Output
0
58%
1214A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)