Borderou de evaluare (job #1791245)

Utilizator georgerapeanuRapeanu George georgerapeanu Data 29 octombrie 2016 11:05:46
Problema Search Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:31:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d %d\n",&N,&M); ^ user.cpp:34:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(C+1,5005,f); ^ user.cpp:42:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%c\n",&c); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:34:26: /usr/include/i386-linux-gnu/bits/stdio2.h:253:58: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer [enabled by default] return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms296kbKilled by signal 11(SIGSEGV).0
20ms292kbKilled by signal 11(SIGSEGV).0
30ms296kbKilled by signal 11(SIGSEGV).0
40ms304kbKilled by signal 11(SIGSEGV).0
50ms312kbKilled by signal 11(SIGSEGV).0
60ms304kbKilled by signal 11(SIGSEGV).0
70ms336kbKilled by signal 11(SIGSEGV).0
80ms336kbKilled by signal 11(SIGSEGV).0
90ms332kbKilled by signal 11(SIGSEGV).0
100ms336kbKilled by signal 11(SIGSEGV).0
110ms332kbKilled by signal 11(SIGSEGV).0
120ms336kbKilled by signal 11(SIGSEGV).0
130ms328kbKilled by signal 11(SIGSEGV).0
140ms332kbKilled by signal 11(SIGSEGV).0
150ms300kbKilled by signal 11(SIGSEGV).0
160ms304kbKilled by signal 11(SIGSEGV).0
170ms308kbKilled by signal 11(SIGSEGV).0
180ms332kbKilled by signal 11(SIGSEGV).0
190ms336kbKilled by signal 11(SIGSEGV).0
200ms336kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?