Borderou de evaluare (job #2287689)
Utilizator | Data | 22 noiembrie 2018 12:33:43 | |
---|---|---|---|
Problema | Flux maxim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:1:1: error: 'include' does not name a type
include <bits/stdc++.h>
^~~~~~~
main.cpp:4:1: error: 'ifstream' does not name a type
ifstream fi("maxflow.in");
^~~~~~~~
main.cpp:5:1: error: 'ofstream' does not name a type
ofstream fo("maxflow.out");
^~~~~~~~
main.cpp:12:1: error: 'vector' does not name a type
vector <int> G[NMAX];
^~~~~~
main.cpp:14:1: error: 'queue' does not name a type
queue <int> Q;
^~~~~
main.cpp: In function 'int bfs()':
main.cpp:19:31: error: 'memset' was not declared in this scope
memset(viz, 0, sizeof(viz));
^
main.cpp:22:13: error: 'Q' was not declared in this scope
while (!Q.empty())
^
main.cpp:25:5: error: 'Q' was not declared in this scope
Q.push(1);
^
main.cpp:36:22: error: 'G' was not declared in this scope
for (auto v: G[curr])
^
main.cpp: In function 'int main()':
main.cpp:51:5: error: 'fi' was not declared in this scope
fi >> n >> m;
^~
main.cpp:56:9: error: 'G' was not declared in this scope
G[u].pb(v);
^
main.cpp:65:22: error: 'G' was not declared in this scope
for (auto v: G[n])
^
main.cpp:75:67: error: 'min' was not declared in this scope
minim = min(minim, C[p[nod]][nod] - F[p[nod]][nod]);
^
main.cpp:85:5: error: 'fo' was not declared in this scope
fo << flow;
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !