Borderou de evaluare (job #2664374)

Utilizator Stefan_PiscuPiscu Stefan Constantin Stefan_Piscu Data 28 octombrie 2020 16:00:16
Problema Trie Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 5

Raport evaluator

Compilare: main.cpp: In member function 'void trienod::add(int)': main.cpp:18:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(depth+1==s.size()){ ~~~~~~~^~~~~~~~~~ main.cpp:23:9: warning: array subscript has type 'char' [-Wchar-subscripts] if(v[x]==nullptr) v[x]=new trienod(); ^ main.cpp:23:24: warning: array subscript has type 'char' [-Wchar-subscripts] if(v[x]==nullptr) v[x]=new trienod(); ^ main.cpp:24:6: warning: array subscript has type 'char' [-Wchar-subscripts] v[x]->add(depth+1); ^ main.cpp: In member function 'bool trienod::del(int)': main.cpp:28:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(depth+1==s.size()) return !cnt; ~~~~~~~^~~~~~~~~~ main.cpp:30:9: warning: array subscript has type 'char' [-Wchar-subscripts] if(v[x]->del(depth+1)){ ^ main.cpp:31:14: warning: array subscript has type 'char' [-Wchar-subscripts] delete v[x]; ^ main.cpp:32:7: warning: array subscript has type 'char' [-Wchar-subscripts] v[x]=nullptr; ^ main.cpp: In member function 'int trienod::srcf(int)': main.cpp:37:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(depth+1==s.size()) return ne; ~~~~~~~^~~~~~~~~~ main.cpp:39:9: warning: array subscript has type 'char' [-Wchar-subscripts] if(v[x]==nullptr) return 0; ^ main.cpp:40:13: warning: array subscript has type 'char' [-Wchar-subscripts] return v[x]->srcf(depth+1); ^ main.cpp: In member function 'int trienod::srcp(int)': main.cpp:43:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(depth+1==s.size()) return depth; ~~~~~~~^~~~~~~~~~ main.cpp:45:9: warning: array subscript has type 'char' [-Wchar-subscripts] if(v[x]==nullptr) return depth; ^ main.cpp:46:13: warning: array subscript has type 'char' [-Wchar-subscripts] return v[x]->srcp(depth+1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK55
23ms131kbIncorect00
33ms131kbIncorect00
43ms131kbIncorect00
54ms131kbIncorect00
64ms131kbIncorect00
77ms262kbIncorect00
88ms131kbIncorect00
914ms524kbIncorect00
1020ms1441kbIncorect00
1123ms262kbIncorect00
1243ms2752kbIncorect00
1349ms2359kbIncorect00
1444ms655kbIncorect00
1556ms655kbIncorect00
16118ms19005kbIncorect0
1775ms262kbIncorect00
18120ms13893kbIncorect0
1965ms262kbIncorect00
20148ms25427kbIncorect0
Punctaj total5

Ceva nu functioneaza?