Borderou de evaluare (job #931907)

Utilizator razvan.popaPopa Razvan razvan.popa Data 28 martie 2013 16:23:40
Problema Unicat Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:123: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:126: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘void print()’: user.cpp:135: 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 /usr/include/c++/4.4/cstdio:45, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘void read()’ at user.cpp:126: /usr/include/bits/stdio2.h:230: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size /usr/include/bits/stdio2.h:230: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size /tmp/ccU6PNOE.o: In function `read()': user.cpp:(.text+0x7eb): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
112ms5020kbOK1010
212ms5024kbOK1010
312ms5020kbOK1010
41044ms19504kbOK1010
5Depăşit13504kbTime limit exceeded.00
6Depăşit18456kbTime limit exceeded.00
7Depăşit13424kbTime limit exceeded.00
8Depăşit20264kbTime limit exceeded.0
9Depăşit14560kbTime limit exceeded.00
10Depăşit23116kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?