Borderou de evaluare (job #625394)

Utilizator dushmiMihai-Alexandru Dusmanu dushmi Data 24 octombrie 2011 14:59:37
Problema Bifo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:86: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:90: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:94: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:97: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘int main()’: user.cpp:154: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:155: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result /tmp/ccjbVtd0.o: In function `read()': user.cpp:(.text+0x4a7): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms652kbIncorect0
24ms656kbIncorect0
34ms644kbKilled by signal 11(SIGSEGV).0
44ms648kbKilled by signal 11(SIGSEGV).0
54ms656kbKilled by signal 11(SIGSEGV).0
64ms632kbKilled by signal 11(SIGSEGV).0
74ms648kbKilled by signal 11(SIGSEGV).0
84ms688kbOK10
94ms680kbKilled by signal 11(SIGSEGV).0
104ms652kbOK10
Punctaj total20

Ceva nu functioneaza?