Borderou de evaluare (job #1187165)

Utilizator pavlov.ionPavlov Ion pavlov.ion Data 17 mai 2014 19:31:16
Problema Algoritmul lui Dijkstra Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘citire’: user.c:8:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long long int *’ [-Wformat=] scanf("%d",&N); ^ user.c:9:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long long int *’ [-Wformat=] scanf("%d",&M); ^ user.c: In function ‘dijkstra’: user.c:25:22: warning: variable ‘pred’ set but not used [-Wunused-but-set-variable] int viz[N+1],d[N+1],pred[N+1]; ^ user.c:24:8: warning: unused variable ‘j’ [-Wunused-variable] int i,j,minim,k,gata; ^ user.c: In function ‘main’: user.c:56:6: warning: unused variable ‘i’ [-Wunused-variable] int i; ^ user.c: In function ‘citire’: user.c:8:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&N); ^ user.c:9:7: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&M); ^ user.c:19:8: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d",&i,&j,&cost); ^ user.c: In function ‘main’: user.c:57:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("dijkstra.in","r",stdin); ^ user.c:58:9: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("dijkastra.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbFisier de iesire lipsa0
20ms244kbFisier de iesire lipsa0
34ms2256kbFisier de iesire lipsa0
48ms4180kbFisier de iesire lipsa0
512msDepăşitMemory limit exceeded.0
612msDepăşitMemory limit exceeded.0
712msDepăşitMemory limit exceeded.0
844msDepăşitMemory limit exceeded.0
936msDepăşitMemory limit exceeded.0
1040msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?