Borderou de evaluare (job #1448583)

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

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/cc4Vf13H.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
10ms400kbOK5
20ms444kbOK5
30ms1252kbOK5
40ms2004kbOK5
512ms9816kbOK5
64ms2308kbOK5
796ms38536kbOK5
8116ms37860kbOK5
9Depăşit52528kbTime limit exceeded.0
10Depăşit53040kbTime limit exceeded.0
11Depăşit53028kbTime limit exceeded.0
12944ms42396kbOK5
13Depăşit45188kbTime limit exceeded.0
14Depăşit47800kbTime limit exceeded.0
15252ms14404kbOK5
16800ms17788kbOK5
17660ms31148kbOK5
18924ms53608kbOK5
19Depăşit53092kbTime limit exceeded.0
20768ms53312kbOK5
Punctaj total70

Ceva nu functioneaza?