Borderou de evaluare (job #1215517)

Utilizator bogdan10bosBogdan Sitaru bogdan10bos Data 1 august 2014 11:48:20
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/cctC1AoV.o: In function `main': user.cpp:(.text.startup+0xbc): 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
10ms292kbOK5
20ms308kbOK5
30ms312kbOK5
40ms312kbOK5
50ms468kbOK5
60ms468kbOK5
70ms468kbOK5
80ms472kbOK5
9Depăşit3520kbTime limit exceeded.0
10Depăşit3960kbTime limit exceeded.0
11Depăşit3964kbTime limit exceeded.0
12Depăşit4160kbTime limit exceeded.0
13Depăşit4160kbTime limit exceeded.0
14Depăşit3264kbTime limit exceeded.0
15Depăşit3396kbTime limit exceeded.0
16Depăşit3748kbTime limit exceeded.0
17Depăşit4160kbTime limit exceeded.0
18Depăşit4156kbTime limit exceeded.0
19Depăşit4116kbTime limit exceeded.0
20Depăşit3868kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?