Borderou de evaluare (job #1591296)

Utilizator RobertMMinzat Robert RobertM Data 5 februarie 2016 23:15:02
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6:21: error: size of array ‘c’ is too large int n,c[50001][50001],d[50001],t[250001],s[250001],xp=1,m; ^ user.cpp: In function ‘void cit()’: user.cpp:12:13: error: ‘c’ was not declared in this scope c[i][j]=inf; ^ user.cpp:15:9: error: ‘c’ was not declared in this scope c[x][y]=z;} ^ user.cpp: In function ‘int min(int&)’: user.cpp:23:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘void det_drumuri()’: user.cpp:27:14: error: ‘c’ was not declared in this scope d[i]=c[xp][i]; ^ user.cpp:44:39: error: ‘c’ was not declared in this scope if(!s[j] && d[j]>d[k]+c[k][j]){ ^

Ceva nu functioneaza?