Borderou de evaluare (job #2664430)
Utilizator | Data | 28 octombrie 2020 17:04:27 | |
---|---|---|---|
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:50:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (poz == str.size())
~~~~^~~~~~~~~~~~~
main.cpp: In function 'bool Erase(Trie*, std::__cxx11::string&, int)':
main.cpp:64:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (poz == str.size())
~~~~^~~~~~~~~~~~~
main.cpp: In function 'void Query(Trie*, std::__cxx11::string&, int)':
main.cpp:86:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (poz == str.size())
~~~~^~~~~~~~~~~~~
main.cpp:97:12: error: return-statement with a value, in function returning 'void' [-fpermissive]
return false;
^~~~~
main.cpp: In function 'void Prefix(Trie*, std::__cxx11::string&, int)':
main.cpp:101: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 !