Borderou de evaluare (job #1677342)

Utilizator mihaimbMihai Badea mihaimb Data 6 aprilie 2016 15:14:13
Problema Risc2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void mutare(int)’: user.cpp:10:11: error: ‘v’ was not declared in this scope int k=v[po]; ^ user.cpp:11:20: error: ‘n’ was not declared in this scope for(int i=po;i<n; i++) ^ user.cpp:15:7: error: ‘n’ was not declared in this scope v[n]=k; ^ user.cpp: In function ‘bool verifica()’: user.cpp:21:20: error: ‘poz’ was not declared in this scope for(int i=1; i<poz; i++) ^ user.cpp:23:12: error: ‘v’ was not declared in this scope if(v[i]>v[i+1]) ^ user.cpp:27:29: error: ‘n’ was not declared in this scope for(int j=poz+1; j<=n; j++) ^ user.cpp:29:16: error: ‘v’ was not declared in this scope if(v[i]>v[j]) ^ user.cpp: In function ‘int main()’: user.cpp:67:5: error: expected primary-expression before ‘}’ token } ^ user.cpp:67:5: error: expected ‘;’ before ‘}’ token

Ceva nu functioneaza?