摘要: Count the Sheep Count the Sheep Count the Sheep 题意: 问题描述 输入描述 输出描述 输入样例 输出样例 Hint 第一想法就是直接dfs爆搜,结果还是被hack了。 后来看队友的思路,在这个二分图中,我们枚举每一段男女关系,然后由男的延伸出一个女的, 阅读全文
posted @ 2017-07-20 21:42 yzm10 阅读(179) 评论(0) 推荐(0) 编辑
摘要: Restructuring Company Even the most successful company can go through a crisis period when you have to make a hard decision — to restructure, discard 阅读全文
posted @ 2017-07-20 21:06 yzm10 阅读(545) 评论(0) 推荐(0) 编辑
摘要: Stall Reservations Oh those picky N (1 <= N <= 50,000) cows! They are so picky that each one will only be milked over some precise time interval A..B 阅读全文
posted @ 2017-07-20 16:41 yzm10 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 冰清玉洁丶YCB 发布时间: 2017年6月18日 21:39 最后更新: 2017年6月18日 21:40 时间限制: 1000ms 内存限制: 256M 描述 YCB是公认的冰清玉洁,人称锦州刚猛好男儿,凌河区一把刀。 一天YCB来到了一个n × m迷宫,每一个单位或者是空地("."),或者是墙 阅读全文
posted @ 2017-07-20 13:30 yzm10 阅读(223) 评论(0) 推荐(0) 编辑