Borderou de evaluare (job #716778)

Utilizator d.andreiDiaconeasa Andrei d.andrei Data 19 martie 2012 11:32:46
Problema Mcript Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:53: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:54: 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 ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:57: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:65: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:67: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:71: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:75: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:81: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result /tmp/ccrhR83l.o: In function `main': user.cpp:(.text+0x11a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
20ms252kbIncorect0
30ms248kbIncorect0
44ms272kbIncorect0
512ms352kbIncorect0
620ms428kbIncorect0
736ms628kbIncorect0
8116ms1408kbIncorect0
9648ms2188kbIncorect0
10376ms4148kbIncorect0
Punctaj total10

Ceva nu functioneaza?