Problem mining
User penguinzzz
Submission Time 2024-04-12 15:09:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

mining.cpp: In function ‘int main()’:
mining.cpp:54:34: error: request for member ‘first’ in ‘grid[E.std::pair<int, int>::first][E.std::pair<int, int>::second]’, which is of non-class type ‘std::pair<int, int> [133]’
54 | cout << grid[E.first][E.second].first << endl;
| ^~~~~