Borderou de evaluare (job #1606506)

Utilizator Jurj_Alex12Jurj Alexandru Jurj_Alex12 Data 20 februarie 2016 12:23:55
Problema Roata Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6:21: error: expected initializer before ‘n’ long long v[100001] n,p,i,j,c,s; ^ user.cpp: In function ‘int main()’: user.cpp:9:10: error: ‘n’ was not declared in this scope fin>>n>>p; ^ user.cpp:9:13: error: ‘p’ was not declared in this scope fin>>n>>p; ^ user.cpp:10:5: error: ‘s’ was not declared in this scope s=0; ^ user.cpp:11:9: error: ‘i’ was not declared in this scope for(i=1;i<=p;i++) ^ user.cpp:13:13: error: ‘v’ was not declared in this scope v[i]=c; ^ user.cpp:13:18: error: ‘c’ was not declared in this scope v[i]=c; ^

Ceva nu functioneaza?