Borderou de evaluare (job #1975015)
Utilizator | Data | 29 aprilie 2017 18:08:38 | |
---|---|---|---|
Problema | Catun | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In member function ‘void graf::dijktra()’:
user.cpp:76:21: error: ‘INT_MAX’ was not declared in this scope
dist.assign(n + 1, INT_MAX / 2);
^
user.cpp:78:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < fort.size(); i++) tata[fort[i]] = 0;
^
user.cpp:88:7: warning: unused variable ‘ok’ [-Wunused-variable]
int ok = 0, x;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !