Borderou de evaluare (job #2439794)
Utilizator | Data | 16 iulie 2019 21:41:11 | |
---|---|---|---|
Problema | Alpin | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:14:14: error: array bound is not an integer constant before ']' token
int n, dp[n*n], t[n][n], color[n*n];
^
main.cpp:14:20: error: array bound is not an integer constant before ']' token
int n, dp[n*n], t[n][n], color[n*n];
^
main.cpp:14:23: error: array bound is not an integer constant before ']' token
int n, dp[n*n], t[n][n], color[n*n];
^
main.cpp:14:35: error: array bound is not an integer constant before ']' token
int n, dp[n*n], t[n][n], color[n*n];
^
main.cpp:16:19: error: array bound is not an integer constant before ']' token
vector <int> g[n*n], gi[n*n], ans;
^
main.cpp:16:28: error: array bound is not an integer constant before ']' token
vector <int> g[n*n], gi[n*n], ans;
^
main.cpp: In function 'void dfs(int)':
main.cpp:19:5: error: 'color' was not declared in this scope
color[node]=1;
^~~~~
main.cpp:20:16: error: 'g' was not declared in this scope
for(int i: g[node]){
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !