Problem poi
User Justyn
Submission Time 2024-06-18 15:38:53
Score 0
Max Time N/A
Max Memory N/A

Compile Error

poi.cpp: In function ‘int main()’:
poi.cpp:37:17: error: invalid types ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}[int]’ for array subscript
37 | if(solves[i][2] == p)
| ^
poi.cpp:38:22: error: invalid types ‘__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type {aka int}[int]’ for array subscript
38 | cout << solves[i][0] << ' ' << r << '\n';
| ^