Borderou de evaluare (job #2569972)
| Utilizator | Data | 4 martie 2020 14:30:49 | |
|---|---|---|---|
| Problema | Diametrul unui arbore | Status | done |
| Runda | r3capitusulare | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:17:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < l[x].size(); i++)
~~^~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:60:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i = 1; i <= n; i++)
^~~
main.cpp:62:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
viz[nod] = 1;
^~~
main.cpp:72:13: error: 'nod2' was not declared in this scope
nod2 = i;
^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
