Problem boxispull
User ybc
Submission Time 2023-11-10 12:57:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

boxispull.cpp:2:20: error: expected ‘;’ before ‘int’
2 | using namespace std
| ^
| ;
3 | int main(){
| ~~~
boxispull.cpp: In function ‘int main()’:
boxispull.cpp:5:1: error: ‘moves’ was not declared in this scope
5 | moves = 0
| ^~~~~
boxispull.cpp:6:15: error: ‘i’ was not declared in this scope
6 | for (int i=0; i<N; i+=1){
| ^
boxispull.cpp:12:10: error: expected ‘}’ at end of input
12 | cout << moves
| ^~~~~
boxispull.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^