Borderou de evaluare (job #829086)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:153: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:154: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:155: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:159: 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:159: /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/ccTi0bRb.o: In function `main': user.cpp:(.text+0x77b): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
148ms19904kbOk!10
248ms19884kbOk!10
360ms19904kbOk!10
448ms19956kbOk!10
580ms20356kbOk!10
680ms20348kbOk!10
784ms21336kbWrong answer!0
896ms22324kbOk!10
9184ms24788kbOk!10
1040ms20356kbOk!10
Punctaj total90

Ceva nu functioneaza?