Catch Overflow!
1175B1600· expert1s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
9addfor 43endfor 10for 15addendaddend
Output
161
Sample 2of 3
Input
2for 62end
Output
0
Sample 3of 3
Input
11for 100for 100for 100for 100for 100addendendendendend
Output
OVERFLOW!!!
58%
1175B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)