Borderou de evaluare (job #738507)

Utilizator geniucosOncescu Costin geniucos Data 20 aprilie 2012 18:04:01
Problema Vila Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:7: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:8: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:9: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:10: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:20: 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:20: /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/ccCXijRc.o: In function `main': user.cpp:(.text+0xea): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms256kbIncorect0
24ms276kbIncorect0
34ms440kbIncorect0
44ms440kbIncorect0
54ms440kbIncorect0
64ms372kbIncorect0
74ms428kbIncorect0
84ms368kbIncorect0
94ms368kbIncorect0
104ms432kbIncorect0
Punctaj total0

Ceva nu functioneaza?