Borderou de evaluare (job #2195295)

Utilizator Silvarryvarga raul Silvarry Data 15 aprilie 2018 22:01:24
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:30: warning: passing argument 3 of ‘freopen’ from incompatible pointer type [-Wincompatible-pointer-types] freopen("adunare.in","r","stdin"); ^~~~~~~ In file included from user.c:1:0: /usr/include/stdio.h:278:14: note: expected ‘FILE * restrict {aka struct _IO_FILE * restrict}’ but argument is of type ‘char *’ extern FILE *freopen (const char *__restrict __filename, ^~~~~~~ user.c:7:31: warning: passing argument 3 of ‘freopen’ from incompatible pointer type [-Wincompatible-pointer-types] freopen("adunare.out","w","stdout"); ^~~~~~~~ In file included from user.c:1:0: /usr/include/stdio.h:278:14: note: expected ‘FILE * restrict {aka struct _IO_FILE * restrict}’ but argument is of type ‘char *’ extern FILE *freopen (const char *__restrict __filename, ^~~~~~~ user.c:6:5: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("adunare.in","r","stdin"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:7:5: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("adunare.out","w","stdout"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ user.c:9:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a,&b); ^~~~~~~~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
70ms868kbKilled by signal 11(SIGSEGV).00
80ms864kbKilled by signal 11(SIGSEGV).0
90ms800kbKilled by signal 11(SIGSEGV).0
100ms808kbKilled by signal 11(SIGSEGV).0
10ms800kbKilled by signal 11(SIGSEGV).00
20ms796kbKilled by signal 11(SIGSEGV).0
30ms872kbKilled by signal 11(SIGSEGV).0
40ms752kbKilled by signal 11(SIGSEGV).00
50ms756kbKilled by signal 11(SIGSEGV).0
60ms752kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?