Borderou de evaluare (job #917362)

Utilizator cernat.catallinFMI Cernat Catalin Stefan cernat.catallin Data 17 martie 2013 17:53:32
Problema Custi Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, 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:47: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:48: 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: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
112ms3448kbOK10
24ms460kbOK10
34ms696kbOK10
44ms1008kbOK10
536ms8088kbOK10
624ms6332kbOK10
732ms8092kbOK10
824ms5404kbOK10
928ms7988kbOK10
1028ms7864kbOK10
Punctaj total100

Ceva nu functioneaza?