Borderou de evaluare (job #2391678)

Utilizator PetyAlexandru Peticaru Pety Data 29 martie 2019 09:16:37
Problema Aho-Corasick Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:3:1: error: 'ifstream' does not name a type ifstream fin ("ahocorasick.in"); ^~~~~~~~ main.cpp:4:1: error: 'ofstream' does not name a type ofstream fout ("ahocorasick.out"); ^~~~~~~~ main.cpp: In function 'nod* baga(std::__cxx11::string)': main.cpp:27:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < s.size(); i++) { ~~^~~~~~~~~~ main.cpp:32:10: error: 'struct nod' has no member named 's1' t -> s1 = ch; ^~ main.cpp: In function 'int main()': main.cpp:50:3: error: 'fin' was not declared in this scope fin >> a >> n; ^~~ main.cpp:76:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for(int i = 0; i < a.size(); i++){ ~~^~~~~~~~~~ main.cpp:88:5: error: 'fout' was not declared in this scope fout << poz[i] -> nr << "\n"; ^~~~ Non zero exit status: 1

Ceva nu functioneaza?