![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
DP
文章平均质量分 77
ls1rius
弃号
展开
-
Codeforce 118D: Caesar's Legions
D. Caesar's Legionstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputGaius Julius Caesar, a famous general,原创 2016-04-13 10:48:10 · 442 阅读 · 0 评论 -
ZOJ 3929 Deque and Balls
There are n balls, where the i-th ball is labeled as pi. You are going to put n balls into a deque. In the i-th turn, you need to put the i-th ball to the deque. Each ball will be put to both ends o转载 2016-04-13 19:02:20 · 232 阅读 · 0 评论