Borderou de evaluare (job #904761)

Utilizator dariusdariusMarian Darius dariusdarius Data 4 martie 2013 20:35:43
Problema Sobo Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:34: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:34: /usr/include/bits/stdio2.h:230: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size /tmp/ccSqpMYy.o: In function `main': user.cpp:(.text+0x1c1): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbCool!10
20ms240kbCool!10
34ms240kbCool!10
468ms248kbCool!10
54ms256kbCool!10
68ms276kbCool!10
78ms304kbCool!10
816ms312kbCool!10
944ms368kbCool!10
1016ms372kbCool!10
Punctaj total100

Ceva nu functioneaza?