摘要: 需要头文件#include queue q;q.push(12);while(!q.empty() ){cout q; //默认按照从大到小排序q.push(1);q.push(2);while(!q.empty() ){cout , greater > q; //按照从小到大的顺序q.push... 阅读全文
posted @ 2014-11-07 00:26 schnappi 阅读(157) 评论(0) 推荐(0) 编辑