Borderou de evaluare (job #3271730)
Utilizator | Data | 27 ianuarie 2025 09:28:58 | |
---|---|---|---|
Problema | Catun | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dijkstra()':
main.cpp:22:71: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
22 | if (d[nod] + cost < d[vecin] || d[nod] + cost == d[vecin] && t[nod]<t[vecin])
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:55:16: error: 'dis' was not declared in this scope; did you mean 'div'?
55 | if(dis[i]!=1e9)
| ^~~
| div
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !