Borderou de evaluare (job #1215524)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 1 august 2014 12:02:42
Problema Map Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 5

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:39:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("map.in", "r", stdin); ^ user.cpp:40:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("map.out", "w", stdout); ^ user.cpp:41:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:42:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a[0]); ^ user.cpp:46:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a[i]); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:1: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:46:19: /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/ccJheVLF.o: In function `main': user.cpp:(.text.startup+0xc0): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms280kbIncorect0
20ms304kbIncorect0
30ms304kbIncorect0
40ms300kbIncorect0
50ms460kbIncorect0
60ms480kbOK5
70ms456kbIncorect0
80ms460kbIncorect0
9Depăşit3544kbTime limit exceeded.0
10Depăşit3984kbTime limit exceeded.0
11Depăşit3988kbTime limit exceeded.0
12Depăşit4196kbTime limit exceeded.0
13Depăşit4184kbTime limit exceeded.0
14Depăşit3296kbTime limit exceeded.0
15Depăşit3432kbTime limit exceeded.0
16Depăşit3784kbTime limit exceeded.0
17Depăşit4196kbTime limit exceeded.0
18Depăşit4192kbTime limit exceeded.0
19Depăşit4148kbTime limit exceeded.0
20Depăşit3896kbTime limit exceeded.0
Punctaj total5

Ceva nu functioneaza?