Arithmetic Operations
1654E2300· international master5s1024 MB⌨ stdin/stdout
Examples
Sample 1of 4
Input
93 2 7 8 6 9 5 4 1
Output
6
Sample 2of 4
Input
1419 2 15 8 9 14 17 13 4 14 4 11 15 7
Output
10
Sample 3of 4
Input
10100000 1 60000 2 20000 4 8 16 32 64
Output
7
Sample 4of 4
Input
410000 20000 10000 1
Output
2
58%
1654E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…