Borderou de evaluare (job #676705)

Utilizator repp4raduRadu-Andrei Szasz repp4radu Data 9 februarie 2012 15:36:57
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/ccZRJV9y.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
1264ms1368kbOK10
28ms1292kbOK10
3284ms1392kbOK10
4276ms1368kbOK10
5400ms1388kbOK10
6152ms1344kbOK10
7Depăşit1352kbTime limit exceeded.0
8Depăşit1352kbTime limit exceeded.0
9196ms1108kbOK10
1032ms1288kbOK10
Punctaj total80

Ceva nu functioneaza?