Very simple problem
55E2500· grandmaster3s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
45 00 00 55 511 3
Output
2
Sample 2of 3
Input
30 00 55 021 110 10
Output
10
Sample 3of 3
Input
57 66 34 11 22 443 32 35 54 2
Output
5334
58%
55E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)