Borderou de evaluare (job #896672)

Utilizator dumitrualexAlex Dumitru dumitrualex Data 27 februarie 2013 16:44:32
Problema Text3 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:39: warning: array subscript has type ‘char’ user.cpp:40: warning: array subscript has type ‘char’ user.cpp:40: warning: array subscript has type ‘char’ user.cpp:41: warning: array subscript has type ‘char’ user.cpp:41: warning: array subscript has type ‘char’ user.cpp:17: warning: unused variable ‘j’ user.cpp:19: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:20: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result /tmp/ccL5sO4R.o: In function `main': user.cpp:(.text+0x6d): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms300kbCorect10
24ms272kbCorect10
30ms240kbCorect10
40ms244kbCorect10
54ms556kbCorect10
64ms724kbCorect10
70ms244kbCorect10
88ms872kbCorect10
94ms260kbCorect10
104ms264kbCorect10
Punctaj total100

Ceva nu functioneaza?