Borderou de evaluare (job #2009377)

Utilizator RaduhhRadu Flocea Raduhh Data 9 august 2017 15:38:45
Problema Cifre 5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6:1: error: ‘ll’ does not name a type ll k,p,v[60],poz,s[60],ZZ,i,tak; ^ user.cpp:7:1: error: ‘ll’ does not name a type ll q[10]={1,5,1,2,2,3,1,2,0,0}; ^ user.cpp:8:1: error: ‘ll’ does not name a type ll f[10]={2,7,2,3,3,4,2,5,1,2}; ^ user.cpp:9:1: error: ‘ll’ does not name a type ll blyad[10]={6,2,5,5,4,5,6,3,7,6}; ^ user.cpp: In function ‘int main()’: user.cpp:16:10: error: ‘k’ was not declared in this scope cin>>k; ^ user.cpp:18:9: error: ‘v’ was not declared in this scope v[poz++]=c-48,tak+=blyad[c-48]; ^ user.cpp:18:11: error: ‘poz’ was not declared in this scope v[poz++]=c-48,tak+=blyad[c-48]; ^ user.cpp:18:23: error: ‘tak’ was not declared in this scope v[poz++]=c-48,tak+=blyad[c-48]; ^ user.cpp:18:28: error: ‘blyad’ was not declared in this scope v[poz++]=c-48,tak+=blyad[c-48]; ^ user.cpp:19:28: error: ‘tak’ was not declared in this scope if (k==1) return cout<<tak,0; ^ user.cpp:20:5: error: ‘ZZ’ was not declared in this scope ZZ=poz-1; poz--; ^ user.cpp:20:8: error: ‘poz’ was not declared in this scope ZZ=poz-1; poz--; ^ user.cpp:21:5: error: ‘s’ was not declared in this scope s[poz+1]=1; ^ user.cpp:23:16: error: ‘f’ was not declared in this scope s[poz]=f[v[poz]]*s[poz+1],poz--; ^ user.cpp:23:18: error: ‘v’ was not declared in this scope s[poz]=f[v[poz]]*s[poz+1],poz--; ^ user.cpp:24:10: error: ‘i’ was not declared in this scope for (i=0; i<=ZZ; i++) ^ user.cpp:25:9: error: ‘p’ was not declared in this scope

Ceva nu functioneaza?