Borderou de evaluare (job #740036)

Utilizator valentin.harsanValentin Harsan valentin.harsan Data 24 aprilie 2012 16:19:01
Problema Copii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:12: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:13: 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: In function ‘void prelucrare(int)’: user.cpp:19: warning: missing braces around initializer for ‘int [16]’ In file included from /usr/include/stdio.h:910, from /usr/include/c++/4.4/cstdio:45, from /usr/include/c++/4.4/fstream:43, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘void citire()’ 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/ccEhIByF.o: In function `citire()': user.cpp:(.text+0x1f9): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms372kbOK10
24ms380kbOK10
34ms380kbOK10
44ms376kbOK10
512ms372kbOK10
616ms376kbOK10
776ms380kbOK10
888ms380kbOK10
976ms376kbOK10
1084ms372kbOK10
Punctaj total100

Ceva nu functioneaza?