上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 46 下一页
摘要: Sagheer and Nubian Market 二分+排序 比赛时没对,赛后检查才发现check()里的参数类型是int 改成ll就对了。好气哦! 阅读全文
posted @ 2017-06-02 12:44 starry_sky 阅读(176) 评论(0) 推荐(0) 编辑
摘要: Success Rate You are an experienced Codeforces user. Today you found out that during your activity on Codeforces you have made y submissions, out of w 阅读全文
posted @ 2017-05-28 20:18 starry_sky 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 花样式过DFS题 Problem Statement Nuske has a grid with N rows and M columns of squares. The rows are numbered 1 through N from top to bottom, and the column 阅读全文
posted @ 2017-05-28 11:06 starry_sky 阅读(211) 评论(0) 推荐(0) 编辑
摘要: Problem Statement Skenu constructed a building that has N floors. The building has an elevator that stops at every floor. There are buttons to control 阅读全文
posted @ 2017-05-28 09:58 starry_sky 阅读(165) 评论(0) 推荐(0) 编辑
摘要: Problem Statement Snuke has N integers. Among them, the smallest is A, and the largest is B. We are interested in the sum of those N integers. How man 阅读全文
posted @ 2017-05-28 09:56 starry_sky 阅读(285) 评论(0) 推荐(0) 编辑
摘要: Ball 可以用dfs,不过发现用一个循环就可以搞定。 阅读全文
posted @ 2017-05-26 20:28 starry_sky 阅读(128) 评论(0) 推荐(0) 编辑
摘要: Property Distribution 题目看不懂,不过看输入输出结果猜出来了,查看所以块得到数量,DFS搜索下就可以了。 阅读全文
posted @ 2017-05-26 15:59 starry_sky 阅读(126) 评论(0) 推荐(0) 编辑
摘要: Red and Black 好久没敲代码了,试了个简单的DFS题目练练手,这题就是一个DFS模板,一直写下去就行了。 阅读全文
posted @ 2017-05-25 23:26 starry_sky 阅读(136) 评论(0) 推荐(0) 编辑
摘要: A strange lift Problem Description There is a strange lift.The lift can stop can at every floor as you want, and there is a number Ki(0 <= Ki <= N) on 阅读全文
posted @ 2017-05-06 16:50 starry_sky 阅读(160) 评论(0) 推荐(0) 编辑
摘要: dijistra模板 优化的dijistra模板: Floyd模板,由于复杂度太大,很少用: 阅读全文
posted @ 2017-05-06 16:45 starry_sky 阅读(230) 评论(0) 推荐(0) 编辑
上一页 1 ··· 36 37 38 39 40 41 42 43 44 ··· 46 下一页