Borderou de evaluare (job #2820509)

Utilizator andreic06Andrei Calota andreic06 Data 20 decembrie 2021 16:07:24
Problema Trie Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:56:16: error: expected identifier before string constant 56 | ifstream fin ( "trie.in" ); | ^~~~~~~~~ main.cpp:56:16: error: expected ',' or '...' before string constant main.cpp:57:17: error: expected identifier before string constant 57 | ofstream fout ( "trie.out" ); | ^~~~~~~~~~ main.cpp:57:17: error: expected ',' or '...' before string constant main.cpp:62:1: error: expected '}' at end of input 62 | } | ^ main.cpp:10:13: note: to match this '{' 10 | struct trie { | ^ main.cpp: In member function 'void trie::add_string(std::string)': main.cpp:28:42: error: a function-definition is not allowed here before '{' token 28 | void delete_string ( string elem ) { | ^ main.cpp:39:39: error: a function-definition is not allowed here before '{' token 39 | int count_app ( string target ) { | ^ main.cpp:54:1: error: expected initializer before '}' token 54 | }; | ^ main.cpp: At global scope: main.cpp:62:1: error: expected unqualified-id at end of input 62 | } | ^ Non zero exit status: 1

Ceva nu functioneaza?