Borderou de evaluare (job #614169)

Utilizator joli94Apostol Adrian Alexandru joli94 Data 5 octombrie 2011 19:50:57
Problema Copii Status done
Runda bkt1_oct2011 Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:10: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:11: 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:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘void verif(int)’: user.cpp:37: warning: array subscript has type ‘char’ user.cpp:37: warning: array subscript has type ‘char’ 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:17: /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/ccPCJi2P.o: In function `read()': user.cpp:(.text+0x249): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms252kbOK10
20ms252kbOK10
30ms248kbOK10
44ms248kbOK10
516ms248kbOK10
612ms252kbOK10
780ms248kbOK10
872ms248kbOK10
980ms252kbOK10
1072ms252kbOK10
Punctaj total100

Ceva nu functioneaza?