Borderou de evaluare (job #1929140)

Utilizator usureluflorianUsurelu Florian-Robert usureluflorian Data 17 martie 2017 10:03:46
Problema A+B Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void back(int)’: user.cpp:7:20: error: ‘n’ was not declared in this scope for(int i=1;i<=n;++i) ^ user.cpp:9:13: error: ‘viz’ was not declared in this scope if(!viz[i]) ^ user.cpp:12:13: error: ‘t’ was not declared in this scope t[k]=v[i]; ^ user.cpp:12:18: error: ‘v’ was not declared in this scope t[k]=v[i]; ^ user.cpp:15:19: error: ‘sol’ was not declared in this scope ++sol; ^ user.cpp:16:39: error: ‘mat’ was not declared in this scope for(int j=1;j<=n;++j) mat[sol][j]=t[i]; ^ user.cpp:19:13: error: expected ‘;’ before ‘viz’ viz[i]=0; ^ user.cpp: In function ‘int main()’: user.cpp:25:15: error: ‘s’ was not declared in this scope f.getline(s+1,15); ^ user.cpp:26:5: error: ‘n’ was not declared in this scope n=strlen(s+1); ^ user.cpp:26:17: error: ‘strlen’ was not declared in this scope n=strlen(s+1); ^ user.cpp:27:9: error: ‘i’ was not declared in this scope for(i=1;i<=n;++i) ^ user.cpp:29:9: error: ‘v’ was not declared in this scope v[i]=s[i]-'a'; ^ user.cpp:32:8: error: ‘sol’ was not declared in this scope g<<sol; ^

Ceva nu functioneaza?