0_0_38114927_4774.cpp: In function 'int main()': 0_0_38114927_4774.cpp:29:54: error: request for member 'pop' in 'q', which is of non-class type 'std::queue<int> [1000005]' for(int i=1;i<=n;i++) while(!q[i].empty()) q.pop(); ^