Borderou de evaluare (job #810628)

Utilizator ericptsStavarache Petru Eric ericpts Data 10 noiembrie 2012 17:43:17
Problema Reteta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:46: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:47: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:48: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:54: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:55: 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:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:54: /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/cchVTKja.o: In function `main': user.cpp:(.text+0x20f): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text+0x1b6): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbIncorect0
20ms240kbIncorect0
30ms244kbIncorect0
40ms244kbIncorect0
50ms240kbIncorect0
60ms240kbIncorect0
70ms244kbIncorect0
80ms240kbIncorect0
90ms240kbIncorect0
100ms244kbIncorect0
Punctaj total0

Ceva nu functioneaza?