Borderou de evaluare (job #2449644)

Utilizator AlexandruLuchianov1Alex Luchianov AlexandruLuchianov1 Data 20 august 2019 12:50:22
Problema Danger Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:29:1: error: 'vector' does not name a type vector<int> frec[1 + nmax]; ^~~~~~ main.cpp:30:1: error: 'vector' does not name a type vector<int> sol[1 + nmax]; ^~~~~~ main.cpp: In function 'bool solve(int)': main.cpp:34:5: error: 'frec' was not declared in this scope frec[i].clear(); ^~~~ main.cpp:36:5: error: 'sol' was not declared in this scope sol[i].clear(); ^~~ main.cpp:43:7: error: 'frec' was not declared in this scope frec[v[ptr].color].push_back(v[ptr].value); ^~~~ main.cpp:48:17: error: 'frec' was not declared in this scope if(0 == frec[j].size()) ^~~~ main.cpp:51:11: error: 'sol' was not declared in this scope sol[pointer - i + 1].push_back(frec[j].back()); ^~~ main.cpp:55:9: error: 'sol' was not declared in this scope sol[pointer - i + 1].push_back(v[i].value); ^~~ main.cpp:39:7: warning: unused variable 'pos' [-Wunused-variable] int pos = n * m; ^~~ main.cpp: In function 'int main()': main.cpp:89:14: error: 'sol' was not declared in this scope out << sol[i][j] << " "; ^~~ Non zero exit status: 1

Ceva nu functioneaza?