Borderou de evaluare (job #949034)

Utilizator MathPlayerPopescu Bogdan Constantin MathPlayer Data 12 mai 2013 10:40:57
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 unsigned 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 unsigned int’ [-Wformat=] fprintf(f, "%d", n); ^ user.c: At top level: user.c:63:15: warning: return type of ‘main’ is not ‘int’ [-Wmain] unsigned long main() ^ user.c: In function ‘main’: user.c:67:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("p = %8d, n = %8d\t", p, n); ^ user.c:67:2: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbCorect!5
20ms240kbCorect!5
30ms244kbCorect!5
40ms244kbCorect!5
50ms240kbRaspuns incorect0
60ms240kbRaspuns incorect0
70ms244kbCorect!5
80ms240kbCorect!5
90ms244kbRaspuns incorect0
100ms240kbRaspuns incorect0
110ms244kbCorect!5
120ms240kbRaspuns incorect0
130ms244kbRaspuns incorect0
140ms244kbRaspuns incorect0
150ms244kbCorect!5
160ms240kbCorect!5
170ms240kbCorect!5
180ms240kbCorect!5
190ms240kbCorect!5
200ms240kbRaspuns incorect0
Punctaj total60

Ceva nu functioneaza?