Borderou de evaluare (job #776041)

Utilizator ionut_blesneagIonut Blesneag ionut_blesneag Data 9 august 2012 18:28:12
Problema ADN Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:45: warning: ignoring return value of ‘char* gets(char*)’, 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:3: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:45: /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/ccPSnSl7.o: In function `main': user.cpp:(.text+0x208): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms264kbOK!10
24ms268kbOK!10
34ms284kbWrong asnwer0
44ms312kbOK!10
512ms600kbWrong asnwer0
6280ms5464kbWrong asnwer0
772ms1800kbWrong asnwer0
8860ms10784kbWrong asnwer0
9Depăşit41556kbTime limit exceeded.0
10Depăşit41580kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?