Borderou de evaluare (job #2063412)

Utilizator BungerNadejde George Bunger Data 11 noiembrie 2017 11:22:46
Problema Sortare prin comparare Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:6:1: error: expected ‘,’ or ‘;’ before ‘int’ int v[1000],s[1000],n; ^ user.cpp: In function ‘void quick(int, int)’: user.cpp:9:25: error: ‘v’ was not declared in this scope int i=st,j=dr,pivot=v[(st+dr)/2]; ^ user.cpp: In function ‘int main()’: user.cpp:29:10: error: ‘n’ was not declared in this scope fin>>n; ^ user.cpp:31:14: error: ‘v’ was not declared in this scope fin>>v[i]; ^ user.cpp:35:19: error: ‘v’ was not declared in this scope fout<<v[i]<<" "; ^

Ceva nu functioneaza?