Borderou de evaluare (job #613921)

Utilizator Teodor94Teodor Plop Teodor94 Data 5 octombrie 2011 08:57:06
Problema Copii Status done
Runda bkt1_oct2011 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void lucru(int)’: user.cpp:10: warning: missing braces around initializer for ‘int [15]’ user.cpp: In function ‘void citire()’: 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 ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:44: 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 ‘void citire()’ at user.cpp:44: /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/ccdtdpxe.o: In function `citire()': user.cpp:(.text+0x1eb): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms248kbOK10
20ms252kbOK10
30ms248kbOK10
44ms248kbOK10
516ms252kbOK10
616ms248kbOK10
772ms248kbOK10
880ms248kbOK10
980ms248kbOK10
1092ms248kbOK10
Punctaj total100

Ceva nu functioneaza?