Borderou de evaluare (job #2377106)
Utilizator | Data | 8 martie 2019 21:49:06 | |
---|---|---|---|
Problema | Ciclu hamiltonian de cost minim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:13:18: warning: suggest parentheses around '+' inside '<<' [-Wparentheses]
int dp[1 << MAXN + 5][MAXN + 5], costs[MAXN + 5][MAXN + 5], n, m, power;
~~~~~^~~
main.cpp:14:1: error: 'vector' does not name a type
vector<int> edges[MAXN + 5];
^~~~~~
main.cpp: In function 'void read()':
main.cpp:32:9: error: 'edges' was not declared in this scope
edges[y].pb(x);
^~~~~
main.cpp: In function 'void solve()':
main.cpp:41:32: error: 'edges' was not declared in this scope
for (auto &it: edges[j])
^~~~~
main.cpp: In function 'void print()':
main.cpp:49:20: error: 'edges' was not declared in this scope
for (auto &it: edges[0])
^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !