Borderou de evaluare (job #837900)

Utilizator caliuxSegarceanu Calin caliux Data 18 decembrie 2012 20:04:35
Problema Muzeu Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:43: 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:43: /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/ccxtHh6A.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
10ms248kbOK10
24ms260kbOK10
34ms304kbOK10
48ms424kbOK10
516ms480kbOK10
6Depăşit844kbTime limit exceeded.0
724ms968kbOK10
8Depăşit876kbTime limit exceeded.0
944ms1020kbOK10
1032ms540kbOK10
Punctaj total80

Ceva nu functioneaza?