Borderou de evaluare (job #2920031)
Utilizator | Data | 21 august 2022 17:11:33 | |
---|---|---|---|
Problema | Dictree | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:13:5: error: ISO C++ forbids declaration of 'trie' with no type [-fpermissive]
13 | trie()
| ^~~~
main.cpp: In member function 'int node::trie()':
main.cpp:16:5: warning: no return statement in function returning non-void [-Wreturn-type]
16 | }
| ^
main.cpp: In member function 'void Trie::insert(std::string)':
main.cpp:46:25: warning: array subscript has type 'char' [-Wchar-subscripts]
46 | if (!p -> f[ch])
| ^~
main.cpp:50:24: warning: array subscript has type 'char' [-Wchar-subscripts]
50 | p -> f[ch] = q;
| ^~
main.cpp:53:24: warning: array subscript has type 'char' [-Wchar-subscripts]
53 | p = p -> f[ch];
| ^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !