Borderou de evaluare (job #2640679)
Utilizator | Data | 7 august 2020 13:18:41 | |
---|---|---|---|
Problema | Lowest Common Ancestor | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void DFS(int)':
main.cpp:32:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < NOD[x].size(); ++i)
~~^~~~~~~~~~~~~~~
main.cpp: In function 'void RMQ()':
main.cpp:64:76: error: 'minim' was not declared in this scope
rmq[i][j] = minim(rmq[i - 1][j], rmq[i - 1][j + (1 << (i - 1))]);
^
main.cpp: In function 'void RMQ_answer(int, int)':
main.cpp:77:85: error: 'minim' was not declared in this scope
g << minim(rmq[ans[length]][x], rmq[ans[length]][y - (1 << ans[length]) + 1]) << "\n";
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !