Pagini recente » Borderou de evaluare (job #3224639) | Borderou de evaluare (job #577624) | Borderou de evaluare (job #3179953) | Borderou de evaluare (job #2701962) | Borderou de evaluare (job #1448595)
Borderou de evaluare (job #1448595)
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/ccR1SBS6.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 | 340kb | OK | 5 |
| 2 | 0ms | 396kb | OK | 5 |
| 3 | 0ms | 1292kb | OK | 5 |
| 4 | 0ms | 2136kb | OK | 5 |
| 5 | 12ms | 9992kb | OK | 5 |
| 6 | 0ms | 2384kb | OK | 5 |
| 7 | 96ms | 38856kb | OK | 5 |
| 8 | 116ms | 38172kb | OK | 5 |
| 9 | Depăşit | 52940kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 53448kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 53468kb | Time limit exceeded. | 0 |
| 12 | 960ms | 42728kb | OK | 5 |
| 13 | Depăşit | 45560kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 48216kb | Time limit exceeded. | 0 |
| 15 | 264ms | 14696kb | OK | 5 |
| 16 | 856ms | 18164kb | OK | 5 |
| 17 | 696ms | 31512kb | OK | 5 |
| 18 | 872ms | 53928kb | OK | 5 |
| 19 | Depăşit | 53464kb | Time limit exceeded. | 0 |
| 20 | 808ms | 53696kb | OK | 5 |
| Punctaj total | 70 |