Borderou de evaluare (job #1566555)

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

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:24:9: warning: passing argument 1 of ‘fscanf’ from incompatible pointer type [enabled by default] fscanf("%d",&x[i]); ^ 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:24:9: warning: passing argument 2 of ‘fscanf’ from incompatible pointer type [enabled by default] fscanf("%d",&x[i]); ^ 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:18:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&n); ^ user.c:19:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&a); ^ user.c:20:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&b); ^ user.c:24:15: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf("%d",&x[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbKilled by signal 11(SIGSEGV).0
20ms236kbKilled by signal 11(SIGSEGV).0
30ms240kbKilled by signal 11(SIGSEGV).0
40ms244kbKilled by signal 11(SIGSEGV).0
50ms236kbKilled by signal 11(SIGSEGV).0
60ms244kbKilled by signal 11(SIGSEGV).0
70ms240kbKilled by signal 11(SIGSEGV).0
80ms244kbKilled by signal 11(SIGSEGV).0
90ms240kbKilled by signal 11(SIGSEGV).0
100ms236kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?