Borderou de evaluare (job #687829)

Utilizator GrimpowRadu Andrei Grimpow Data 22 februarie 2012 19:36:41
Problema Copii Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void prelucrare(int)’: user.cpp:8: warning: missing braces around initializer for ‘int [25]’ user.cpp: In function ‘int main()’: user.cpp:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:43: 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:43: /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/ccE77cEK.o: In function `main': user.cpp:(.text+0x1e9): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
20ms252kbOK10
30ms248kbOK10
44ms248kbOK10
512ms248kbOK10
612ms252kbOK10
752ms248kbOK10
868ms248kbOK10
960ms248kbOK10
1060ms252kbOK10
Punctaj total100

Ceva nu functioneaza?