Borderou de evaluare (job #832301)

Utilizator repp4raduRadu-Andrei Szasz repp4radu Data 10 decembrie 2012 12:20:47
Problema Binar Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:26: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:28: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result user.cpp:32: 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 ‘int main()’ at user.cpp:28: /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/cc8w7sW6.o: In function `main': user.cpp:(.text+0x192): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms424kbOK10
24ms632kbOK10
38ms1236kbOK10
416ms2252kbOK10
532ms3268kbOK10
640ms3668kbOK10
744ms3872kbOK10
848ms4076kbOK10
9Depăşit4276kbTime limit exceeded.0
10Depăşit4276kbTime limit exceeded.0
Punctaj total80

Ceva nu functioneaza?