Borderou de evaluare (job #1347690)

Utilizator CiurezAndreiCiurez Marius-Andrei CiurezAndrei Data 19 februarie 2015 09:18:45
Problema Ratina Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In constructor ‘trie::trie()’: user.cpp:16:7: error: ‘i’ was not declared in this scope for(i = 1; i <= n; i ++){ ^ user.cpp:16:19: error: ‘n’ was not declared in this scope for(i = 1; i <= n; i ++){ ^ user.cpp: At global scope: user.cpp:20:4: error: two or more data types in declaration of ‘r’ } *r = new trie(); ^ user.cpp: In function ‘int main()’: user.cpp:24:9: error: ‘n’ was not declared in this scope fin >> n >> m; ^ user.cpp:24:14: error: ‘m’ was not declared in this scope fin >> n >> m; ^ user.cpp:25:6: error: ‘i’ was not declared in this scope for(i = 1; i <= n; i ++) ^ user.cpp:27:10: error: ‘S’ was not declared in this scope fin >> S[i]; ^ user.cpp:28:15: error: ‘r’ was not declared in this scope insert_trie(r,S[i]); ^ user.cpp:28:21: error: ‘insert_trie’ was not declared in this scope insert_trie(r,S[i]); ^ user.cpp:30:6: error: ‘i’ was not declared in this scope for(i = 1; i <= m; i ++){ ^ user.cpp:31:10: error: ‘w’ was not declared in this scope fin >> w; ^ user.cpp:32:7: error: ‘j’ was not declared in this scope for(j = 1; j <= w; j ++) ^

Ceva nu functioneaza?