Borderou de evaluare (job #1448597)

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

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:38: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:39: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:41: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:44:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result] gets(A[i]+1); ^ user.cpp:53: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:44: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/ccUByuFe.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
10ms332kbOK5
20ms400kbOK5
30ms1296kbOK5
40ms2124kbOK5
512ms9992kbOK5
60ms2388kbOK5
7100ms38848kbOK5
8120ms38172kbOK5
9Depăşit52940kbTime limit exceeded.0
10Depăşit53448kbTime limit exceeded.0
11Depăşit53460kbTime limit exceeded.0
12Depăşit42724kbTime limit exceeded.0
13Depăşit45556kbTime limit exceeded.0
14Depăşit48208kbTime limit exceeded.0
15280ms14700kbOK5
16896ms18156kbOK5
17704ms31508kbOK5
18888ms53928kbOK5
19Depăşit53460kbTime limit exceeded.0
20828ms53684kbOK5
Punctaj total65

Ceva nu functioneaza?