Borderou de evaluare (job #690737)

Utilizator repp4raduRadu-Andrei Szasz repp4radu Data 25 februarie 2012 20:36:47
Problema Barbar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:31: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘void afisare()’: user.cpp:140: 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 citire()’ at user.cpp:31: /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/ccnIz1NL.o: In function `citire()': user.cpp:(.text+0x462): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
132ms9968kbWrong answer!0
224ms9944kbWrong answer!0
336ms9972kbWrong answer!0
440ms10020kbWrong answer!0
556ms10436kbWrong answer!0
660ms10432kbWrong answer!0
780ms11460kbWrong answer!0
8128ms12480kbWrong answer!0
9260ms15048kbWrong answer!0
1056ms10436kbOk!10
Punctaj total10

Ceva nu functioneaza?