Borderou de evaluare (job #1716687)

Utilizator TwoOfDiamondsDaniel Alexandru Radu TwoOfDiamonds Data 13 iunie 2016 14:47:34
Problema A+B Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:6:2: warning: passing argument 2 of ‘fopen’ makes pointer from integer without a cast [enabled by default] FILE *IN = fopen("adunare.in", 'r'); ^ In file included from user.c:1:0: /usr/include/stdio.h:273:14: note: expected ‘const char * restrict’ but argument is of type ‘int’ extern FILE *fopen (__const char *__restrict __filename, ^ user.c:7:2: warning: passing argument 2 of ‘fopen’ makes pointer from integer without a cast [enabled by default] FILE *OUT = fopen("adunare.out", 'w'); ^ In file included from user.c:1:0: /usr/include/stdio.h:273:14: note: expected ‘const char * restrict’ but argument is of type ‘int’ extern FILE *fopen (__const char *__restrict __filename, ^ user.c:9:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(IN, "%d %d", &a, &b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
70ms172kbKilled by signal 11(SIGSEGV).00
80ms172kbKilled by signal 11(SIGSEGV).0
90ms172kbKilled by signal 11(SIGSEGV).0
100ms172kbKilled by signal 11(SIGSEGV).0
10ms172kbKilled by signal 11(SIGSEGV).00
20ms168kbKilled by signal 11(SIGSEGV).0
30ms168kbKilled by signal 11(SIGSEGV).0
40ms172kbKilled by signal 11(SIGSEGV).00
50ms176kbKilled by signal 11(SIGSEGV).0
60ms168kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?