Borderou de evaluare (job #2709052)
Utilizator | Data | 19 februarie 2021 18:05:37 | |
---|---|---|---|
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:12:1: error: 'vector' does not name a type
vector<int> g[N], isCoupled;
^~~~~~
main.cpp:13:1: error: 'vector' does not name a type
vector<bool> vis;
^~~~~~
main.cpp: In function 'bool match(int)':
main.cpp:17:8: error: 'vis' was not declared in this scope
if(vis[node])
^~~
main.cpp:19:5: error: 'vis' was not declared in this scope
vis[node] = true;
^~~
main.cpp:21:19: error: 'g' was not declared in this scope
for(int vec : g[node])
^
main.cpp:23:12: error: 'isCoupled' was not declared in this scope
if(isCoupled[vec] == -1)
^~~~~~~~~
main.cpp:31:19: error: 'g' was not declared in this scope
for(int vec : g[node])
^
main.cpp:33:18: error: 'isCoupled' was not declared in this scope
if(match(isCoupled[vec]))
^~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:48:5: error: 'isCoupled' was not declared in this scope
isCoupled.assign(n + m + 1, -1);
^~~~~~~~~
main.cpp:53:9: error: 'g' was not declared in this scope
g[x].push_back(y+n);
^
main.cpp:59:9: error: 'vis' was not declared in this scope
vis.assign(n + m + 1, false);
^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !