Borderou de evaluare (job #1717151)

Utilizator DjokValeriu Motroi Djok Data 14 iunie 2016 13:57:44
Problema Fold Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 55

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:10:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("fold.in","rt",stdin); ^ user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("fold.out","wt",stdout); ^ user.cpp:13:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n",&n,&m); ^ user.cpp:14:31: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=n;++i) gets(s[i]); ^ In file included from /usr/include/stdio.h:934:0, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:14:31: /usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default] return __gets_warn (__str); ^ /tmp/ccj4aBfT.o: In function `main': user.cpp:(.text.startup+0x8e): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms320kbOK5
20ms376kbOK5
30ms424kbOK5
44ms464kbOK5
58ms520kbOK5
616ms564kbOK5
728ms612kbOK5
844ms660kbOK5
964ms708kbOK5
1088ms764kbOK5
11116ms812kbOK5
12Depăşit860kbTime limit exceeded.0
13Depăşit896kbTime limit exceeded.0
14Depăşit932kbTime limit exceeded.0
15Depăşit976kbTime limit exceeded.0
16Depăşit1028kbTime limit exceeded.0
17Depăşit1076kbTime limit exceeded.0
18Depăşit1124kbTime limit exceeded.0
19Depăşit1172kbTime limit exceeded.0
20Depăşit1224kbTime limit exceeded.0
Punctaj total55

Ceva nu functioneaza?