Borderou de evaluare (job #1974497)
Utilizator | Data | 27 aprilie 2017 20:51:00 | |
---|---|---|---|
Problema | Generare de permutari | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In constructor ‘Perm::Perm(int)’:
user.cpp:91:5: warning: ‘Perm::n’ will be initialized after [-Wreorder]
int n, level;
^
user.cpp:90:13: warning: ‘std::vector<int> Perm::stack’ [-Wreorder]
vector<int> stack;
^
user.cpp:13:8: warning: when initialized here [-Wreorder]
Perm(int N): n(N), stack(n+1){};
^
user.cpp: In function ‘int main()’:
user.cpp:97:10: error: ‘n’ was not declared in this scope
fin>>n;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !