Borderou de evaluare (job #1693048)
Utilizator | Data | 22 aprilie 2016 11:42:21 | |
---|---|---|---|
Problema | Arbore partial de cost minim | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:6:16: error: size of array ‘c’ is too large
long c[INF][INF],T[INF],Q[INF],n;
^
user.cpp: In function ‘void citire_graf()’:
user.cpp:19:4: error: ‘c’ was not declared in this scope
c[i][j]=INF;
^
user.cpp:22:3: error: ‘c’ was not declared in this scope
c[i][i]=0;
^
user.cpp:27:3: error: ‘c’ was not declared in this scope
c[x][y]=z;
^
user.cpp: In function ‘void creare_apm()’:
user.cpp:43:14: error: ‘c’ was not declared in this scope
Q[i]=c[1][i];
^
user.cpp:64:21: error: ‘c’ was not declared in this scope
cost=cost + c[T[w]][w]; //actualizam costul arborelui
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !