Borderou de evaluare (job #2576625)
| Utilizator | Data | 6 martie 2020 21:11:23 | |
|---|---|---|---|
| Problema | Algoritmul Bellman-Ford | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:8:12: error: array bound is not an integer constant before ']' token
int n,m,d[n],cnt[n];
^
main.cpp:8:19: error: array bound is not an integer constant before ']' token
int n,m,d[n],cnt[n];
^
main.cpp: In function 'int main()':
main.cpp:25:10: error: 'd' was not declared in this scope
fill(d,d+n,oo);
^
main.cpp:36:13: error: 'cnt' was not declared in this scope
cnt[x]++;
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
