A pile of stones
1159A800· newbie1s256 MB⌨ stdin/stdout
Examples
Sample 1of 4
Input
3---
Output
0
Sample 2of 4
Input
4++++
Output
4
Sample 3of 4
Input
2-+
Output
1
Sample 4of 4
Input
5++-++
Output
3
58%
1159A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)