I parked in front of the first building, which had a small sign over the door reading front office. 我停在第一幢建筑的前面,这幢建筑有一个门,上面有小的标志写着办公室的字。 No one else w ...
分类:
其他好文 时间:
2016-08-10 20:52:05
阅读次数:
130
At the beginning of every day, the first person who signs in the computer room will unlock the door, 在每天的开始,第一个签到进入计算机房间的人将会解锁这门 and the last one who ...
分类:
其他好文 时间:
2016-07-17 11:05:59
阅读次数:
132
01. 15% off with this flyer 凭此宣传品优惠15%02. 50% off on selected lines 部分商品半价03. Accessories & spares delivered to your door 配件送货上门04. All the range of … ...
分类:
其他好文 时间:
2016-06-12 07:04:13
阅读次数:
131
At the beginning of every day, the first person who signs in the computer room will unlock the door, and the last one who signs out will lock the door ...
分类:
其他好文 时间:
2016-06-07 20:52:22
阅读次数:
398
http://www.lightoj.com/volume_showproblem.php?problem=1027 You are in a maze; seeing n doors in front of you in beginning. You can choose any door you ...
分类:
其他好文 时间:
2016-05-27 11:02:22
阅读次数:
207
两道有关欧拉回路的例题 POJ1300-Door Man POJ1386-Plays on Words ...
分类:
其他好文 时间:
2016-05-23 13:26:02
阅读次数:
165
Problem Description
In Diagon Alley ,there is only one Wand-seller,peeling gold letters over the door read Ollivanders: Makers of Fine Wands since 382 BC.A single wand lay on a faded purple cushion in...
分类:
编程语言 时间:
2016-05-13 01:16:56
阅读次数:
258
题目链接: codeforces 629C Famil Door and Brackets 题目描述: 给出完整的括号序列长度n,现在给出一个序列s长度为m。枚举串p,q,使得p+s+q是合法的括号串,长度为n,问p,q的取值数目。 解题思路: 枚举p的长度,可以直接得到q的长度。因为要满足在任意位 ...
分类:
其他好文 时间:
2016-05-11 13:31:59
阅读次数:
318
Door Man Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 2596 Accepted: 1046 Description You are a butler in a large mansion. This mansion ...
分类:
其他好文 时间:
2016-05-04 22:43:39
阅读次数:
201
题目链接:点击打开链接
题意:给你一个长度为m的只含()的括号串s, 要求在s两端在加两个串p和q, 使得总长度为n,并且平衡, 平衡是指任意前缀串的(都不少于), 并且整个串的(和)一样多。
思路:我们不难想到这样一个DP, d[i][j]表示长度为i的串,(比)多j个(或者)比(多j个, 是等价的)的方案数。 那么转移很简单:
if(j > 0) d[i][j] += d[i-1][j...
分类:
其他好文 时间:
2016-02-24 09:43:08
阅读次数:
128