Borderou de evaluare (job #1975002)
Utilizator | Data | 29 aprilie 2017 17:46:32 | |
---|---|---|---|
Problema | Catun | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void Dijkstra(std::vector<muchie>*, int)’:
user.cpp:29:16: error: ‘INT_MAX’ was not declared in this scope
d[i] = INT_MAX;
^
user.cpp:43:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0; i<v[x].size(); i++)
^
user.cpp:51:17: error: ‘INT_MAX’ was not declared in this scope
int minim = INT_MAX,nod = 0;
^
user.cpp:56:13: error: ‘nod’ was not declared in this scope
nod = control[i]-1;
^
user.cpp:58:11: error: ‘nod’ was not declared in this scope
if (d[nod] >= 0)
^
user.cpp: In function ‘int main()’:
user.cpp:64:20: warning: unused variable ‘s’ [-Wunused-variable]
int m,x,y,cost,s;
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !