Borderou de evaluare (job #2635816)
Utilizator | Data | 15 iulie 2020 16:36:20 | |
---|---|---|---|
Problema | Cuplaj maxim in graf bipartit | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool bfs(edges, int, int, std::vector<int>&)':
main.cpp:35:12: error: expected unqualified-id before '[' token
for(auto [v,capacity]:graph[u])
^
main.cpp:35:12: error: expected ';' before '[' token
main.cpp:35:13: error: 'v' was not declared in this scope
for(auto [v,capacity]:graph[u])
^
main.cpp:35:15: error: 'capacity' was not declared in this scope
for(auto [v,capacity]:graph[u])
^~~~~~~~
main.cpp: In lambda function:
main.cpp:35:24: error: expected '{' before ':' token
for(auto [v,capacity]:graph[u])
^
main.cpp: In function 'bool bfs(edges, int, int, std::vector<int>&)':
main.cpp:35:24: error: expected ';' before ':' token
main.cpp:35:24: error: expected primary-expression before ':' token
main.cpp:35:24: error: expected ')' before ':' token
main.cpp:35:24: error: expected primary-expression before ':' token
main.cpp:32:7: warning: unused variable 'u' [-Wunused-variable]
int u = q.front();
^
main.cpp: In function 'void maximumMatching(edges, int, int, int)':
main.cpp:48:13: error: expected unqualified-id before '[' token
for (auto [v,capacity] : graph[u]) {
^
main.cpp:48:13: error: expected ';' before '[' token
main.cpp:48:14: error: 'v' was not declared in this scope
for (auto [v,capacity] : graph[u]) {
^
main.cpp:48:16: error: 'capacity' was not declared in this scope
for (auto [v,capacity] : graph[u]) {
^~~~~~~~
main.cpp: In lambda function:
main.cpp:48:26: error: expected '{' before ':' token
for (auto [v,capacity] : graph[u]) {
^
main.cpp: In function 'void maximumMatching(edges, int, int, int)':
main.cpp:48:26: error: expected ';' before ':' token
main.cpp:48:26: error: expected primary-expression before ':' token
main.cpp:48:26: error: expected ')' before ':' token
main.cpp:48:26: error: expected primary-expression before ':' token
main.cpp:77:13: error: expected unqualified-id before '[' token
for (auto [v, capacity] : graph[u])
^
main.cpp:77:13: error: expected ';' before '[' token
main.cpp:77:14: error: 'v' was not declared in this scope
for (auto [v, capacity] : graph[u])
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !