Borderou de evaluare (job #712280)

Utilizator andrici_cezarAndrici Cezar andrici_cezar Data 13 martie 2012 11:32:01
Problema Apel Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:139: warning: format ‘%d’ expects type ‘int’, but argument 2 has type ‘long int’ user.cpp:94: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:95: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, 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:116: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:125: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result /tmp/ccFIiy0i.o: In function `main': user.cpp:(.text+0x19b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
20ms248kbOK10
30ms248kbOK10
40ms252kbOK10
50ms248kbOK10
60ms252kbOK10
70ms252kbOK10
80ms248kbOK10
90ms252kbOK10
100ms248kbOK10
Punctaj total100

Ceva nu functioneaza?