Pagini recente » Borderou de evaluare (job #27165) | Borderou de evaluare (job #2969272) | Borderou de evaluare (job #1352033) | Borderou de evaluare (job #427220) | Borderou de evaluare (job #1448583)
Borderou de evaluare (job #1448583)
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 |
1 | 0ms | 400kb | OK | 5 |
2 | 0ms | 444kb | OK | 5 |
3 | 0ms | 1252kb | OK | 5 |
4 | 0ms | 2004kb | OK | 5 |
5 | 12ms | 9816kb | OK | 5 |
6 | 4ms | 2308kb | OK | 5 |
7 | 96ms | 38536kb | OK | 5 |
8 | 116ms | 37860kb | OK | 5 |
9 | Depăşit | 52528kb | Time limit exceeded. | 0 |
10 | Depăşit | 53040kb | Time limit exceeded. | 0 |
11 | Depăşit | 53028kb | Time limit exceeded. | 0 |
12 | 944ms | 42396kb | OK | 5 |
13 | Depăşit | 45188kb | Time limit exceeded. | 0 |
14 | Depăşit | 47800kb | Time limit exceeded. | 0 |
15 | 252ms | 14404kb | OK | 5 |
16 | 800ms | 17788kb | OK | 5 |
17 | 660ms | 31148kb | OK | 5 |
18 | 924ms | 53608kb | OK | 5 |
19 | Depăşit | 53092kb | Time limit exceeded. | 0 |
20 | 768ms | 53312kb | OK | 5 |
Punctaj total | 70 |