Borderou de evaluare (job #2720145)

Utilizator doru.nituNitu Doru Constantin doru.nitu Data 10 martie 2021 17:09:53
Problema Numere 7 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp: In function 'void np()': main.cpp:17:5: error: 'vector' was not declared in this scope vector<int> a; ^~~~~~ main.cpp:17:12: error: expected primary-expression before 'int' vector<int> a; ^~~ main.cpp:20:13: error: 'a' was not declared in this scope a.push_back(i); ^ main.cpp:27:30: error: 'a' was not declared in this scope for(int i =0; i<a.size(); ++i) ^ main.cpp:33:29: error: 'a' was not declared in this scope }while(next_permutation(a.begin(), a.end())); ^ Non zero exit status: 1

Ceva nu functioneaza?