Borderou de evaluare (job #754686)

Utilizator danalex97Dan H Alexandru danalex97 Data 2 iunie 2012 21:24:28
Problema Binar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:81: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:82: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:84: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:88: 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:88: /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/ccfmfwTo.o: In function `main': user.cpp:(.text+0x348): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms1360kbIncorect0
24ms2520kbIncorect0
312ms6144kbIncorect0
436ms13056kbIncorect0
544msDepăşitMemory limit exceeded.0
660msDepăşitMemory limit exceeded.0
764msDepăşitMemory limit exceeded.0
868msDepăşitMemory limit exceeded.0
948msDepăşitMemory limit exceeded.0
1048msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?