Borderou de evaluare (job #951061)

Utilizator moonRadu Chichi moon Data 19 mai 2013 02:21:31
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:5:49: error: size of array ‘con’ is too large int n,m,vis[50000],dist[50000], con[50000][50000]; ^ user.cpp: In function ‘int main()’: user.cpp:14:8: error: ‘x’ was not declared in this scope f>>x>>y>>c, con[x][y]=c; ^ user.cpp:14:11: error: ‘y’ was not declared in this scope f>>x>>y>>c, con[x][y]=c; ^ user.cpp:14:14: error: ‘c’ was not declared in this scope f>>x>>y>>c, con[x][y]=c; ^ user.cpp:14:17: error: ‘con’ was not declared in this scope f>>x>>y>>c, con[x][y]=c; ^ user.cpp:22:3: error: ‘d’ was not declared in this scope d[0] = 0; ^ user.cpp:28:18: error: expected primary-expression before ‘,’ token int min = INF, minI; ^ user.cpp:28:20: error: ‘minI’ was not declared in this scope int min = INF, minI; ^ user.cpp:41:23: error: ‘con’ was not declared in this scope if(dist[minI] + con[minI][i] < dist[i]) ^

Ceva nu functioneaza?