Borderou de evaluare (job #716790)

Utilizator d.andreiDiaconeasa Andrei d.andrei Data 19 martie 2012 11:47:40
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/ccrwS4Td.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
10ms252kbOK10
20ms248kbIncorect0
30ms252kbIncorect0
44ms276kbIncorect0
512ms352kbIncorect0
620ms428kbIncorect0
736ms624kbIncorect0
8124ms1416kbIncorect0
9644ms2188kbIncorect0
10380ms4144kbIncorect0
Punctaj total10

Ceva nu functioneaza?