![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
栈和队列
剑断青丝i
世界上唯一可以阻止你前进的就是懒惰
展开
-
ACboy needs your help again!(栈和队列的简单应用或者数组模拟)HDU-1702
ACboy was kidnapped!! he miss his mother very much and is very scare now.You can’t image how dark the room he was put into is, so poor原创 2019-08-25 14:00:42 · 175 阅读 · 0 评论 -
Train Problem I(HDU-1002 栈)
As the new term comes, the Ignatius Train Station is very busy nowadays. A lot of student want to get back to school by train(because the trains in the Ignatius Train Station is the fastest all over t...原创 2019-08-25 16:14:30 · 109 阅读 · 0 评论 -
看病要排队(优先队列HDU - 1873)
看病要排队这个是地球人都知道的常识。 不过经过细心的0068的观察,他发现了医院里排队还是有讲究的。0068所去的医院有三个医生(汗,这么少)同时看病。而看病的人病情有轻重,所以不能根据简单的先来先服务的原则。所以医院对每种病情规定了10种不同的优先级。级别为10的优先权最高,级别为1的优先权最低。医生在看病时,则会在他的队伍里面选择一个优先权最高的人进行诊治。如果遇到两个优先权一样的病人的话,则...原创 2019-08-27 18:00:16 · 384 阅读 · 0 评论