Borderou de evaluare (job #1438136)

Utilizator george.stefanGeorge Stefan george.stefan Data 19 mai 2015 01:09:57
Problema Factorial Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:54:13: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",m); ^ user.c:72:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",suma); ^ user.c:73:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d ",suma); ^ 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:19: warning: ‘m’ may be used uninitialized in this function [-Wmaybe-uninitialized] long long i,p,m,k,suma=0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbCorect!5
20ms276kbCorect!5
30ms264kbCorect!5
40ms272kbCorect!5
50ms268kbCorect!5
60ms268kbCorect!5
70ms268kbCorect!5
80ms268kbCorect!5
90ms272kbCorect!5
100ms268kbCorect!5
110ms268kbCorect!5
120ms272kbCorect!5
130ms268kbCorect!5
140ms268kbCorect!5
150ms268kbCorect!5
160ms272kbCorect!5
170ms268kbCorect!5
180ms268kbCorect!5
190ms264kbCorect!5
200ms268kbCorect!5
Punctaj total100

Ceva nu functioneaza?