Borderou de evaluare (job #2201932)

Utilizator Mihai_PredaPreda Mihai Dragos Mihai_Preda Data 6 mai 2018 16:51:33
Problema Razbunare Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:17:5: error: ‘vector’ does not name a type vector<int> dpDr; ^~~~~~ user.cpp:31:36: error: ‘vector’ has not been declared void Divide(int st, int dr, int n, vector<muchie> &muchii, vector<vector<Query*> > &querySt, vector<vector<Query*> > &queryDr) ^~~~~~ user.cpp:31:42: error: expected ‘,’ or ‘...’ before ‘<’ token void Divide(int st, int dr, int n, vector<muchie> &muchii, vector<vector<Query*> > &querySt, vector<vector<Query*> > &queryDr) ^ user.cpp: In function ‘void Divide(int, int, int, int)’: user.cpp:35:15: error: ‘queryDr’ was not declared in this scope while(queryDr[dr].empty() == false) ^~~~~~~ user.cpp:39:25: error: ‘muchii’ was not declared in this scope muchie &m = muchii[q.a]; ^~~~~~ user.cpp:48:15: error: ‘querySt’ was not declared in this scope while(querySt[st].empty() == false) ^~~~~~~ user.cpp:54:5: error: ‘vector’ was not declared in this scope vector<vector<vector<int> > > dp(2, vector<vector<int> >(n+1, vector<int>(n+1))); ^~~~~~ user.cpp:54:26: error: expected primary-expression before ‘int’ vector<vector<vector<int> > > dp(2, vector<vector<int> >(n+1, vector<int>(n+1))); ^~~ user.cpp:58:13: error: ‘dp’ was not declared in this scope dp[current][i][j] = i == j ? 0 : INF; ^~ user.cpp:64:17: error: ‘dp’ was not declared in this scope dp[current][i][j] = dp[last][i][j]; ^~ user.cpp:65:17: error: ‘muchii’ was not declared in this scope int x = muchii[i].x, y = muchii[i].y, c = muchii[i].c; ^~~~~~ user.cpp:68:16: error: ‘dp’ was not declared in this scope if(dp[last][j][x] != INF) ^~ user.cpp:69:32: error: ‘y’ was not declared in this scope dp[current][j][y] = min(dp[current][j][y], dp[last][j][x] + c); ^ user.cpp:69:77: error: ‘c’ was not declared in this scope dp[current][j][y] = min(dp[current][j][y], dp[last][j][x] + c); ^ user.cpp:70:16: error: ‘dp’ was not declared in this scope if(dp[last][j][y] != INF) ^~ user.cpp:70:28: error: ‘y’ was not declared in this scope if(dp[last][j][y] != INF) ^ user.cpp:71:77: error: ‘c’ was not declared in this scope

Ceva nu functioneaza?