Borderou de evaluare (job #2624724)
Utilizator | Data | 5 iunie 2020 11:12:12 | |
---|---|---|---|
Problema | Matrice3 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'bool ok(int, int, int, int, int)':
main.cpp:15:43: error: 'log2' was not declared in this scope
int l1=x2-x1+1, l2=y2-y1+1, px=log2(l1),py=log2(l2);
^
main.cpp:16:16: error: 'py' was not declared in this scope
if(rmq[px][py][x1][y1]>=lat)return true;
^~
main.cpp:17:16: error: 'py' was not declared in this scope
if(rmq[px][py][x2-(1<<px)+1][y1]>=lat)return true;
^~
main.cpp:18:16: error: 'py' was not declared in this scope
if(rmq[px][py][x1][y2-(1<<py)+1]>=lat)return true;
^~
main.cpp:19:16: error: 'py' was not declared in this scope
if(rmq[px][py][x2-(1<<px)+1][y2-(1<<py)+1]>=lat)return true;
^~
main.cpp:15:21: warning: unused variable 'l2' [-Wunused-variable]
int l1=x2-x1+1, l2=y2-y1+1, px=log2(l1),py=log2(l2);
^~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !