Smithing Skill
1989D1900· candidate master3s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
5 39 6 7 5 58 4 5 1 210 4 7
Output
12
Sample 2of 3
Input
3 410 20 200 0 09 10 19 20
Output
8
Sample 3of 3
Input
1 5311000000000 1000000000 1000000000 1000000000 1000000000
Output
4999999990
58%
1989D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)