Borderou de evaluare (job #926241)

Utilizator tudy23Coder Coder tudy23 Data 25 martie 2013 08:45:30
Problema Rama Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:13: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘int main()’: user.cpp:73: 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 citire()’ at user.cpp:16: /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/cc6Yhy7e.o: In function `citire()': user.cpp:(.text+0x3c2): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms488kbIncorect0
2560ms1820kbIncorect0
3Depăşit2952kbTime limit exceeded.0
436ms7288kbIncorect0
5Depăşit8308kbTime limit exceeded.0
6Depăşit8196kbTime limit exceeded.0
744ms8468kbIncorect0
8Depăşit8428kbTime limit exceeded.0
920ms8468kbOK10
10Depăşit8416kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?