Borderou de evaluare (job #2086843)

Utilizator BazagazealOancea Eduard Bazagazeal Data 12 decembrie 2017 16:24:25
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.c: In function ‘Dijkstra’: user.c:99:13: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ", cost[i] ); ^ user.c:106:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g, "%d ", cost[i]); ^ user.c:68:16: warning: unused variable ‘poz_cost_minim’ [-Wunused-variable] int ok=0,i,poz_cost_minim,vizitat[50001],poz_curenta=1,j,min; ^ user.c: In function ‘main’: user.c:113:19: warning: unused variable ‘j’ [-Wunused-variable] int n,m,x,y,i,j,length; ^ user.c:114:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d", &n, &m); ^ user.c:123:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d%d", &x ,&y, &length); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbIncorect0
20ms284kbOK10
30ms324kbIncorect0
44ms352kbIncorect0
536ms936kbIncorect0
676ms1432kbIncorect0
7132ms2020kbIncorect0
8Depăşit4020kbTime limit exceeded.0
9Depăşit3000kbTime limit exceeded.0
10Depăşit5736kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?