Borderou de evaluare (job #1075107)

Utilizator rotarraresRotar Rares rotarrares Data 8 ianuarie 2014 17:08:48
Problema Generare de permutari Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:8:1: error: expected ‘,’ or ‘;’ before ‘int’ int i,n,a[8];bool e[8]; ^ user.cpp: In function ‘int afisaza()’: user.cpp:13:17: error: ‘n’ was not declared in this scope for(i=1; i<=n; i++) ^ user.cpp:15:14: error: ‘a’ was not declared in this scope g << a[i] << " "; ^ user.cpp: In function ‘void back(int)’: user.cpp:23:11: error: ‘n’ was not declared in this scope if(i==n+1) ^ user.cpp:34:13: error: ‘a’ was not declared in this scope a[i]=j; ^ user.cpp: In function ‘int main()’: user.cpp:46:10: error: ‘n’ was not declared in this scope f >> n; ^

Ceva nu functioneaza?