Borderou de evaluare (job #885723)

Utilizator caliuxSegarceanu Calin caliux Data 22 februarie 2013 11:58:50
Problema Bool Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

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: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 ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:89: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:90: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:92: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result /tmp/ccy0sNBY.o: In function `main': user.cpp:(.text+0x193): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbOK!10
20ms244kbOK!10
30ms244kbOK!10
44ms240kbOK!10
54ms244kbWrong answer!0
64ms244kbWrong answer!0
74ms240kbOK!10
84ms240kbOK!10
94ms240kbOK!10
104ms240kbOK!10
Punctaj total80

Ceva nu functioneaza?