Borderou de evaluare (job #2879291)

Utilizator xXoctavianXxStanescu Matei Octavian xXoctavianXx Data 28 martie 2022 13:18:14
Problema Sabin Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'void update(trieStr*, long long int)': main.cpp:27:9: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare] 27 | if(i==str.size()) return; | ~^~~~~~~~~~~~ main.cpp:28:21: warning: array subscript has type 'char' [-Wchar-subscripts] 28 | if(t->fii[str[i]] == NULL) | ^ main.cpp:30:22: warning: array subscript has type 'char' [-Wchar-subscripts] 30 | t->fii[str[i]]=new trieStr; | ^ main.cpp:32:18: warning: array subscript has type 'char' [-Wchar-subscripts] 32 | t->fii[str[i]]->wcnt++; | ^ main.cpp:33:25: warning: array subscript has type 'char' [-Wchar-subscripts] 33 | update(t->fii[str[i]], i+1); | ^ main.cpp: In function 'long long int query(trieStr*, long long int)': main.cpp:43:24: warning: array subscript has type 'char' [-Wchar-subscripts] 43 | t=t->fii[str[i]]; | ^ main.cpp:46:1: warning: control reaches end of non-void function [-Wreturn-type] 46 | } | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
135ms9584kbIncorect0
219ms2928kbIncorect0
314ms5369kbIncorect0
4210ms60108kbIncorect0
5363ms116879kbIncorect0
61300ms241938kbIncorect0
7743ms262160kbMemory limit exceeded0
8835ms262164kbMemory limit exceeded0
9833ms262164kbMemory limit exceeded0
10818ms262148kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?