Borderou de evaluare (job #918886)

Utilizator balakraz94abcd efgh balakraz94 Data 19 martie 2013 10:48:04
Problema SETI Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:94: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:95: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:97: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:100: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:106: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:107: 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:100: /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/cca1OPm5.o: In function `main': user.cpp:(.text+0x48a): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text+0x4d8): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
140ms2520kbOK10
216ms852kbOK10
344ms1268kbOK10
472ms1272kbOK10
584ms2304kbOK10
6124ms3328kbOK10
7172ms4356kbOK10
8220ms4440kbOK10
9216ms4440kbOK10
10196ms4444kbOK10
Punctaj total100

Ceva nu functioneaza?