Borderou de evaluare (job #1566617)

Utilizator ANA-MARIA.TIGAUTigau Ana-Maria ANA-MARIA.TIGAU Data 12 ianuarie 2016 13:35:18
Problema Teams Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

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

Ceva nu functioneaza?