Borderou de evaluare (job #829502)

Utilizator geniucosOncescu Costin geniucos Data 5 decembrie 2012 15:50:01
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: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/cchXIZpU.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
18ms4240kbOk!10
212ms4212kbOk!10
38ms4240kbOk!10
48ms4292kbOk!10
516ms4692kbOk!10
624ms4692kbOk!10
728ms5704kbOk!10
868ms6792kbOk!10
9232ms10036kbOk!10
1012ms4712kbOk!10
Punctaj total100

Ceva nu functioneaza?