Problem boxispull
User Phoubia01
Submission Time 2025-08-08 22:42:44
Score 0
Max Time N/A
Max Memory N/A

Compile Error

boxispull.cpp: In function ‘int main()’:
boxispull.cpp:22:19: error: ‘diff_x’ was not declared in this scope; did you mean ‘dif_x’?
22 | length += diff_x + diff_y;
| ^~~~~~
| dif_x
boxispull.cpp:22:28: error: ‘diff_y’ was not declared in this scope; did you mean ‘dif_y’?
22 | length += diff_x + diff_y;
| ^~~~~~
| dif_y
boxispull.cpp:24:13: error: ‘length’ was not declared in this scope
24 | cout << length;
| ^~~~~~