栈和队列
Mason_xm
这个作者很懒,什么都没留下…
展开
-
看病要排队
HDU - 1873 Problem Description 看病要排队这个是地球人都知道的常识。 不过经过细心的0068的观察,他发现了医院里排队还是有讲究的。0068所去的医院有三个医生(汗,这么少)同时看病。而看病的人病情有轻重,所以不能根据简单的先来先服务的原则。所以医院对每种病情规定了10种不同的优先级。级别为10的优先权最高,级别为1的优先权最低。医生在看病时,则会在他的队伍里...原创 2018-08-26 15:56:25 · 175 阅读 · 0 评论 -
Train Problem I (火车进站)
HDU - 1022 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 faste...原创 2018-09-04 15:56:39 · 227 阅读 · 0 评论 -
栈和队列 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 :(. As a smart ACMer, you want to get ACboy out of...原创 2018-09-04 15:56:31 · 128 阅读 · 0 评论 -
Windows Message Queue
HDU - 1509 Message queue is the basic fundamental of windows system. For each process, the system maintains a message queue. If something happens to this process, such as mouse click, text change, ...原创 2018-09-04 15:56:21 · 137 阅读 · 0 评论