Problem calc
User ArianneLim
Submission Time 2025-08-28 15:54:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

calc.cpp: In function ‘int main()’:
calc.cpp:2:4: error: ‘ll’ was not declared in this scope
2 | ll n; cin >>n;
| ^~
calc.cpp:2:10: error: ‘cin’ was not declared in this scope
2 | ll n; cin >>n;
| ^~~
calc.cpp:2:16: error: ‘n’ was not declared in this scope
2 | ll n; cin >>n;
| ^
calc.cpp:4:5: error: ‘string’ was not declared in this scope
4 | string a;
| ^~~~~~
calc.cpp:6:12: error: ‘a’ was not declared in this scope
6 | cin >> a;
| ^
calc.cpp:8:5: error: ‘cout’ was not declared in this scope
8 | cout << b;
| ^~~~
calc.cpp:11:3: error: ‘string’ was not declared in this scope
11 | string arr[n];
| ^~~~~~
calc.cpp:12:5: error: expected ‘;’ before ‘ar’
12 | ll ar[n];
| ^~~
| ;
calc.cpp:13:5: error: expected ‘;’ before ‘