Borderou de evaluare (job #925580)

Utilizator radu_voroneanuVoroneanu Radu Stefan radu_voroneanu Data 24 martie 2013 17:01:31
Problema Rama Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:15: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:16: 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:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result In file included from /usr/include/stdio.h:910, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:20: /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/ccf7nPM7.o: In function `main': user.cpp:(.text+0x8f): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms404kbOK10
24ms932kbOK10
316ms1272kbOK10
4Depăşit2280kbTime limit exceeded.0
524ms2620kbOK10
616ms2588kbOK10
7Depăşit2620kbTime limit exceeded.0
816ms2656kbOK10
9448ms2656kbOK10
1024ms2660kbOK10
Punctaj total80

Ceva nu functioneaza?