Borderou de evaluare (job #884641)

Utilizator caliuxSegarceanu Calin caliux Data 21 februarie 2013 09:41:02
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘void schimba()’: user.cpp:14: warning: NULL used in arithmetic user.cpp:19: warning: NULL used in arithmetic user.cpp:13: warning: unused variable ‘len’ user.cpp: In function ‘int main()’: user.cpp:86: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:87: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:88: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:89: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:91: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result /tmp/cc1b4aRN.o: In function `main': user.cpp:(.text+0x1a6): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbOK!10
20ms240kbWrong answer!0
30ms240kbWrong answer!0
40ms244kbWrong answer!0
54ms240kbWrong answer!0
64ms240kbWrong answer!0
74ms240kbWrong answer!0
84ms244kbWrong answer!0
94ms240kbWrong answer!0
104ms240kbOK!10
Punctaj total20

Ceva nu functioneaza?