Borderou de evaluare (job #871282)

Utilizator visanrVisan Radu visanr Data 4 februarie 2013 17:57:47
Problema Randuri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:55: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:56: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:57: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from /usr/include/c++/4.4/cstdio:45, from /usr/include/c++/4.4/fstream:43, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:57: /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/cczoCSfG.o: In function `main': user.cpp:(.text+0x2a8): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
14ms400kbOK1020
24ms408kbOK10
34ms404kbOK1040
44ms396kbOK10
54ms400kbOK10
64ms404kbOK10
74ms408kbOK1040
844ms428kbOK10
924ms412kbOK10
104ms396kbOK10
Punctaj total100

Ceva nu functioneaza?