Borderou de evaluare (job #1461486)

Utilizator AlexAnastasiuAlex Anastasiu AlexAnastasiu Data 15 iulie 2015 20:02:50
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:14:8: warning: passing argument 1 of ‘fscanf’ from incompatible pointer type [enabled by default] fscanf("%d",&v[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:14:8: warning: passing argument 2 of ‘fscanf’ from incompatible pointer type [enabled by default] fscanf("%d",&v[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:10:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&n); ^ user.c:14:14: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf("%d",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms236kbKilled by signal 11(SIGSEGV).00
20ms240kbKilled by signal 11(SIGSEGV).0
30ms232kbKilled by signal 11(SIGSEGV).0
40ms236kbKilled by signal 11(SIGSEGV).0
50ms236kbKilled by signal 11(SIGSEGV).00
60ms236kbKilled by signal 11(SIGSEGV).0
70ms236kbKilled by signal 11(SIGSEGV).0
80ms236kbKilled by signal 11(SIGSEGV).0
90ms236kbKilled by signal 11(SIGSEGV).00
100ms232kbKilled by signal 11(SIGSEGV).0
110ms236kbKilled by signal 11(SIGSEGV).0
120ms240kbKilled by signal 11(SIGSEGV).0
130ms236kbKilled by signal 11(SIGSEGV).00
140ms240kbKilled by signal 11(SIGSEGV).0
150ms232kbKilled by signal 11(SIGSEGV).0
160ms236kbKilled by signal 11(SIGSEGV).0
170ms236kbKilled by signal 11(SIGSEGV).00
180ms232kbKilled by signal 11(SIGSEGV).0
190ms236kbKilled by signal 11(SIGSEGV).0
200ms232kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?