Borderou de evaluare (job #1426078)

Utilizator BKmarianmarian BKmarian Data 28 aprilie 2015 22:04:54
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:25: error: size of array ‘C’ is too large int n,m,r,C[MAX_N][MAX_N],D[MAX_N],T[MAX_N],cost=0,U[MAX_N]; ^ user.cpp: In function ‘void prim2(int)’: user.cpp:14:14: error: ‘C’ was not declared in this scope D[i]=C[x][i],T[i]=x; ^ user.cpp:30:17: error: ‘C’ was not declared in this scope if(D[i]>C[nod][i]) ^ user.cpp: In function ‘void citire()’: user.cpp:51:11: error: ‘C’ was not declared in this scope C[x][y]=C[y][x]=c; ^ user.cpp:55:12: error: ‘C’ was not declared in this scope if(C[i][j]==0) C[i][j]=INF; ^ user.cpp: In function ‘int main()’: user.cpp:63:5: error: ‘C’ was not declared in this scope C[i][i]=INF; ^

Ceva nu functioneaza?