Borderou de evaluare (job #671969)

Utilizator geniucosOncescu Costin geniucos Data 1 februarie 2012 11:43:17
Problema 1234 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:14: warning: too many arguments for format 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:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:14: warning: ignoring return value of ‘int scanf(const 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:13: /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/cclJ88J4.o: In function `main': user.cpp:(.text+0x97): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms272kbIncorect0
20ms272kbOK10
30ms268kbIncorect0
40ms276kbIncorect0
50ms268kbIncorect0
60ms268kbIncorect0
70ms272kbOK10
80ms268kbIncorect0
90ms272kbIncorect0
100ms272kbIncorect0
Punctaj total20

Ceva nu functioneaza?