Borderou de evaluare (job #2567315)
Utilizator | Data | 3 martie 2020 16:36:14 | |
---|---|---|---|
Problema | Dragon Ball Z | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void Dijkstra(int)':
main.cpp:4:13: error: lvalue required as left operand of assignment
#define INF 1e9
^
main.cpp:19:43: note: in expansion of macro 'INF'
dp[i] = INF = Min1[i] = Min2[i] = INF, vis[i] = 0;
^~~
main.cpp:33:32: error: no match for 'operator[]' (operand types are 'int [1505]' and 'std::pair<int, int>')
if (dist2 < dp[it]) {
^
main.cpp:34:32: error: no match for 'operator[]' (operand types are 'int [1505]' and 'std::pair<int, int>')
dist2 = dp[it];
^
main.cpp:31:22: warning: unused variable 'node2' [-Wunused-variable]
int node2 = it.first;
^~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !