Borderou de evaluare (job #1324081)
Utilizator | Data | 21 ianuarie 2015 19:54:55 | |
---|---|---|---|
Problema | Arbore partial de cost minim | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:7:19: error: size of array ‘a’ is too large
int a[nrmax][nrmax],p[nrmax],z[nrmax];
^
user.cpp: In function ‘void citire()’:
user.cpp:17:18: error: ‘a’ was not declared in this scope
if(i==j) a[i][j]=0;
^
user.cpp:18:14: error: ‘a’ was not declared in this scope
else a[i][j]=inf;
^
user.cpp:23:9: error: ‘a’ was not declared in this scope
a[x][y]=a[y][x]=c;
^
user.cpp:27:17: error: ‘a’ was not declared in this scope
cmin[i]=a[1][i];
^
user.cpp: In function ‘void afisare()’:
user.cpp:38:15: error: ‘a’ was not declared in this scope
cost+=a[i][p[i]];
^
user.cpp: In function ‘int main()’:
user.cpp:63:22: error: ‘a’ was not declared in this scope
if(z[i]&&a[i][vfmin]<cmin[i])
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !