Borderou de evaluare (job #1448582)

Utilizator AlexNiuclaeNiculae Alexandru Vlad AlexNiuclae Data 7 iunie 2015 16:01:23
Problema Search Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:49:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("search.in","r",stdin); ^ user.cpp:50:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("search.out","w",stdout); ^ user.cpp:52:29: 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:55:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(A[i]+1); ^ user.cpp:64:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c\n", &litera); ^ In file included from /usr/include/stdio.h:934:0, from /usr/include/c++/4.8/cstdio:42, from user.cpp:4: In function ‘char* gets(char*)’, inlined from ‘int main()’ at user.cpp:55:21: /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/ccWpuOGm.o: In function `main': user.cpp:(.text.startup+0x90): warning: the `gets' function is dangerous and should not be used.
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms404kbIncorect0
20ms460kbIncorect0
30ms1444kbIncorect0
40ms2372kbIncorect0
516ms12456kbIncorect0
64ms2816kbIncorect0
7104ms49664kbIncorect0
8120ms48792kbIncorect0
996msDepăşitMemory limit exceeded.0
1096msDepăşitMemory limit exceeded.0
1196msDepăşitMemory limit exceeded.0
12804ms54636kbIncorect0
13864ms58228kbIncorect0
14912ms61608kbIncorect0
15208ms18388kbIncorect0
16648ms22668kbIncorect0
17596ms40008kbIncorect0
18100msDepăşitMemory limit exceeded.0
1996msDepăşitMemory limit exceeded.0
20100msDepăşitMemory limit exceeded.0
Punctaj total0

Ceva nu functioneaza?