Borderou de evaluare (job #905377)

Utilizator PlayLikeNeverB4George Marcus PlayLikeNeverB4 Data 5 martie 2013 19:39:53
Problema Logs Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result user.cpp:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result user.cpp:38: 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 user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:38: /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/ccqfdQ6R.o: In function `main': user.cpp:(.text+0xb3): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms568kbOK10
28ms1392kbOK10
324ms1924kbOK10
4116ms7772kbOK10
5176ms7776kbOK10
6316ms14988kbOK10
7372ms19552kbOK10
8Depăşit22428kbTime limit exceeded.0
9Depăşit22512kbTime limit exceeded.0
10436ms22516kbOK10
Punctaj total80

Ceva nu functioneaza?