Borderou de evaluare (job #2504206)
Utilizator | Data | 4 decembrie 2019 17:15:11 | |
---|---|---|---|
Problema | Lanterna | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:21:14: error: 'kmax' was not declared in this scope
int dp[nmax][kmax]; //Timpul minim pana in nodul i, avand costul exact j (dp i,j )
^~~~
main.cpp: In function 'void reset()':
main.cpp:29:13: error: 'dp' was not declared in this scope
dp[i][j] = inf;
^~
main.cpp:30:5: error: 'dp' was not declared in this scope
dp[1][0] = 0;
^~
main.cpp: In function 'int bfs(int)':
main.cpp:42:17: error: 'dp' was not declared in this scope
int t = dp[nod][cost];
^~
main.cpp:59:24: error: 'dp' was not declared in this scope
ans = min(ans, dp[n][i]);
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !