Borderou de evaluare (job #824132)

Utilizator geniucosOncescu Costin geniucos Data 25 noiembrie 2012 21:32:23
Problema 1234 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16: warning: too many arguments for format user.cpp:9: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:10: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:11: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:12: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:16: 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:15: /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/cc7kEijM.o: In function `main': user.cpp:(.text+0x95): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms264kbOK10
24ms260kbOK10
34ms264kbOK10
44ms264kbOK10
54ms264kbOK10
64ms260kbOK10
74ms268kbOK10
84ms268kbOK10
94ms260kbOK10
104ms260kbOK10
Punctaj total100

Ceva nu functioneaza?