Problem lboard
User PlayVoltz
Submission Time 2023-11-02 11:04:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lboard.cpp: In function ‘int main()’:
lboard.cpp:42:7: error: request for member ‘resize’ in ‘vect’, which is of non-class type ‘long long int [1005][1005]’
42 | vect.resize(n, vector<ll>(m));
| ^~~~~~
lboard.cpp:43:9: error: request for member ‘resize’ in ‘Kright’, which is of non-class type ‘long long int [1005][1005]’
43 | Kright.resize(n, vector<ll>(m));
| ^~~~~~
lboard.cpp:44:8: error: request for member ‘resize’ in ‘Kleft’, which is of non-class type ‘long long int [1005][1005]’
44 | Kleft.resize(n, vector<ll>(m));
| ^~~~~~
lboard.cpp:45:6: error: request for member ‘resize’ in ‘Kup’, which is of non-class type ‘long long int [1005][1005]’
45 | Kup.resize(n, vector<ll>(m));
| ^~~~~~
lboard.cpp:46:8: error: request for member ‘resize’ in ‘Kdown’, which is of non-class type ‘long long int [1005][1005]’
46 | Kdown.resize(n, vector<ll>(m));