Borderou de evaluare (job #2664404)
Utilizator | tudor P ptudor | Data | 28 octombrie 2020 16:32:17 |
---|---|---|---|
Problema | Trie | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void Add(Trie*, std::__cxx11::string&, int)':
main.cpp:49:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (poz == str.size())
~~~~^~~~~~~~~~~~~
main.cpp: In function 'void Erase(Trie*, std::__cxx11::string&, int, Trie*)':
main.cpp:63:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (poz == str.size())
~~~~^~~~~~~~~~~~~
main.cpp:66:62: error: 'trie' was not declared in this scope
if (nod -> nrFii == 0 && nod -> nrCuv == 0 && nod != trie) {
^~~~
main.cpp: In function 'void Query(Trie*, std::__cxx11::string&, int)':
main.cpp:78:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (poz == str.size())
~~~~^~~~~~~~~~~~~
main.cpp: In function 'void Prefix(Trie*, std::__cxx11::string&, int)':
main.cpp:92:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (poz == str.size())
~~~~^~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !