Borderou de evaluare (job #1215532)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:40: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:41: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:42: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:54:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a[0]); ^ user.cpp:58:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a[i]); ^ user.cpp:59:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("\n"); ^ 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:58: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/ccROOLn9.o: In function `main': user.cpp:(.text.startup+0x18f): warning: the `gets' function is dangerous and should not be used. user.cpp:(.text.startup+0x15a): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms300kbIncorect0
20ms312kbIncorect0
30ms316kbIncorect0
40ms316kbIncorect0
50ms476kbIncorect0
60ms472kbIncorect0
70ms472kbIncorect0
80ms472kbIncorect0
9Depăşit3576kbTime limit exceeded.0
10Depăşit4028kbTime limit exceeded.0
11Depăşit4028kbTime limit exceeded.0
12Depăşit4220kbTime limit exceeded.0
13Depăşit4220kbTime limit exceeded.0
14Depăşit3320kbTime limit exceeded.0
15Depăşit3456kbTime limit exceeded.0
16Depăşit3804kbTime limit exceeded.0
17Depăşit4216kbTime limit exceeded.0
18Depăşit4224kbTime limit exceeded.0
19Depăşit4176kbTime limit exceeded.0
20Depăşit3928kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?