Borderou de evaluare (job #1400410)

Utilizator robx12lnLinca Robert robx12ln Data 25 martie 2015 11:48:27
Problema ABC Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:8:10: error: ‘n’ was not declared in this scope fin>>n>>b>>c; ^ user.cpp:8:13: error: ‘b’ was not declared in this scope fin>>n>>b>>c; ^ user.cpp:8:16: error: ‘c’ was not declared in this scope fin>>n>>b>>c; ^ user.cpp:9:5: error: ‘sum’ was not declared in this scope sum=0; ^ user.cpp:10:9: error: ‘i’ was not declared in this scope for(i=1;i<=n;i++){ ^ user.cpp:11:14: error: ‘a’ was not declared in this scope fin>>a[i]; ^ user.cpp:13:12: error: ‘maxim’ was not declared in this scope if(maxim<a[i]){ ^ user.cpp:23:13: error: ‘i’ was not declared in this scope for(i=1;i<=n;i++){ ^ user.cpp:24:19: error: ‘a’ was not declared in this scope fout<<a[i]<<" "; ^ user.cpp:29:13: error: ‘i’ was not declared in this scope for(i=n-1;i>=1 && c>0;i--){ ^ user.cpp:39:17: error: ‘i’ was not declared in this scope for(i=1;i<=n;i++){ ^ user.cpp:40:17: error: ‘v’ was not declared in this scope v[d[i].second]=d[i].first; ^ user.cpp:42:17: error: ‘i’ was not declared in this scope for(i=1;i<=n;i++){ ^ user.cpp:43:23: error: ‘v’ was not declared in this scope fout<<v[i]<<" "; ^ user.cpp:46:13: error: ‘val’ was not declared in this scope val=0; ^ user.cpp:49:17: error: ‘i’ was not declared in this scope for(i=n;i>=n-c+1;i--){ ^ user.cpp:52:18: error: ‘i’ was not declared in this scope

Ceva nu functioneaza?