Borderou de evaluare (job #829093)

Utilizator assa98Andrei Stanciu assa98 Data 4 decembrie 2012 20:58:52
Problema Barbar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:156: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:157: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:158: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:162: warning: ignoring return value of ‘char* gets(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:162: /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/ccA3XHyl.o: In function `main': user.cpp:(.text+0x7ab): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
148ms19900kbOk!10
248ms19880kbOk!10
360ms19904kbOk!10
448ms19948kbOk!10
580ms20348kbOk!10
680ms20348kbOk!10
784ms21328kbOk!10
896ms22320kbOk!10
9184ms24788kbOk!10
1040ms20344kbOk!10
Punctaj total100

Ceva nu functioneaza?