Borderou de evaluare (job #1089510)

Utilizator vladradu2014Radu Vlad Alexandru vladradu2014 Data 21 ianuarie 2014 19:00:15
Problema CMMDC Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:37:5: warning: passing argument 1 of ‘printf’ from incompatible pointer type [enabled by default] printf(fp,"%d",a+b); ^ In file included from user.c:1:0: /usr/include/stdio.h:339:12: note: expected ‘const char * restrict’ but argument is of type ‘struct FILE *’ extern int printf (__const char *__restrict __format, ...); ^ user.c:45:5: warning: passing argument 1 of ‘printf’ from incompatible pointer type [enabled by default] printf(fp,"%d",0); ^ In file included from user.c:1:0: /usr/include/stdio.h:339:12: note: expected ‘const char * restrict’ but argument is of type ‘struct FILE *’ extern int printf (__const char *__restrict __format, ...); ^ user.c:48:5: warning: passing argument 1 of ‘printf’ from incompatible pointer type [enabled by default] printf(fp,"%d",d); ^ In file included from user.c:1:0: /usr/include/stdio.h:339:12: note: expected ‘const char * restrict’ but argument is of type ‘struct FILE *’ extern int printf (__const char *__restrict __format, ...); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbOKAY!10
20ms232kbWrong Answer.0
30ms232kbWrong Answer.0
40ms236kbOKAY!10
50ms232kbWrong Answer.0
60ms232kbOKAY!10
70ms232kbWrong Answer.0
80ms236kbOKAY!10
90ms232kbOKAY!10
100ms232kbWrong Answer.0
Punctaj total50

Ceva nu functioneaza?