Borderou de evaluare (job #1704979)
Utilizator | Data | 19 mai 2016 18:42:12 | |
---|---|---|---|
Problema | Aho-Corasick | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp:42:13: error: variable ‘std::ifstream cin’ has initializer but incomplete type
ifstream cin("ahocorasick.in");
^
user.cpp:43:14: error: variable ‘std::ofstream cout’ has initializer but incomplete type
ofstream cout("ahocorasick.out");
^
user.cpp:45:1: error: ‘trie’ does not name a type
trie{
^
user.cpp:56:9: error: ‘ptrie’ does not name a type
typedef ptrie *trie;
^
user.cpp:58:1: error: ‘ptrie’ does not name a type
ptrie r, q[NMAX];
^
user.cpp:61:13: error: variable or field ‘insert’ declared void
void insert(ptrie t, int i)
^
user.cpp:61:13: error: ‘ptrie’ was not declared in this scope
user.cpp:61:22: error: expected primary-expression before ‘int’
void insert(ptrie t, int i)
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !