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

摘要:K-th Number Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 599 Accepted Submission(s): 234 Pro 阅读全文
posted @ 2017-12-01 21:51 luckilzy 阅读(362) 评论(0) 推荐(0) 编辑
摘要:Matrix Time Limit: 6000MS Memory Limit: 65536K Total Submissions: 7415 Accepted: 2197 Description Given a N × N matrix A, whose element in the i-th ro 阅读全文
posted @ 2017-10-12 10:36 luckilzy 阅读(350) 评论(0) 推荐(0) 编辑
摘要:Matrix Time Limit: 6000MS Memory Limit: 65536K Total Submissions: 7034 Accepted: 2071 Description Given a N × N matrix A, whose element in the i-th ro 阅读全文
posted @ 2017-07-24 12:37 luckilzy 阅读(279) 评论(0) 推荐(0) 编辑
摘要:Median Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 7687 Accepted: 2637 Description Given N numbers, X1, X2, ... , XN, let us calculate 阅读全文
posted @ 2017-07-24 11:04 luckilzy 阅读(225) 评论(0) 推荐(0) 编辑
摘要:Dropping tests Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 12515 Accepted: 4387 Description In a certain course, you take n tests. If y 阅读全文
posted @ 2017-07-24 10:18 luckilzy 阅读(235) 评论(0) 推荐(0) 编辑
摘要:K Best Time Limit: 8000MS Memory Limit: 65536K Total Submissions: 10507 Accepted: 2709 Case Time Limit: 2000MS Special Judge Description Demy has n je 阅读全文
posted @ 2017-07-24 10:03 luckilzy 阅读(240) 评论(0) 推荐(0) 编辑
摘要:B. The Meeting Place Cannot Be Changed time limit per test 5 seconds memory limit per test 256 megabytes input standard input output standard output T 阅读全文
posted @ 2017-03-06 20:09 luckilzy 阅读(378) 评论(0) 推荐(0) 编辑
摘要:C. Road to Cinema time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output C. Road to Cinema time 阅读全文
posted @ 2016-12-01 22:39 luckilzy 阅读(271) 评论(0) 推荐(0) 编辑
摘要:Interviewe Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 6722 Accepted Submission(s): 1592 Prob 阅读全文
posted @ 2016-11-08 20:22 luckilzy 阅读(292) 评论(0) 推荐(0) 编辑
摘要:Turn the corner Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 3070 Accepted Submission(s): 1232 阅读全文
posted @ 2016-10-22 21:16 luckilzy 阅读(296) 评论(0) 推荐(0) 编辑
摘要:Pie Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 10043 Accepted Submission(s): 3637 Problem De 阅读全文
posted @ 2016-10-22 19:15 luckilzy 阅读(320) 评论(0) 推荐(0) 编辑
摘要:转自 :http://blog.csdn.net/int64ago/article/details/7425727 我们先开始一起写一个二分吧,要求是对num[]= {1,2,2,4,4,8,10}不减序列在区间[0,7)进行查找,当然我们得首先保证要查找的数e满足:num[0] <= e <= n 阅读全文
posted @ 2016-09-06 20:47 luckilzy 阅读(270) 评论(0) 推荐(0) 编辑

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