Borderou de evaluare (job #742558)

Utilizator danalex97Dan H Alexandru danalex97 Data 30 aprilie 2012 16:47:57
Problema Binar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:55: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:56: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:62: 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 /usr/include/c++/4.4/fstream:43, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:62: /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/ccycT7Vi.o: In function `main': user.cpp:(.text+0x3a4): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms552kbOK10
24ms916kbOK10
3Depăşit1756kbTime limit exceeded.0
4Depăşit3428kbTime limit exceeded.0
5Depăşit4784kbTime limit exceeded.0
6Depăşit5468kbTime limit exceeded.0
7Depăşit5752kbTime limit exceeded.0
8Depăşit6000kbTime limit exceeded.0
9Depăşit6304kbTime limit exceeded.0
10Depăşit6308kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?