Borderou de evaluare (job #2640846)
| Utilizator | Data | 8 august 2020 16:47:05 | |
|---|---|---|---|
| Problema | Algoritmul lui Dijkstra | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dijkstra(int)':
main.cpp:28:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<mu[x.second].size();i++)
~^~~~~~~~~~~~~~~~~~~~
main.cpp:28:13: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=0;i<mu[x.second].size();i++)
^~~
main.cpp:34:17: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
q.pop();
^
main.cpp: In function 'int main()':
main.cpp:47:17: error: 'INT_MAX' was not declared in this scope
dist[i]=INT_MAX;
^~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
