Borderou de evaluare (job #676698)

Utilizator repp4raduRadu-Andrei Szasz repp4radu Data 9 februarie 2012 15:34:07
Problema Virus Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:17: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘void afisare()’: user.cpp:75: 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:23: /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/cc1Z2SI1.o: In function `citire()': user.cpp:(.text+0x384): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text+0x342): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
1280ms1368kbOK10
212ms1288kbOK10
3284ms1388kbOK10
4292ms1368kbOK10
5412ms1388kbOK10
6156ms1348kbOK10
7Depăşit1348kbTime limit exceeded.0
8Depăşit1352kbTime limit exceeded.0
9204ms1104kbOK10
1032ms1284kbOK10
Punctaj total80

Ceva nu functioneaza?