Fountains
799C1800· expert2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
3 7 610 8 C4 3 C5 6 D
Output
9
Sample 2of 3
Input
2 4 52 5 C2 1 D
Output
0
Sample 3of 3
Input
3 10 105 5 C5 5 C10 11 D
Output
10
58%
799C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)