Borderou de evaluare (job #3354277)
| Utilizator | Data | 17 mai 2026 11:56:03 | |
|---|---|---|---|
| Problema | Aho-Corasick | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:15:1: error: 'unordered_map' does not name a type
15 | unordered_map<int, string> indexToWord;
| ^~~~~~~~~~~~~
main.cpp: In constructor 'TrieNode::TrieNode()':
main.cpp:40:9: warning: 'TrieNode::count' will be initialized after [-Wreorder]
40 | int count;
| ^~~~~
main.cpp:20:15: warning: 'TrieNode* TrieNode::children [26]' [-Wreorder]
20 | TrieNode* children[ALPHABET_SIZE];
| ^~~~~~~~
main.cpp:18:5: warning: when initialized here [-Wreorder]
18 | TrieNode() : count(0), children{}, failure(nullptr), output(nullptr) {}
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:164:9: error: 'indexToWord' was not declared in this scope
164 | indexToWord.insert({i, string(word)});
| ^~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
