Pagini recente » Borderou de evaluare (job #1761773) | Borderou de evaluare (job #2751567) | Borderou de evaluare (job #2018004) | Borderou de evaluare (job #351610) | Borderou de evaluare (job #1574196)
Borderou de evaluare (job #1574196)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ahocorasick.in","r",stdin);
^
user.cpp:21:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ahocorasick.out","w",stdout);
^
user.cpp:22:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:24:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:28:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir[i]);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:28: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/ccB4zgKv.o: In function `main':
user.cpp:(.text.startup+0x137): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0x56): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | OK | 5 |
2 | 0ms | 340kb | OK | 5 |
3 | 0ms | 332kb | OK | 5 |
4 | 0ms | 344kb | OK | 5 |
5 | 0ms | 300kb | OK | 5 |
6 | 4ms | 1008kb | OK | 5 |
7 | 12ms | 1300kb | OK | 5 |
8 | 12ms | 1856kb | OK | 5 |
9 | 12ms | 2056kb | OK | 5 |
10 | 12ms | 1552kb | OK | 5 |
11 | 12ms | 1272kb | OK | 5 |
12 | 12ms | 1748kb | OK | 5 |
13 | 4ms | 804kb | OK | 5 |
14 | 4ms | 848kb | OK | 5 |
15 | 8ms | 1388kb | OK | 5 |
16 | 8ms | 1480kb | OK | 5 |
17 | 8ms | 1516kb | OK | 5 |
18 | 8ms | 1296kb | OK | 5 |
19 | 12ms | 1996kb | OK | 5 |
20 | 44ms | 3464kb | OK | 5 |
Punctaj total | 100 |