toll.cpp:8:13: error: array bound is not an integer constant before ']' token
8 | int dp[N][SQ] , dis[N] , k , n , m , o , a , b;
| ^
toll.cpp: In function 'int main()':
toll.cpp:22:4: error: 'dp' was not declared in this scope; did you mean 'd'?
22 | dp[i][d] = INF;
| ^~
| d
toll.cpp:40:145: error: 'dp' was not declared in this scope
40 | for(int i = (vala + SQ - 1) * k ; i < (vala + SQ) * k ; i++) for(int j = vala * k ; j < (vala + 1) * k ; j++) dis[i] = min(dis[i] , dis[j] + dp[j][i - j]);
| ^~
toll.cpp:43:83: error: 'dp' was not declared in this scope
43 | for(int i = vala * k ; i < (vala + 1) * k ; i++) dis[b] = min(dis[b] , dis[i] + dp[i][b - i]);
| ^~