Borderou de evaluare (job #617000)

Utilizator cosmin79Carabet Cosmin Andrei cosmin79 Data 13 octombrie 2011 19:53:18
Problema Base3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:14: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result user.cpp:16: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result user.cpp:18: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result user.cpp: In function ‘int main()’: user.cpp:99: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:100: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from user.cpp:1: In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘void read()’ at user.cpp:14: /usr/include/bits/stdio2.h:253: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘void read()’ at user.cpp:16: /usr/include/bits/stdio2.h:253: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer In function ‘char* fgets(char*, int, FILE*)’, inlined from ‘void read()’ at user.cpp:18: /usr/include/bits/stdio2.h:253: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms552kbOK5
24ms392kbOK5
34ms396kbOK5
44ms404kbOK5
54ms400kbOK5
64ms400kbOK5
74ms420kbOK5
84ms476kbOK5
94ms424kbOK5
104ms540kbOK5
114ms436kbOK5
124ms584kbOK5
134ms556kbOK5
144ms516kbOK5
154ms580kbOK5
164ms580kbOK5
174ms584kbOK5
184ms572kbOK5
194ms580kbOK5
204ms520kbOK5
Punctaj total100

Ceva nu functioneaza?