0_0_36629030_10264.cpp: In function 'int main()': 0_0_36629030_10264.cpp:82:5: error: expected ';' before 'while' while ((!Q.empty())&&(calc(i,R[Q.back()],j)<calc(i,R[Q.back()],Q.back())))Q.pop_back(); ^