poi.cpp: In function 'int main()':
poi.cpp:9:5: error: 'solved' was not declared in this scope
9 | solved[n+1][m],w[m],score[n+1],cnt[n+1];
| ^~~~~~
poi.cpp:9:20: error: 'w' was not declared in this scope
9 | solved[n+1][m],w[m],score[n+1],cnt[n+1];
| ^
poi.cpp:9:25: error: 'score' was not declared in this scope
9 | solved[n+1][m],w[m],score[n+1],cnt[n+1];
| ^~~~~
poi.cpp:9:36: error: 'cnt' was not declared in this scope; did you mean 'int'?
9 | solved[n+1][m],w[m],score[n+1],cnt[n+1];
| ^~~
| int