Borderou de evaluare (job #914681)

Utilizator cat_red20Vasile Ioana cat_red20 Data 14 martie 2013 12:48:48
Problema Mxl Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: 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 ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:14: 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 prelucrare()’: user.cpp:110: warning: unused variable ‘l’ user.cpp:110: warning: unused variable ‘t’ user.cpp: In function ‘void afisare()’: user.cpp:128: 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: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/ccv3PeDJ.o: In function `citire()': user.cpp:(.text+0x677): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK10
20ms280kbOK10
30ms284kbOK10
44ms308kbOK10
54ms376kbOK10
64ms372kbOK10
74ms436kbOK10
84ms436kbOK10
94ms492kbOK10
104ms688kbOK10
Punctaj total100

Ceva nu functioneaza?