Problem boxispull
User Jayden000
Submission Time 2026-10-31 15:27:29
Score 0
Max Time N/A
Max Memory N/A

Compile Error

boxispull.cpp:9:36: error: stray ‘\357’ in program
9 | ans += abs(x1 - x2) + abs(y2 - y1);
| ^
boxispull.cpp:9:37: error: stray ‘\274’ in program
9 | ans += abs(x1 - x2) + abs(y2 - y1);
| ^
boxispull.cpp:9:38: error: stray ‘\233’ in program
9 | ans += abs(x1 - x2) + abs(y2 - y1);
| ^
boxispull.cpp: In function ‘void solve()’:
boxispull.cpp:9:36: error: expected ‘;’ before ‘cout’
9 | ans += abs(x1 - x2) + abs(y2 - y1);
| ^
| ;
10 | cout << ans << "\n";
| ~~~~
boxispull.cpp:12:12: error: a function-definition is not allowed here before ‘{’ token
12 | int main() {
| ^
boxispull.cpp:17:1: error: expected ‘}’ at end of input
17 | }<