Problem boxispull
User tdb60
Submission Time 2023-11-08 14:32:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

boxispull.cpp: In function ‘int main()’:
boxispull.cpp:7:14: error: invalid types ‘long long int[int]’ for array subscript
7 | cin >> x1[i] >> y1[i] >> x2[i] >> y2[i];
| ^
boxispull.cpp:7:23: error: invalid types ‘long long int[int]’ for array subscript
7 | cin >> x1[i] >> y1[i] >> x2[i] >> y2[i];
| ^
boxispull.cpp:7:32: error: invalid types ‘long long int[int]’ for array subscript
7 | cin >> x1[i] >> y1[i] >> x2[i] >> y2[i];
| ^
boxispull.cpp:7:41: error: invalid types ‘long long int[int]’ for array subscript
7 | cin >> x1[i] >> y1[i] >> x2[i] >> y2[i];
| ^
boxispull.cpp:8:19: error: invalid types ‘long long int[int]’ for array subscript
8 | cout << abs(x2[i]-x1[i]) + abs(y2[i]-y1[i]) +