Borderou de evaluare (job #949039)

Utilizator MathPlayerPopescu Bogdan Constantin MathPlayer Data 12 mai 2013 11:03:24
Problema Factorial Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 60

Raport evaluator

Compilare: user.c: In function ‘read’: user.c:17:2: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long int *’ [-Wformat=] fscanf(f, "%d", &p); ^ user.c: In function ‘write’: user.c:24:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(f, "%d", n); ^ user.c: In function ‘main’: user.c:67:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=] printf("p = %8d, n = %8d\n", p, n); ^ user.c:67:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbCorect!5
20ms244kbCorect!5
30ms240kbCorect!5
40ms244kbCorect!5
50ms240kbRaspuns incorect0
60ms240kbRaspuns incorect0
70ms244kbCorect!5
80ms244kbCorect!5
90ms240kbRaspuns incorect0
100ms244kbRaspuns incorect0
110ms244kbCorect!5
120ms240kbRaspuns incorect0
130ms244kbRaspuns incorect0
140ms240kbRaspuns incorect0
150ms240kbCorect!5
160ms240kbCorect!5
170ms240kbCorect!5
180ms240kbCorect!5
190ms244kbCorect!5
200ms240kbRaspuns incorect0
Punctaj total60

Ceva nu functioneaza?