Borderou de evaluare (job #1437971)

Utilizator george.stefanGeorge Stefan george.stefan Data 18 mai 2015 21:34:40
Problema Factorial Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:50:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g,"%d",v[p]); ^ user.c:52:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d",(p-(p/5))*5); ^ user.c:54:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d",(p-(p/5)+1)*5); ^ user.c:56:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d",(5*p)); ^ user.c:17:19: warning: variable ‘j’ set but not used [-Wunused-but-set-variable] long long i,p,j; ^ user.c:19:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%lld",&p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbRaspuns incorect0
20ms292kbCorect!5
30ms292kbRaspuns incorect0
40ms296kbRaspuns incorect0
50ms296kbRaspuns incorect0
60ms264kbRaspuns incorect0
70ms288kbRaspuns incorect0
80ms292kbRaspuns incorect0
90ms292kbRaspuns incorect0
100ms264kbRaspuns incorect0
110ms292kbRaspuns incorect0
120ms292kbRaspuns incorect0
130ms292kbRaspuns incorect0
140ms260kbRaspuns incorect0
150ms292kbRaspuns incorect0
160ms292kbRaspuns incorect0
170ms292kbRaspuns incorect0
180ms296kbRaspuns incorect0
190ms292kbRaspuns incorect0
200ms296kbRaspuns incorect0
Punctaj total5

Ceva nu functioneaza?