Borderou de evaluare (job #1158689)

Utilizator alevasluialeHuhurez Marius alevasluiale Data 28 martie 2014 23:55:11
Problema Plaja Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("beep.in","r",stdin); ^ user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("beep.out","w",stdout); ^ user.cpp:11:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(x,1100,stdin); ^ user.cpp:12:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] fgets(lucr,1100,stdin); ^ 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:11:24: /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); ^ In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘int main()’ at user.cpp:12:27: /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 Punctaj/grupa
10ms220kbFisier de iesire lipsa!00
110ms212kbKilled by signal 11(SIGSEGV).0
20ms220kbFisier de iesire lipsa!00
30ms212kbKilled by signal 11(SIGSEGV).00
40ms216kbFisier de iesire lipsa!00
50ms212kbKilled by signal 11(SIGSEGV).00
60ms212kbKilled by signal 11(SIGSEGV).00
70ms212kbKilled by signal 11(SIGSEGV).00
80ms212kbKilled by signal 11(SIGSEGV).00
90ms216kbKilled by signal 11(SIGSEGV).00
100ms212kbKilled by signal 11(SIGSEGV).00
Punctaj total0

Ceva nu functioneaza?