Borderou de evaluare (job #1215600)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 1 august 2014 15:24:39
Problema Map Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 75

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24: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:25: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:26: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:38:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(a[0]); ^ user.cpp:42: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:42: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/ccsEtcIr.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
10ms316kbOK5
20ms336kbOK5
30ms332kbOK5
40ms336kbOK5
50ms492kbOK5
60ms496kbOK5
70ms492kbOK5
80ms488kbOK5
972ms3600kbOK5
1088ms4040kbOK5
1184ms4048kbOK5
12100ms4240kbOK5
1392ms4240kbOK5
1480ms3340kbOK5
1580ms3476kbOK5
16Depăşit3828kbTime limit exceeded.0
17Depăşit4236kbTime limit exceeded.0
18Depăşit4224kbTime limit exceeded.0
19Depăşit4180kbTime limit exceeded.0
20Depăşit3948kbTime limit exceeded.0
Punctaj total75

Ceva nu functioneaza?