Borderou de evaluare (job #1974597)

Utilizator thinkphpAdrian Statescu thinkphp Data 28 aprilie 2017 07:09:04
Problema Generare de permutari Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In constructor ‘Permut::Permut(int)’: user.cpp:78:8: warning: ‘Permut::N’ will be initialized after [-Wreorder] int N, level; ^ user.cpp:77:13: warning: ‘std::vector<int> Permut::Stack’ [-Wreorder] vector<int> Stack; ^ user.cpp:12:8: warning: when initialized here [-Wreorder] Permut(int n): N(n), Stack(n+1){} ^ user.cpp: In member function ‘void Permut::print()’: user.cpp:16:34: error: ‘out’ was not declared in this scope for(int i = 1; i <= N; ++i) out<<Stack[ i ]<<" "; ^ user.cpp:18:6: error: ‘out’ was not declared in this scope out<<endl; ^

Ceva nu functioneaza?