Borderou de evaluare (job #829501)

Utilizator geniucosOncescu Costin geniucos Data 5 decembrie 2012 15:49:33
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:47: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:48: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:49: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:52: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from /usr/include/c++/4.4/cstdio:45, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:52: /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/ccUQdbbf.o: In function `main': user.cpp:(.text+0x6af): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
18ms4244kbOk!10
212ms4216kbOk!10
38ms4240kbOk!10
48ms4300kbOk!10
516ms4696kbOk!10
624ms4696kbOk!10
728ms5704kbOk!10
868ms6792kbOk!10
9232ms10040kbOk!10
1012ms4704kbWrong answer!0
Punctaj total90

Ceva nu functioneaza?