Borderou de evaluare (job #2370302)
Utilizator | Data | 6 martie 2019 11:33:37 | |
---|---|---|---|
Problema | Flux maxim de cost minim | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:11:7: error: 'maxN' was not declared in this scope
int r[maxN][maxN], cost[maxN][maxN];
^~~~
main.cpp:11:13: error: 'maxN' was not declared in this scope
int r[maxN][maxN], cost[maxN][maxN];
^~~~
main.cpp:11:25: error: 'maxN' was not declared in this scope
int r[maxN][maxN], cost[maxN][maxN];
^~~~
main.cpp:11:31: error: 'maxN' was not declared in this scope
int r[maxN][maxN], cost[maxN][maxN];
^~~~
main.cpp:12:11: error: 'maxN' was not declared in this scope
int old_d[maxN], d[maxN], real_d[maxN];
^~~~
main.cpp:12:20: error: 'maxN' was not declared in this scope
int old_d[maxN], d[maxN], real_d[maxN];
^~~~
main.cpp:12:34: error: 'maxN' was not declared in this scope
int old_d[maxN], d[maxN], real_d[maxN];
^~~~
main.cpp:13:18: error: 'maxN' was not declared in this scope
vector < int > G[maxN];
^~~~
main.cpp: In function 'void AddEdge(int, int, int, int)':
main.cpp:19:5: error: 'r' was not declared in this scope
r[u][v] = cap;
^
main.cpp:20:5: error: 'cost' was not declared in this scope
cost[u][v] = cst;
^~~~
main.cpp: In function 'bool Dijkstra()':
main.cpp:25:12: error: 'd' was not declared in this scope
memset(d, c1, sizeof(d));
^
main.cpp:25:15: error: 'c1' was not declared in this scope
memset(d, c1, sizeof(d));
^~
main.cpp:26:12: error: 'real_d' was not declared in this scope
d[S] = real_d[S] = 0;
^~~~~~
main.cpp:27:5: error: 'H' was not declared in this scope
H.push(pii{d[S], S});
^
main.cpp:27:12: error: 'pii' was not declared in this scope
H.push(pii{d[S], S});
^~~
main.cpp:30:13: error: expected ';' before 'x'
pii x = H.top();
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !