Borderou de evaluare (job #1215531)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 1 august 2014 12:18:12
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]); ^ 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/cc1P83QQ.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
10ms292kbIncorect0
20ms308kbIncorect0
30ms308kbIncorect0
40ms312kbIncorect0
50ms464kbIncorect0
60ms468kbIncorect0
70ms464kbIncorect0
80ms468kbIncorect0
9Depăşit3576kbTime limit exceeded.0
10Depăşit4024kbTime limit exceeded.0
11Depăşit4016kbTime limit exceeded.0
12Depăşit4220kbTime limit exceeded.0
13Depăşit4216kbTime limit exceeded.0
14Depăşit3320kbTime limit exceeded.0
15Depăşit3456kbTime limit exceeded.0
16Depăşit3800kbTime limit exceeded.0
17Depăşit4220kbTime limit exceeded.0
18Depăşit4216kbTime limit exceeded.0
19Depăşit4172kbTime limit exceeded.0
20Depăşit3924kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?