Problem foreveralone
User blob
Submission Time 2023-11-20 10:51:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

foreveralone.cpp: In function ‘int main()’:
foreveralone.cpp:21:44: error: invalid types ‘std::map<int, int>::mapped_type {aka int}[int]’ for array subscript
21 | if (m.empty() || (m.size() == 1 && m[i][1] == i)) {
| ^