Borderou de evaluare (job #2459143)
Utilizator | Data | 22 septembrie 2019 11:21:12 | |
---|---|---|---|
Problema | Algoritmul Bellman-Ford | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:21:14: error: 'INT_MAX' was not declared in this scope
d[i]=INT_MAX;
^~~~~~~
main.cpp:24:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
viz[1]=nr[1]=1;
~~~~~^~
main.cpp:30:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int j=0;j<g[nod].size();j++)
~^~~~~~~~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !