Borderou de evaluare (job #742552)

Utilizator danalex97Dan H Alexandru danalex97 Data 30 aprilie 2012 16:45:42
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/cc7MVsyV.o: In function `main': user.cpp:(.text+0x3a8): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms552kbOK10
24ms912kbOK10
3Depăşit1760kbTime limit exceeded.0
4Depăşit3420kbTime limit exceeded.0
5Depăşit4788kbTime limit exceeded.0
6Depăşit5464kbTime limit exceeded.0
7Depăşit5752kbTime limit exceeded.0
8Depăşit6004kbTime limit exceeded.0
9Depăşit6312kbTime limit exceeded.0
10Depăşit6312kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?