Pagini recente » Borderou de evaluare (job #2347885) | Borderou de evaluare (job #832123) | Borderou de evaluare (job #758734) | Borderou de evaluare (job #2551409) | Borderou de evaluare (job #1846954)
Borderou de evaluare (job #1846954)
Raport evaluator
Compilare:
user.cpp: In constructor ‘Trie::Trie()’:
user.cpp:35:32: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(char i=0;i<26;++i) next[i]=0;
^
user.cpp: In function ‘void insertTrie1(Trie*, int)’:
user.cpp:48:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(nod->next[ch]) {
^
user.cpp:49:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Trie *jeg=nod->next[ch];
^
user.cpp:55:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nod->next[ch]=new Trie;
^
user.cpp:56:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Trie *jeg=nod->next[ch];
^
user.cpp:63:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
insertTrie1(nod->next[ch],pos+1);
^
user.cpp: In function ‘void insertTrie2(Trie*, int)’:
user.cpp:70:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(nod->next[ch]) {
^
user.cpp:71:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Trie *jeg=nod->next[ch];
^
user.cpp:76:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
insertTrie2(nod->next[ch],pos+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK | 10 |
2 | 0ms | 500kb | OK | 10 |
3 | 0ms | 560kb | OK | 10 |
4 | 0ms | 976kb | OK | 10 |
5 | 4ms | 1632kb | OK | 10 |
6 | 4ms | 1732kb | OK | 10 |
7 | 16ms | 5216kb | OK | 10 |
8 | 16ms | 5296kb | OK | 10 |
9 | 20ms | 5336kb | OK | 10 |
10 | 16ms | 5136kb | OK | 10 |
Punctaj total | 100 |