Borderou de evaluare (job #1763124)

Utilizator antanaAntonia Boca antana Data 24 septembrie 2016 12:10:48
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:22: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:23: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:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d\n", &n, &m); ^ user.cpp:29:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(s[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:29: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/ccRZVrLL.o: In function `main': user.cpp:(.text.startup+0x85): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms464kbOK5
20ms640kbOK5
30ms660kbOK5
40ms664kbOK5
50ms2104kbOK5
60ms2128kbOK5
70ms2156kbOK5
80ms2204kbOK5
9Depăşit55840kbTime limit exceeded.0
10Depăşit57636kbTime limit exceeded.0
11Depăşit60332kbTime limit exceeded.0
12Depăşit50716kbTime limit exceeded.0
13Depăşit54340kbTime limit exceeded.0
14Depăşit50948kbTime limit exceeded.0
15Depăşit50440kbTime limit exceeded.0
16Depăşit49076kbTime limit exceeded.0
17Depăşit47564kbTime limit exceeded.0
18Depăşit47580kbTime limit exceeded.0
19Depăşit47628kbTime limit exceeded.0
20Depăşit48668kbTime limit exceeded.0
Punctaj total40

Ceva nu functioneaza?