Pagini recente » Borderou de evaluare (job #842716) | Borderou de evaluare (job #2230408) | Borderou de evaluare (job #2685369) | Borderou de evaluare (job #485085) | Borderou de evaluare (job #1846963)
Borderou de evaluare (job #1846963)
Raport evaluator
Compilare:
user.cpp: In constructor ‘Trie::Trie()’:
user.cpp:16: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:29:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(nod->next[ch]) {
^
user.cpp:30:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Trie *jeg=nod->next[ch];
^
user.cpp:36:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nod->next[ch]=new Trie;
^
user.cpp:37:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Trie *jeg=nod->next[ch];
^
user.cpp:44: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:51:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(nod->next[ch]) {
^
user.cpp:52:25: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Trie *jeg=nod->next[ch];
^
user.cpp:57: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 | 428kb | OK | 10 |
2 | 0ms | 484kb | OK | 10 |
3 | 0ms | 552kb | OK | 10 |
4 | 0ms | 960kb | OK | 10 |
5 | 4ms | 1608kb | OK | 10 |
6 | 4ms | 1712kb | OK | 10 |
7 | 16ms | 5196kb | OK | 10 |
8 | 16ms | 5284kb | OK | 10 |
9 | 20ms | 5324kb | OK | 10 |
10 | 16ms | 5120kb | OK | 10 |
Punctaj total | 100 |