Borderou de evaluare (job #1461489)

Utilizator AlexAnastasiuAlex Anastasiu AlexAnastasiu Data 15 iulie 2015 20:04:41
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
10ms240kbKilled by signal 11(SIGSEGV).00
20ms236kbKilled by signal 11(SIGSEGV).0
30ms244kbKilled by signal 11(SIGSEGV).0
40ms236kbKilled by signal 11(SIGSEGV).0
50ms244kbKilled 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
100ms240kbKilled by signal 11(SIGSEGV).0
110ms244kbKilled by signal 11(SIGSEGV).0
120ms240kbKilled by signal 11(SIGSEGV).0
130ms240kbKilled by signal 11(SIGSEGV).00
140ms236kbKilled by signal 11(SIGSEGV).0
150ms240kbKilled by signal 11(SIGSEGV).0
160ms240kbKilled by signal 11(SIGSEGV).0
170ms240kbKilled by signal 11(SIGSEGV).00
180ms240kbKilled by signal 11(SIGSEGV).0
190ms240kbKilled by signal 11(SIGSEGV).0
200ms236kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?