Borderou de evaluare (job #1215526)

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

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/ccKl4KxJ.o: In function `main': user.cpp:(.text.startup+0xb9): 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
10ms300kbOK5
20ms316kbOK5
30ms324kbOK5
40ms320kbOK5
50ms476kbOK5
60ms472kbOK5
70ms476kbOK5
80ms480kbOK5
9Depăşit3536kbTime limit exceeded.0
10Depăşit3976kbTime limit exceeded.0
11Depăşit3976kbTime limit exceeded.0
12Depăşit4176kbTime limit exceeded.0
13Depăşit4172kbTime limit exceeded.0
14Depăşit3276kbTime limit exceeded.0
15Depăşit3420kbTime limit exceeded.0
16Depăşit3764kbTime limit exceeded.0
17Depăşit4176kbTime limit exceeded.0
18Depăşit4172kbTime limit exceeded.0
19Depăşit4128kbTime limit exceeded.0
20Depăşit3880kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?