Borderou de evaluare (job #690778)

Utilizator repp4raduRadu-Andrei Szasz repp4radu Data 25 februarie 2012 21:05:05
Problema Barbar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:28: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:32: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘void afisare()’: user.cpp:143: 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:32: /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/ccDVaXag.o: In function `citire()': user.cpp:(.text+0x622): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
120ms9968kbOk!10
220ms9944kbOk!10
320ms9972kbOk!10
416ms10028kbOk!10
528ms10504kbOk!10
624ms10504kbOk!10
736ms12132kbWrong answer!0
880ms14376kbWrong answer!0
9152ms19156kbOk!10
1016ms10508kbOk!10
Punctaj total80

Ceva nu functioneaza?