Problem | calc |
---|---|
User | Teeskit |
Submission Time | 2025-08-28 16:30:19 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
calc.cpp: In function ‘int main()’:
calc.cpp:19:3: error: expected ‘}’ before ‘else’
19 | else if (s == "UNDO") {
| ^~~~
calc.cpp:14:19: note: to match this ‘{’
14 | if (s == "ADD") {
| ^
calc.cpp:30:1: error: expected ‘}’ at end of input
30 | }
| ^
calc.cpp:3:15: note: to match this ‘{’
3 | signed main() {
| ^