Borderou de evaluare (job #1605432)
Utilizator | Data | 18 februarie 2016 23:53:00 | |
---|---|---|---|
Problema | Algoritmul Bellman-Ford | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:19: error: size of array ‘a’ is too large
int a[30000][30000], coada[30000], distante[30000], vizitat[30000], qfront, qback;
^
user.cpp: In function ‘void bellman_ford(int, int)’:
user.cpp:33:16: error: ‘a’ was not declared in this scope
if(a[nod][i]!=0)
^
user.cpp: In function ‘int main()’:
user.cpp:48:9: error: ‘a’ was not declared in this scope
a[x][y]=cost;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !