Borderou de evaluare (job #1437974)

Utilizator george.stefanGeorge Stefan george.stefan Data 18 mai 2015 21:38:01
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
10ms264kbRaspuns incorect0
20ms300kbCorect!5
30ms300kbRaspuns incorect0
40ms300kbRaspuns incorect0
50ms296kbRaspuns incorect0
60ms300kbRaspuns incorect0
70ms300kbRaspuns incorect0
80ms296kbRaspuns incorect0
90ms296kbRaspuns incorect0
100ms300kbRaspuns incorect0
110ms292kbRaspuns incorect0
120ms300kbRaspuns incorect0
130ms300kbRaspuns incorect0
140ms296kbRaspuns incorect0
150ms292kbRaspuns incorect0
160ms300kbRaspuns incorect0
170ms296kbRaspuns incorect0
180ms300kbRaspuns incorect0
190ms296kbRaspuns incorect0
200ms296kbRaspuns incorect0
Punctaj total5

Ceva nu functioneaza?