Borderou de evaluare (job #670658)

Utilizator taloibogdanTaloi Bogdan Cristian taloibogdan Data 29 ianuarie 2012 18:42:40
Problema Mxl Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 90

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:42: warning: suggest explicit braces to avoid ambiguous ‘else’ user.cpp:21: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:22: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:28: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result /tmp/ccMtHfG2.o: In function `main': user.cpp:(.text+0x1e6): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbOK10
20ms256kbOK10
30ms252kbOK10
40ms256kbOK10
50ms264kbOK10
60ms260kbOK10
70ms280kbOK10
80ms264kbOK10
90ms272kbIncorect0
104ms280kbOK10
Punctaj total90

Ceva nu functioneaza?