Borderou de evaluare (job #1896355)

Utilizator ReksioCroftOctavian Florin Staicu ReksioCroft Data 28 februarie 2017 17:22:06
Problema Barbar Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:124:4: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default] fprintf( "-1", fout ); ^ In file included from /usr/include/stdio.h:934:0, from user.c:1: /usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘struct FILE * restrict’ but argument is of type ‘char *’ fprintf (FILE *__restrict __stream, __const char *__restrict __fmt, ...) ^ user.c:124:4: warning: passing argument 2 of ‘fprintf’ from incompatible pointer type [enabled by default] fprintf( "-1", fout ); ^ In file included from /usr/include/stdio.h:934:0, from user.c:1: /usr/include/i386-linux-gnu/bits/stdio2.h:96:1: note: expected ‘const char * restrict’ but argument is of type ‘struct FILE *’ fprintf (FILE *__restrict __stream, __const char *__restrict __fmt, ...) ^ user.c:94:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf( fin, "%d%d\n", &n, &m ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms288kbKilled by signal 11(SIGSEGV).0
20ms272kbKilled by signal 11(SIGSEGV).0
30ms296kbKilled by signal 11(SIGSEGV).0
40ms328kbKilled by signal 11(SIGSEGV).0
50ms672kbKilled by signal 11(SIGSEGV).0
60ms668kbKilled by signal 11(SIGSEGV).0
74ms1456kbKilled by signal 11(SIGSEGV).0
84ms2236kbKilled by signal 11(SIGSEGV).0
98ms2040kbKilled by signal 11(SIGSEGV).0
100ms616kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?