Borderou de evaluare (job #1501938)

Utilizator andrei.arnautuAndi Arnautu andrei.arnautu Data 13 octombrie 2015 23:13:43
Problema AI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read(int&)’: user.cpp:36:54: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buffer, 1, buffDim, stdin), pos = 0; ^ user.cpp:42:54: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buffer, 1, buffDim, stdin), pos = 0; ^ user.cpp: In function ‘void readData()’: user.cpp:48:37: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(buffer, 1, buffDim, stdin); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:6: In function ‘size_t fread(void*, size_t, size_t, FILE*)’, inlined from ‘void read(int&)’ at user.cpp:36:54: /usr/include/i386-linux-gnu/bits/stdio2.h:285:71: warning: call to ‘__fread_chk_warn’ declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer [enabled by default] return __fread_chk_warn (__ptr, __bos0 (__ptr), __size, __n, __stream); ^ In function ‘size_t fread(void*, size_t, size_t, FILE*)’, inlined from ‘void read(int&)’ at user.cpp:42:54: /usr/include/i386-linux-gnu/bits/stdio2.h:285:71: warning: call to ‘__fread_chk_warn’ declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer [enabled by default] return __fread_chk_warn (__ptr, __bos0 (__ptr), __size, __n, __stream); ^ In function ‘size_t fread(void*, size_t, size_t, FILE*)’, inlined from ‘void readData()’ at user.cpp:48:37: /usr/include/i386-linux-gnu/bits/stdio2.h:285:71: warning: call to ‘__fread_chk_warn’ declared with attribute warning: fread called with bigger size * nmemb than length of destination buffer [enabled by default] return __fread_chk_warn (__ptr, __bos0 (__ptr), __size, __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms328kbKilled by signal 6(SIGABRT).0
24ms332kbKilled by signal 6(SIGABRT).0
34ms328kbKilled by signal 6(SIGABRT).0
44ms328kbKilled by signal 6(SIGABRT).0
50ms328kbKilled by signal 6(SIGABRT).0
64ms332kbKilled by signal 6(SIGABRT).0
74ms332kbKilled by signal 6(SIGABRT).0
84ms328kbKilled by signal 6(SIGABRT).0
94ms328kbKilled by signal 6(SIGABRT).0
104ms332kbKilled by signal 6(SIGABRT).0
114ms328kbKilled by signal 6(SIGABRT).0
124ms328kbKilled by signal 6(SIGABRT).0
134ms332kbKilled by signal 6(SIGABRT).0
144ms328kbKilled by signal 6(SIGABRT).0
150ms328kbKilled by signal 6(SIGABRT).0
160ms328kbKilled by signal 6(SIGABRT).0
170ms328kbKilled by signal 6(SIGABRT).0
180ms328kbKilled by signal 6(SIGABRT).0
194ms332kbKilled by signal 6(SIGABRT).0
204ms332kbKilled by signal 6(SIGABRT).0
Punctaj total0

Ceva nu functioneaza?