月夜城
七月七日晴
posts - 0,comments - 0,trackbacks - 0
在队列中
while(!queue.empty()) { int g=queue.front; queue.pop(); }
这样第次循环都会删除队列首项,问题是如何来比较首项和下次循环后的首项。
posted on 2009-06-13 00:44 noyear 阅读(10) 评论(0)  编辑 收藏 引用

只有注册用户登录后才能发表评论。
网站导航:   博客园   博客园最新博文   博问   管理