0_0_27173732_20169.cpp: In function 'bool cmp(Mo&, Mo&)': 0_0_27173732_20169.cpp:41:33: error: 'Be' was not declared in this scope bool cmp(Mo& a, Mo& b) { return Be[a.l] == Be[b.l] ? a.r < b.r : a.l < b.l; } ^