Problem boxispull
User xiachengruisg
Submission Time 2026-10-22 20:40:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

boxispull.cpp: In function ‘int main()’:
boxispull.cpp:26:13: error: no match for ‘operator[]’ (operand types are ‘std::__cxx11::list<std::__cxx11::list<long long int> >’ and ‘int’)
26 | dx = input[i][2] - input[i][0];
| ^
boxispull.cpp:26:27: error: no match for ‘operator[]’ (operand types are ‘std::__cxx11::list<std::__cxx11::list<long long int> >’ and ‘int’)
26 | dx = input[i][2] - input[i][0];
| ^
boxispull.cpp:27:13: error: no match for ‘operator[]’ (operand types are ‘std::__cxx11::list<std::__cxx11::list<long long int> >’ and ‘int’)
27 | dy = input[i][3] - input[i][1];
| ^
boxispull.cpp:27:27: error: no match for ‘operator[]’ (operand types are ‘std::__cxx11::list<std::__cxx11::list<long long int> >’ and ‘int’)
27 | dy = input[i][3] - input[i][1];
| ^