库 queue 定义队列变量 queue q; 插入q.push(A); 弹出队首q.pop(); 返回队列长度q.size(); 返回队首q.front(); 返回队尾q.back(); 查询队列是否为空q.empty();空队列返回1,否则返回0