Problem bigredarrow
User ArianneLim
Submission Time 2025-08-28 16:07:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bigredarrow.cpp: In function ‘int main()’:
bigredarrow.cpp:2:4: error: ‘ll’ was not declared in this scope
2 | ll n,q; cin >>n>>q;
| ^~
bigredarrow.cpp:2:12: error: ‘cin’ was not declared in this scope
2 | ll n,q; cin >>n>>q;
| ^~~
bigredarrow.cpp:2:18: error: ‘n’ was not declared in this scope
2 | ll n,q; cin >>n>>q;
| ^
bigredarrow.cpp:2:21: error: ‘q’ was not declared in this scope
2 | ll n,q; cin >>n>>q;
| ^
bigredarrow.cpp:3:5: error: expected ‘;’ before ‘arr’
3 | ll arr[n];
| ^~~~
| ;
bigredarrow.cpp:4:5: error: expected ‘;’ before ‘move’
4 | ll move[q];
| ^~~~~
| ;
bigredarrow.cpp:5:5: error: expected ‘;’ before ‘cur’
5 | ll cur=0;
| ^~~~
| ;
bigredarrow.cpp:7:12: error: ‘arr’ was