摘要:
Heavy Transportation Time Limit: 3000MS Memory Limit: 30000K Total Submissions: 26968 Accepted: 7232 Description Background Hugo Heavy is happy. After 阅读全文
posted @ 2016-03-10 18:14
yifan2016
阅读(224)
评论(0)
推荐(0)
摘要:
这道题目要插入括号,所以比上次稍微难点,但是用dfs插入括号,分成三段,然后针对每一段具体操作,还是分分钟搞定,废话不多说,具体看代码的注释吧。 运行效果: 1 #include<iostream> 2 #include<cstdlib> 3 #include<set> 4 #include<cti 阅读全文
posted @ 2016-03-10 13:37
yifan2016
阅读(290)
评论(0)
推荐(0)


浙公网安备 33010602011771号