Borderou de evaluare (job #2616154)

Utilizator As932Stanciu Andreea As932 Data 16 mai 2020 20:32:17
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:61:19: error: 'log2' was not declared in this scope int px=log2(l1),py=log2(l2); ^ main.cpp:64:16: error: 'py' was not declared in this scope if(rmq[px][py][x1][y1]>=lat)return true; ^~ main.cpp:65:16: error: 'py' was not declared in this scope if(rmq[px][py][x2-(1<<px)+1][y1]>=lat)return true; ^~ main.cpp:66:16: error: 'py' was not declared in this scope if(rmq[px][py][x1][y2-(1<<py)+1]>=lat)return true; ^~ main.cpp:67: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:60:9: warning: unused variable 'l2' [-Wunused-variable] int l2=y2-y1+1; ^~ Non zero exit status: 1

Ceva nu functioneaza?