Borderou de evaluare (job #1092390)

Utilizator vladradu2014Radu Vlad Alexandru vladradu2014 Data 26 ianuarie 2014 22:57:03
Problema Aladdin2 Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:9:4: warning: passing argument 1 of ‘fscanf’ from incompatible pointer type [enabled by default] fscanf("%d %d",M,N); ^ In file included from /usr/include/features.h:346:0, from /usr/include/stdio.h:28, from user.c:1: /usr/include/stdio.h:425:12: note: expected ‘struct FILE * restrict’ but argument is of type ‘char *’ extern int __REDIRECT (fscanf, (FILE *__restrict __stream, ^ user.c:9:4: warning: passing argument 2 of ‘fscanf’ makes pointer from integer without a cast [enabled by default] fscanf("%d %d",M,N); ^ In file included from /usr/include/features.h:346:0, from /usr/include/stdio.h:28, from user.c:1: /usr/include/stdio.h:425:12: note: expected ‘const char * restrict’ but argument is of type ‘int’ extern int __REDIRECT (fscanf, (FILE *__restrict __stream, ^ user.c:12:4: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [enabled by default] fprintf("%d",(M-1)*(N-1)*6); ^ In file included from user.c:1:0: /usr/include/stdio.h:333:12: note: expected ‘struct FILE * restrict’ but argument is of type ‘char *’ extern int fprintf (FILE *__restrict __stream, ^ user.c:12:4: warning: passing argument 2 of ‘fprintf’ makes pointer from integer without a cast [enabled by default] fprintf("%d",(M-1)*(N-1)*6); ^ In file included from user.c:1:0: /usr/include/stdio.h:333:12: note: expected ‘const char * restrict’ but argument is of type ‘int’ extern int fprintf (FILE *__restrict __stream, ^ user.c:9:10: warning: ‘M’ is used uninitialized in this function [-Wuninitialized] fscanf("%d %d",M,N); ^ user.c:9:10: warning: ‘N’ is used uninitialized in this function [-Wuninitialized]
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms232kbKilled by signal 11(SIGSEGV).0
20ms236kbKilled by signal 11(SIGSEGV).0
30ms232kbKilled by signal 11(SIGSEGV).0
40ms232kbKilled by signal 11(SIGSEGV).0
50ms232kbKilled by signal 11(SIGSEGV).0
60ms232kbKilled by signal 11(SIGSEGV).0
70ms232kbKilled by signal 11(SIGSEGV).0
80ms236kbKilled by signal 11(SIGSEGV).0
90ms232kbKilled by signal 11(SIGSEGV).0
100ms236kbKilled by signal 11(SIGSEGV).0
110ms236kbKilled by signal 11(SIGSEGV).0
120ms232kbKilled by signal 11(SIGSEGV).0
130ms232kbKilled by signal 11(SIGSEGV).0
140ms236kbKilled by signal 11(SIGSEGV).0
150ms232kbKilled by signal 11(SIGSEGV).0
160ms232kbKilled by signal 11(SIGSEGV).0
170ms236kbKilled by signal 11(SIGSEGV).0
180ms236kbKilled by signal 11(SIGSEGV).0
190ms236kbKilled by signal 11(SIGSEGV).0
200ms236kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?