
C++ STL
文章平均质量分 80
xtulollipop
这个作者很懒,什么都没留下…
展开
-
poj 1731 Orders
DescriptionThe stores manager has sorted all kinds of goods in an alphabetical order of their labels. All the kinds having labels starting with the same letter are stored in the same warehouse (i.原创 2015-05-13 14:05:13 · 364 阅读 · 0 评论 -
poj 3187 Backward Digit Sums
DescriptionFJ and his cows enjoy playing a mental game. They write down the numbers from 1 to N (1 <= N <= 10) in a certain order and then sum adjacent numbers to produce a new list with one fewer原创 2015-05-13 13:57:21 · 361 阅读 · 0 评论 -
Rescue zoj1649 优先队列
Description Angel was caught by the MOLIGPY! He was put in prison by Moligpy. The prison is described as a N * M (N, M <= 200) matrix. There are WALLs, ROADs, and GUARDs in the prison.Angel’s friends原创 2015-07-26 15:11:28 · 763 阅读 · 0 评论 -
poj 2312 Battle City 优先队列
DescriptionMany of us had played the game "Battle city" in our childhood, and some people (like me) even often play it on computer now. What we are discussing is a simple edition of this g原创 2015-07-21 18:44:45 · 513 阅读 · 0 评论 -
Codeforces Round #Pi (Div. 2) B Berland National Library
B. Berland National Library time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Berland National Library has recently been built in the capital原创 2015-08-12 17:37:16 · 643 阅读 · 0 评论 -
15年长春网赛Alisha’s Party +优先队列
Problem Description Princess Alisha invites her friends to come to her birthday party. Each of her friends will bring a gift of some value v, and all of them will come at a different time. Because the原创 2015-09-14 11:30:37 · 523 阅读 · 0 评论 -
xtu1038括号编码+栈
DescriptionS = s1 s2…s2n 是一个符合格式的括号的字符串,S能按下面两种方式编码: P编码:编码是一个整数序列P = p1 p2…pn,pi是第i个右括号之前的左括号的数目。 W编码:编码是一个整数序列W= p1 p2…pn,wi是第i个右括号的编码值,它等于这个右括号到与之匹配的左括号之间的右括号的数目(包括它自己)。 比如:请写一个程序将P序列转换成W序列。输入:第一原创 2016-03-01 17:33:02 · 995 阅读 · 0 评论