Borderou de evaluare (job #3320761)
| Utilizator | Data | 7 noiembrie 2025 11:15:56 | |
|---|---|---|---|
| Problema | Trie | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In member function 'void Trie::erase_rec(node*&, std::string_view, int)':
main.cpp:52:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::basic_string_view<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | if(depth == s.size()) {
| ~~~~~~^~~~~~~~~~~
main.cpp: At global scope:
main.cpp:86:5: error: redefinition of 'int main()'
86 | int main(void) {
| ^~~~
main.cpp:76:5: note: 'int main()' previously defined here
76 | int main(void) {
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
