Borderou de evaluare (job #984820)

Utilizator andrei.butnaruAndrei Butnaru andrei.butnaru Data 15 august 2013 15:46:25
Problema CMMDC Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:19:2: warning: passing argument 1 of ‘fscanf’ from incompatible pointer type [enabled by default] fscanf("%d%d", &a, &b); ^ In file included from /usr/include/features.h:346:0, from /usr/include/stdio.h:28, from user.c:1: /usr/include/stdio.h:425:12: note: expected ‘struct FILE * restrict’ but argument is of type ‘char *’ extern int __REDIRECT (fscanf, (FILE *__restrict __stream, ^ user.c:19:2: warning: passing argument 2 of ‘fscanf’ from incompatible pointer type [enabled by default] fscanf("%d%d", &a, &b); ^ In file included from /usr/include/features.h:346:0, from /usr/include/stdio.h:28, from user.c:1: /usr/include/stdio.h:425:12: note: expected ‘const char * restrict’ but argument is of type ‘int *’ extern int __REDIRECT (fscanf, (FILE *__restrict __stream, ^ user.c:20:2: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default] fprintf("%d", cmmdc(a,b)); ^ In file included from user.c:1:0: /usr/include/stdio.h:333:12: note: expected ‘struct FILE * restrict’ but argument is of type ‘char *’ extern int fprintf (FILE *__restrict __stream, ^ user.c:20:2: warning: passing argument 2 of ‘fprintf’ makes pointer from integer without a cast [enabled by default] fprintf("%d", cmmdc(a,b)); ^ In file included from user.c:1:0: /usr/include/stdio.h:333:12: note: expected ‘const char * restrict’ but argument is of type ‘int’ extern int fprintf (FILE *__restrict __stream, ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbKilled by signal 11(SIGSEGV).0
20ms240kbKilled by signal 11(SIGSEGV).0
30ms236kbKilled by signal 11(SIGSEGV).0
40ms240kbKilled by signal 11(SIGSEGV).0
50ms236kbKilled by signal 11(SIGSEGV).0
60ms236kbKilled by signal 11(SIGSEGV).0
70ms240kbKilled by signal 11(SIGSEGV).0
80ms236kbKilled by signal 11(SIGSEGV).0
90ms236kbKilled by signal 11(SIGSEGV).0
100ms240kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?