
栈和队列
gtuif
大多数人永远都不会了解真实的你,但是他们会看到你所做的一切。。。
展开
-
HDUOJ - 1022 Train Problem I
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 34616 Accepted Submission(s): 13061Problem DescriptionAs the new term comes, the Ig原创 2017-03-03 08:50:47 · 254 阅读 · 0 评论 -
A - ACboy needs your help again!
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 the原创 2017-07-25 23:14:42 · 189 阅读 · 0 评论 -
B - Train Problem I
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原创 2017-07-25 23:28:12 · 223 阅读 · 0 评论 -
C - Windows Message Queue
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, the system wil原创 2017-07-25 23:44:33 · 381 阅读 · 0 评论 -
D - 看病要排队
看病要排队这个是地球人都知道的常识。 不过经过细心的0068的观察,他发现了医院里排队还是有讲究的。0068所去的医院有三个医生(汗,这么少)同时看病。而看病的人病情有轻重,所以不能根据简单的先来先服务的原则。所以医院对每种病情规定了10种不同的优先级。级别为10的优先权最高,级别为1的优先权最低。医生在看病时,则会在他的队伍里面选择一个优先权最高的人进行诊治。如果遇到两个优先权一样的病原创 2017-07-25 23:51:58 · 444 阅读 · 0 评论 -
F - Rails
There is a famous railway station in PopPush City. Country there is incredibly hilly. The station was built in last century. Unfortunately, funds were extremely limited that time. It was possible to e原创 2017-07-25 23:59:52 · 176 阅读 · 0 评论 -
2018年全国多校算法寒假训练营练习比赛(第二场)A 吐泡泡
链接:https://www.nowcoder.com/acm/contest/74/A来源:牛客网小鱼儿吐泡泡,嘟嘟嘟冒出来。小鱼儿会吐出两种泡泡:大泡泡"O",小泡泡"o"。两个相邻的小泡泡会融成一个大泡泡,两个相邻的大泡泡会爆掉。(是的你没看错,小气泡和大气泡不会产生任何变化的,原因我也不知道。)例如:ooOOoooO经过一段时间以后会变成oO。输入描述原创 2018-01-28 22:55:32 · 253 阅读 · 0 评论