Borderou de evaluare (job #817978)

Utilizator Teodor94Teodor Plop Teodor94 Data 17 noiembrie 2012 14:37:27
Problema Cruce Status done
Runda FMI No Stress 3 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:9: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘int main()’: user.cpp:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, 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 ‘void read()’ at user.cpp:12: /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/cci55nsk.o: In function `read()': user.cpp:(.text+0x247): warning: the `gets' function is dangerous and should not be used.
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms240kbOK10
20ms244kbOK10
34ms240kbOK10
40ms240kbOK10
50ms240kbOK10
64ms240kbOK10
78ms240kbOK10
84ms240kbOK10
928ms240kbOK10
1028ms240kbOK10
Punctaj total100

Ceva nu functioneaza?