Borderou de evaluare (job #2749466)
Utilizator | Data | 6 mai 2021 19:08:41 | |
---|---|---|---|
Problema | Asmax | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:8:11: error: 'INT_MIN' was not declared in this scope
int n, mx=INT_MIN, suma[16001], costuri[16001];
^~~~~~~
main.cpp: In function 'void DFS(int)':
main.cpp:13:5: error: 'suma' was not declared in this scope
suma[nod]=costuri[nod];
^~~~
main.cpp:13:15: error: 'costuri' was not declared in this scope
suma[nod]=costuri[nod];
^~~~~~~
main.cpp:14:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<adiacenta[nod].size(); i++)
~^~~~~~~~~~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:30:12: error: 'costuri' was not declared in this scope
f>>costuri[i];
^~~~~~~
main.cpp:41:20: error: 'suma' was not declared in this scope
mx=max(mx, suma[i]);
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !