Pagini recente » Borderou de evaluare (job #1942771) | Borderou de evaluare (job #2782338) | Borderou de evaluare (job #1282647) | Borderou de evaluare (job #3200286) | Borderou de evaluare (job #2339771)
Borderou de evaluare (job #2339771)
Raport evaluator
Compilare:
main.cpp: In function 'void add_word(nod_trie*, char*)':
main.cpp:31:22: warning: array subscript has type 'char' [-Wchar-subscripts]
if(nod->fii[delta]==0)
^
main.cpp:33:23: warning: array subscript has type 'char' [-Wchar-subscripts]
nod->fii[delta]=new nod_trie();
^
main.cpp:36:28: warning: array subscript has type 'char' [-Wchar-subscripts]
add_word(nod->fii[delta],cuv+1);
^
main.cpp: In function 'int search_word(nod_trie*, char*)':
main.cpp:46:22: warning: array subscript has type 'char' [-Wchar-subscripts]
if(nod->fii[delta]==0)
^
main.cpp:50:31: warning: array subscript has type 'char' [-Wchar-subscripts]
search_word(nod->fii[delta],cuv+1);
^
main.cpp: In function 'bool delete_word(nod_trie*, char*)':
main.cpp:66:34: warning: array subscript has type 'char' [-Wchar-subscripts]
if(delete_word(nod->fii[delta],cuv+1)==1)
^
main.cpp:69:23: warning: array subscript has type 'char' [-Wchar-subscripts]
nod->fii[delta]=0;
^
main.cpp: In function 'int prefix_length(nod_trie*, char*)':
main.cpp:82:33: warning: array subscript has type 'char' [-Wchar-subscripts]
if(*cuv==0 || nod->fii[delta]==0)
^
main.cpp:85:46: warning: array subscript has type 'char' [-Wchar-subscripts]
return 1+prefix_length(nod->fii[delta],cuv+1);
^
main.cpp: In function 'int search_word(nod_trie*, char*)':
main.cpp:51:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | Incorect | 0 | 0 |
2 | 2ms | 131kb | Incorect | 0 | 0 |
3 | 3ms | 131kb | Incorect | 0 | 0 |
4 | 3ms | 131kb | Incorect | 0 | 0 |
5 | 3ms | 131kb | Incorect | 0 | 0 |
6 | 4ms | 131kb | Incorect | 0 | 0 |
7 | 5ms | 131kb | Incorect | 0 | 0 |
8 | 7ms | 131kb | Incorect | 0 | 0 |
9 | 9ms | 131kb | Incorect | 0 | 0 |
10 | 12ms | 131kb | Incorect | 0 | 0 |
11 | 17ms | 262kb | Incorect | 0 | 0 |
12 | 22ms | 262kb | Incorect | 0 | 0 |
13 | 27ms | 262kb | Incorect | 0 | 0 |
14 | 32ms | 262kb | Incorect | 0 | 0 |
15 | 38ms | 262kb | Incorect | 0 | 0 |
16 | 42ms | 262kb | Incorect | 0 |
17 | 46ms | 393kb | Incorect | 0 | 0 |
18 | 47ms | 393kb | Incorect | 0 |
19 | 48ms | 393kb | Incorect | 0 | 0 |
20 | 47ms | 393kb | Incorect | 0 |
Punctaj total | 0 |