摘要: D. My pretty girl Noora time limit per test 1.5 seconds memory limit per test 256 megabytes input standard input output standard output D. My pretty g 阅读全文
posted @ 2017-07-03 17:40 爱种树的码农 阅读(310) 评论(0) 推荐(0) 编辑
摘要: C. Hacker, pack your bags! time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output It's well kno 阅读全文
posted @ 2017-07-03 12:28 爱种树的码农 阅读(217) 评论(0) 推荐(0) 编辑
摘要: D. Multicolored Cars time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output D. Multicolored Car 阅读全文
posted @ 2017-06-30 14:57 爱种树的码农 阅读(606) 评论(0) 推荐(0) 编辑
摘要: 一共N个人在举行会议, 有一些人说谎,有一些人说真话, 其中第i个人说: “我们中总共有j(j<=n)个人说谎” 现在 请你计算在这n个人最少有多少个人说谎 n <= 10,如果无 解 输出 -1 样例第一行有一个数n第二行n个数j1 j2 .... jn 输入51 1 1 1 0输出1 输入51 阅读全文
posted @ 2017-06-26 17:47 爱种树的码农 阅读(262) 评论(0) 推荐(0) 编辑
摘要: B - Colorful Hats Time limit : 2sec / Memory limit : 256MB Score : 700 points Problem Statement There are N cats. We number them from 1 through N. Eac 阅读全文
posted @ 2017-06-26 17:06 爱种树的码农 阅读(331) 评论(0) 推荐(0) 编辑
摘要: D - Built? Time limit : 2sec / Memory limit : 256MB Score : 500 points Problem Statement There are N towns on a plane. The i-th town is located at the 阅读全文
posted @ 2017-06-25 16:25 爱种树的码农 阅读(164) 评论(0) 推荐(0) 编辑
摘要: B. Karen and Coffee time limit per test 2.5 seconds memory limit per test 512 megabytes input standard input output standard output To stay woke and a 阅读全文
posted @ 2017-06-18 09:26 爱种树的码农 阅读(179) 评论(0) 推荐(0) 编辑
摘要: 因为没有休息好, 打着很异常难受的一场比赛,坚持了一个半小时就撤了。 Windows画图:签到题,没什么说的. 百度地图导航 官方题解: 把每个城市群抽象成两个点 s', s''​​。按照如下方式见图: 对于每个城市群里面的城市 s_i​​,连边:(s_i, s', 0), (s'', s_i, 0 阅读全文
posted @ 2017-06-10 21:31 爱种树的码农 阅读(313) 评论(0) 推荐(0) 编辑
摘要: B. An express train to reveries time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output B. An exp 阅读全文
posted @ 2017-06-07 23:38 爱种树的码农 阅读(332) 评论(0) 推荐(0) 编辑
摘要: C - Nuske vs Phantom Thnook Time limit : 4sec / Memory limit : 256MB Score : 700 points Problem Statement Nuske has a grid with N rows and M columns o 阅读全文
posted @ 2017-05-30 12:41 爱种树的码农 阅读(191) 评论(0) 推荐(0) 编辑