随笔分类 -  算法-二分/三分

摘要:D - AtCoder Express Time limit : 2sec / Memory limit : 256MB Score : 400 points Problem Statement In the year 2168, AtCoder Inc., which is much larger 阅读全文
posted @ 2017-10-29 19:52 happy_codes 阅读(539) 评论(0) 推荐(0) 编辑
摘要:1810 连续区间 基准时间限制:1.5 秒 空间限制:131072 KB 分值: 80 难度:5级算法题 1810 连续区间 基准时间限制:1.5 秒 空间限制:131072 KB 分值: 80 难度:5级算法题 1810 连续区间 基准时间限制:1.5 秒 空间限制:131072 KB 分值:  阅读全文
posted @ 2017-10-07 16:40 happy_codes 阅读(365) 评论(0) 推荐(0) 编辑
摘要:1105 第K大的数 基准时间限制:1 秒 空间限制:131072 KB 分值: 40 难度:4级算法题 1105 第K大的数 基准时间限制:1 秒 空间限制:131072 KB 分值: 40 难度:4级算法题 1105 第K大的数 基准时间限制:1 秒 空间限制:131072 KB 分值: 40  阅读全文
posted @ 2017-10-07 16:01 happy_codes 阅读(241) 评论(0) 推荐(0) 编辑
摘要:1420 数袋鼠好有趣 题目来源: CodeForces 基准时间限制:1 秒 空间限制:131072 KB 分值: 40 难度:4级算法题 1420 数袋鼠好有趣 题目来源: CodeForces 基准时间限制:1 秒 空间限制:131072 KB 分值: 40 难度:4级算法题 1420 数袋鼠 阅读全文
posted @ 2017-10-03 12:15 happy_codes 阅读(431) 评论(0) 推荐(0) 编辑
摘要:1674 区间的价值 V2 基准时间限制:1 秒 空间限制:131072 KB 分值: 40 难度:4级算法题 1674 区间的价值 V2 基准时间限制:1 秒 空间限制:131072 KB 分值: 40 难度:4级算法题 1674 区间的价值 V2 基准时间限制:1 秒 空间限制:131072 K 阅读全文
posted @ 2017-09-14 20:22 happy_codes 阅读(243) 评论(0) 推荐(0) 编辑
摘要:1686 第K大区间 基准时间限制:1 秒 空间限制:131072 KB 分值: 40 难度:4级算法题 1686 第K大区间 基准时间限制:1 秒 空间限制:131072 KB 分值: 40 难度:4级算法题 定义一个区间的值为其众数出现的次数。现给出n个数,求将所有区间的值排序后,第K大的值为多 阅读全文
posted @ 2017-09-13 17:34 happy_codes 阅读(230) 评论(0) 推荐(0) 编辑
摘要:Carries frog has nn integers a1,a2,…,ana1,a2,…,an, and she wants to add them pairwise. Unfortunately, frog is somehow afraid of carries (进位). She defi 阅读全文
posted @ 2017-08-17 21:25 happy_codes 阅读(241) 评论(0) 推荐(0) 编辑
摘要:Problem H. Hotel in Ves Lagos Input le: hotel.in Output le: hotel.out Time limit: 1 second Memory limit: 256 megabytes A new hotel is being built in t 阅读全文
posted @ 2017-08-05 19:35 happy_codes 阅读(243) 评论(0) 推荐(0) 编辑
摘要:GCD Time Limit: 10000/5000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others)Total Submission(s): 3432 Accepted Submission(s): 1227 Problem De 阅读全文
posted @ 2017-04-05 22:05 happy_codes 阅读(537) 评论(0) 推荐(0) 编辑
摘要:Time Limit: 10 Sec Memory Limit: 162 MBSubmit: 2061 Solved: 1184 Description OI island是一个非常漂亮的岛屿,自开发以来,到这儿来旅游的人很多。然而,由于该岛屿刚刚开发不久,所以那里的交通情况还是很糟糕。所以,OIE 阅读全文
posted @ 2017-03-24 22:07 happy_codes 阅读(305) 评论(0) 推荐(0) 编辑
摘要:4 Values whose Sum is 0 Description The SUM problem can be formulated as follows: given four lists A, B, C, D of integer values, compute how many quad 阅读全文
posted @ 2017-03-12 21:46 happy_codes 阅读(175) 评论(0) 推荐(0) 编辑
摘要:二分+最短路 Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld & %llu POJ 3662 二分+最短路 Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%lld 阅读全文
posted @ 2016-11-16 10:46 happy_codes 阅读(379) 评论(0) 推荐(0) 编辑
摘要:O - Can you find it? Time Limit:3000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u O - Can you find it? Time Limit:3000MS Memory Limit:10000KB 阅读全文
posted @ 2016-07-22 17:48 happy_codes 阅读(194) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示