Borderou de evaluare (job #832726)

Utilizator elfusFlorin Chirica elfus Data 11 decembrie 2012 11:04:52
Problema Matrix Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:14: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:19: 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:16: /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/ccfxV1Hi.o: In function `main': user.cpp:(.text+0x7e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms296kbOK5
24ms380kbOK5
34ms464kbOK5
44ms576kbOK5
54ms692kbOK5
64ms780kbOK5
74ms888kbOK5
88ms1076kbOK5
98ms1280kbOK5
1012ms1340kbOK5
1120ms1936kbOK5
1232ms2544kbOK5
1348ms3036kbOK5
1464ms3644kbOK5
15140ms4944kbOK5
16124ms4644kbOK5
17200ms6048kbOK5
18176ms5576kbOK5
19188ms5740kbOK5
20184ms5744kbOK5
Punctaj total100

Ceva nu functioneaza?