0_0_24198883_17939.cpp: In function 'bool judge(int)':
0_0_24198883_17939.cpp:47:14: error: cannot convert 'std::queue<_Tp, _Sequence>::empty<int, std::deque<int, std::allocator<int> > >' from type 'bool (std::queue<int>::)() const' to type 'bool'
while(!Q.empty){
^
0_0_24198883_17939.cpp:47:14: error: in argument to unary !
0_0_24198883_17939.cpp:48:17: error: 'class std::queue<int>' has no member named 'top'
int x=Q.top;Q.pop();
^
|