Problem | calc |
---|---|
User | om2024 |
Submission Time | 2025-08-28 17:02:30 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
calc.cpp: In function ‘int main()’:
calc.cpp:13:43: error: request for member ‘size’ in ‘arr’, which is of non-class type ‘int [N]’
13 | } else if (input == "UNDO" && arr.size()!=0) {
| ^~~~
calc.cpp:14:17: error: request for member ‘pop’ in ‘arr’, which is of non-class type ‘int [N]’
14 | arr.pop();
| ^~~
calc.cpp:19:25: error: request for member ‘size’ in ‘arr’, which is of non-class type ‘int [N]’
19 | for (int i=0; i<arr.size();i++) {
| ^~~~