摘要: 82. Remove Duplicates from Sorted List II https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii/ 下面代码是自写hashmap版,练一下hashmap,用一般的map<int, 阅读全文
posted @ 2016-12-27 09:25 带鱼Yuiffy 阅读(352) 评论(0) 推荐(0) 编辑
摘要: Codeforces Round #366 (Div. 2) A I hate that I love that I hate it水题 1 #I hate that I love that I hate it 2 n = int(raw_input()) 3 s = "" 4 a = ["I ha 阅读全文
posted @ 2016-08-08 12:35 带鱼Yuiffy 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 2016"百度之星" - 复赛(Astar Round3) Ended 2016-05-29 14:00:00 - 2016-05-29 17:00:00 Current Time: 00:46:02 2016"百度之星" - 复赛(Astar Round3) Ended 2016"百度之星" - 阅读全文
posted @ 2016-05-30 01:04 带鱼Yuiffy 阅读(597) 评论(0) 推荐(0) 编辑
摘要: Codeforces Round #354 (Div. 2) Problems #Name A Nicholas and Permutation standard input/output 1 s, 256 MB x3384 B Pyramid of Glasses standard input/o 阅读全文
posted @ 2016-05-26 02:12 带鱼Yuiffy 阅读(302) 评论(0) 推荐(0) 编辑
摘要: 做了1001 1003 1005 1006 看题:http://bestcoder.hdu.edu.cn/contests/contest_show.php?cid=702 交题:http://acm.hdu.edu.cn/search.php?field=problem&key=2016%22%B 阅读全文
posted @ 2016-05-23 22:05 带鱼Yuiffy 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 只做了1001 1002 1005 1006。剩下2题可能以后补? http://acm.hdu.edu.cn/search.php?field=problem&key=2016%22%B0%D9%B6%C8%D6%AE%D0%C7%22+-+%B3%F5%C8%FC%A3%A8Astar+Roun 阅读全文
posted @ 2016-05-23 20:59 带鱼Yuiffy 阅读(341) 评论(0) 推荐(0) 编辑
摘要: 看题:http://bestcoder.hdu.edu.cn/contests/contest_show.php?cid=690 交题:http://acm.hdu.edu.cn/search.php?field=problem&key=2016%22%B0%D9%B6%C8%D6%AE%D0%C7 阅读全文
posted @ 2016-05-23 20:15 带鱼Yuiffy 阅读(340) 评论(0) 推荐(0) 编辑
摘要: Problems #Name A Infinite Sequence standard input/output 1 s, 256 MB x3509 B Restoring Painting standard input/output 1 s, 256 MB x2519 C Money Transf 阅读全文
posted @ 2016-05-18 00:07 带鱼Yuiffy 阅读(354) 评论(0) 推荐(0) 编辑
摘要: Problems #Name A Summer Camp standard input/output 1 s, 256 MB x3197 B Different is Good standard input/output 2 s, 256 MB x2870 C Recycling Bottles s 阅读全文
posted @ 2016-05-12 13:43 带鱼Yuiffy 阅读(357) 评论(0) 推荐(0) 编辑
摘要: ZOJ3944 People Counting ZOJ3939 The Lucky Week 1.PeopleConting 题意:照片上有很多个人,用矩阵里的字符表示。一个人如下: 题解: 先弄个常量把3*3人形存起来,然后6个部位依次找,比如现在找头,找到一个头,就把这个人删掉(找这个人的各个部 阅读全文
posted @ 2016-05-12 11:46 带鱼Yuiffy 阅读(571) 评论(0) 推荐(0) 编辑