Borderou de evaluare (job #1438118)

Utilizator george.stefanGeorge Stefan george.stefan Data 19 mai 2015 00:40:24
Problema Factorial Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 65

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:29:13: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",m); ^ user.c:46:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",suma); ^ user.c:47:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d ",suma); ^ user.c:17:21: warning: unused variable ‘k’ [-Wunused-variable] long long i,p,j,k,m,suma=0; ^ user.c:17:19: warning: unused variable ‘j’ [-Wunused-variable] long long i,p,j,k,m,suma=0; ^ user.c:20:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld",&p); ^ user.c:17:23: warning: ‘m’ may be used uninitialized in this function [-Wmaybe-uninitialized] long long i,p,j,k,m,suma=0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbKilled by signal 11(SIGSEGV).0
20ms264kbKilled by signal 11(SIGSEGV).0
30ms264kbRaspuns incorect0
40ms272kbCorect!5
50ms268kbRaspuns incorect0
60ms268kbRaspuns incorect0
70ms268kbCorect!5
80ms268kbCorect!5
90ms268kbCorect!5
100ms268kbCorect!5
110ms272kbCorect!5
120ms272kbCorect!5
130ms268kbCorect!5
140ms264kbRaspuns incorect0
150ms268kbRaspuns incorect0
160ms268kbCorect!5
170ms272kbCorect!5
180ms268kbCorect!5
190ms272kbCorect!5
200ms268kbCorect!5
Punctaj total65

Ceva nu functioneaza?