Borderou de evaluare (job #931906)

Utilizator razvan.popaPopa Razvan razvan.popa Data 28 martie 2013 16:22:46
Problema Unicat Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:125: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:128: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp: In function ‘void print()’: user.cpp:137: 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 read()’ at user.cpp:128: /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 /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/ccHIwB59.o: In function `read()': user.cpp:(.text+0x3bb): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
18ms5008kbIncorect00
212ms5000kbIncorect00
38ms5000kbIncorect00
452ms14060kbIncorect00
548ms13460kbIncorect00
652ms13992kbIncorect00
748ms13376kbIncorect00
852ms13824kbIncorect0
956ms14512kbIncorect00
1052ms13944kbIncorect0
Punctaj total0

Ceva nu functioneaza?