Borderou de evaluare (job #1309030)

Utilizator robx12lnLinca Robert robx12ln Data 5 ianuarie 2015 08:45:11
Problema Stergeri Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6:1: error: expected initializer before ‘int’ int rec(int L){ ^ user.cpp: In function ‘int main()’: user.cpp:10:10: error: ‘n’ was not declared in this scope fin>>n>>k; ^ user.cpp:10:13: error: ‘k’ was not declared in this scope fin>>n>>k; ^ user.cpp:11:9: error: ‘i’ was not declared in this scope for(i=1;i<=n;i++){ ^ user.cpp:12:14: error: ‘v’ was not declared in this scope fin>>v[i]; ^ user.cpp:14:13: error: ‘nr’ was not declared in this scope nr++; ^ user.cpp:17:5: error: ‘L’ was not declared in this scope L=2; ^ user.cpp:18:9: error: ‘i’ was not declared in this scope for(i=1;i<=n-L+1;i++){ ^ user.cpp:19:9: error: ‘x’ was not declared in this scope x=0; ^ user.cpp:20:9: error: ‘c’ was not declared in this scope c[++x]=i; ^ user.cpp:21:13: error: ‘j’ was not declared in this scope for(j=i+1;j<=n;j++){ ^

Ceva nu functioneaza?