Borderou de evaluare (job #2664383)

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

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()){ ~~~~~~~^~~~~~~~~~ main.cpp:33:9: warning: array subscript has type 'char' [-Wchar-subscripts] if(v[x]->del(depth+1)){ ^ main.cpp:34:14: warning: array subscript has type 'char' [-Wchar-subscripts] delete v[x]; ^ main.cpp:35:7: warning: array subscript has type 'char' [-Wchar-subscripts] v[x]=nullptr; ^ main.cpp: In member function 'int trienod::srcf(int)': main.cpp:40:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(depth+1==s.size()) return ne; ~~~~~~~^~~~~~~~~~ main.cpp:42:9: warning: array subscript has type 'char' [-Wchar-subscripts] if(v[x]==nullptr) return 0; ^ main.cpp:43: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:46:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(depth+1==s.size()) return depth; ~~~~~~~^~~~~~~~~~ main.cpp:48:9: warning: array subscript has type 'char' [-Wchar-subscripts] if(v[x]==nullptr) return depth; ^ main.cpp:49: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
13ms131kbOK55
23ms131kbOK55
33ms131kbOK55
43ms131kbOK55
54ms131kbOK55
65ms131kbOK55
77ms262kbOK55
88ms262kbOK55
914ms524kbOK55
1020ms1441kbOK55
1123ms262kbOK55
1243ms2752kbOK55
1348ms2359kbOK55
1446ms786kbOK55
1544ms655kbOK510
16134ms19005kbOK5
1774ms262kbOK510
18127ms13893kbOK5
1965ms262kbOK510
20147ms25559kbOK5
Punctaj total100

Ceva nu functioneaza?