Borderou de evaluare (job #2601704)
Utilizator | Data | 14 aprilie 2020 23:56:28 | |
---|---|---|---|
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 rmq()':
main.cpp:29:38: warning: suggest parentheses around '-' inside '<<' [-Wparentheses]
can2=seg[i-1][j+(1<<i-1)];
~^~
main.cpp: In function 'int main()':
main.cpp:43:12: error: 'n' was not declared in this scope
fin >> n >> q;
^
main.cpp:42:9: warning: unused variable 'm' [-Wunused-variable]
int m, i, q, x, y;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !