Pagini recente » Borderou de evaluare (job #315128) | Borderou de evaluare (job #1803593) | Borderou de evaluare (job #843038) | Borderou de evaluare (job #648806) | Borderou de evaluare (job #2763813)
Borderou de evaluare (job #2763813)
Raport evaluator
Compilare:
main.cpp: In function 'void antibfs(ac*)':
main.cpp:55:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0; j<fr->nd.size(); ++j) final[fr->nd[j]]=fr->n0;
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:61: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);
^
main.cpp:62: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);
^
main.cpp:63:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",tx);
^
main.cpp:64:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:67:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",c);
^
main.cpp: In function 'void ins(ac*, char*, int)':
main.cpp:30:19: warning: array subscript is below array bounds [-Warray-bounds]
if(0==t->f[urm]) t->f[urm]=new ac;
~~~~~~~~^
main.cpp:30:30: warning: array subscript is below array bounds [-Warray-bounds]
if(0==t->f[urm]) t->f[urm]=new ac;
~~~~~~~~^
main.cpp:31:8: warning: array subscript is below array bounds [-Warray-bounds]
ins(t->f[urm],p+1,i);
~~~^~~~~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Incorect | 0 |
2 | 2ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | Incorect | 0 |
4 | 2ms | 131kb | Incorect | 0 |
5 | 2ms | 131kb | Incorect | 0 |
6 | 8ms | 524kb | Incorect | 0 |
7 | 12ms | 917kb | Incorect | 0 |
8 | 13ms | 1048kb | Incorect | 0 |
9 | 13ms | 1048kb | Incorect | 0 |
10 | 13ms | 1048kb | Incorect | 0 |
11 | 13ms | 1048kb | Incorect | 0 |
12 | 13ms | 1048kb | Incorect | 0 |
13 | 7ms | 524kb | Incorect | 0 |
14 | 9ms | 655kb | Incorect | 0 |
15 | 9ms | 655kb | Incorect | 0 |
16 | 9ms | 655kb | Incorect | 0 |
17 | 11ms | 786kb | Incorect | 0 |
18 | 14ms | 1048kb | Incorect | 0 |
19 | 14ms | 1048kb | Incorect | 0 |
20 | 22ms | 1179kb | Incorect | 0 |
Punctaj total | 0 |