Borderou de evaluare (job #1717349)

Utilizator moise_alexandruMoise Alexandru moise_alexandru Data 14 iunie 2016 18:43:45
Problema Mesaj4 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void parsare(int&)’: user.cpp:53:41: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(txt, 1, max_size, fin); ^ user.cpp:62:41: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fread(txt, 1, max_size, fin); ^ user.cpp: In function ‘int main()’: user.cpp:71:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cautbin.in", "r", stdin); ^ user.cpp:72:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cautbin.out", "w", stdout); ^ user.cpp:78:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(T); ^ user.cpp:79:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(T); ^ user.cpp:80:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(T); ^ user.cpp:85:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(T); ^ /tmp/ccrd7Iok.o: In function `main': user.cpp:(.text.startup+0xb2): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms344kbKilled by signal 11(SIGSEGV).00
20ms340kbKilled by signal 11(SIGSEGV).0
30ms340kbKilled by signal 11(SIGSEGV).00
40ms340kbKilled by signal 11(SIGSEGV).0
50ms340kbKilled by signal 11(SIGSEGV).00
60ms344kbKilled by signal 11(SIGSEGV).00
70ms340kbKilled by signal 11(SIGSEGV).00
80ms340kbKilled by signal 11(SIGSEGV).00
90ms348kbKilled by signal 11(SIGSEGV).00
100ms344kbKilled by signal 11(SIGSEGV).00
110ms340kbKilled by signal 11(SIGSEGV).00
120ms344kbKilled by signal 11(SIGSEGV).00
130ms344kbKilled by signal 11(SIGSEGV).00
140ms344kbKilled by signal 11(SIGSEGV).00
150ms344kbKilled by signal 11(SIGSEGV).00
160ms340kbKilled by signal 11(SIGSEGV).00
170ms344kbKilled by signal 11(SIGSEGV).00
180ms340kbKilled by signal 11(SIGSEGV).00
190ms344kbKilled by signal 11(SIGSEGV).00
200ms340kbKilled by signal 11(SIGSEGV).00
Punctaj total0

Ceva nu functioneaza?