
二分搜索
Com_ice
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
HDU Strange fuction 1597
find the nth digit Time Limit : 1000/1000ms (Java/Other) Memory Limit : 32768/32768K (Java/Other) Total Submission(s) : 4 Accepted Submission(s) : 2 Problem Description 假设: S1 = 1 S2 = 12 S3 =原创 2017-10-28 21:55:32 · 604 阅读 · 0 评论 -
HDU 1597(lower_bound+二分)
find the nth digit Time Limit: 1000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 10516 Accepted Submission(s): 3099 Problem Description 假设: S1原创 2017-10-24 08:42:14 · 265 阅读 · 0 评论 -
HDU 5178 pairs(二分 STL lower_bound)
pairs Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 2038 Accepted Submission(s): 733 Problem Description John has n points on th原创 2017-10-23 20:23:05 · 267 阅读 · 0 评论 -
hdu 4768 Flyer
#include #include #include using namespace std; long long a[20000],b[20000],c[20000]; int n; long long check(long long mid) { int min1; long long sum=0; for(i=0;i<n;i++) { min1=min(b[i],mid);原创 2017-10-24 16:15:09 · 297 阅读 · 0 评论 -
Hdu 4004 The Frog's Games(二分)
The Frog's Games Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others) Total Submission(s): 3395 Accepted Submission(s): 1645 Problem Description The annual Ga原创 2017-10-24 13:58:26 · 247 阅读 · 0 评论 -
HDU 2298 Toxophily(二分+数学)
Toxophily Time Limit: 3000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 729 Accepted Submission(s): 427 Problem Description The recreation cente原创 2018-01-02 18:56:26 · 490 阅读 · 0 评论 -
HDU 2446 Shell Pyramid(二分查找+数学)
Problem Description In the 17th century, with thunderous noise, dense smoke and blazing fire, battles on the sea were just the same as those in the modern times. But at that time, the cannon ,were原创 2018-01-02 18:40:04 · 559 阅读 · 0 评论 -
浙江中医药大学 2014 B题 一生之敌(数学,打表)
2014: 一生之敌 Time Limit: 1 Sec Memory Limit: 128 MB Submit: 609 Solved: 75 [Submit][Status][Web Board] Description Input 第一行输入一个整数T,表示数据组数。 每组数据输入一个整数n。 1 0 保证结果存在原创 2018-01-10 10:43:30 · 409 阅读 · 0 评论 -
codeforce #514 D. Nature Reserve
D. Nature Reserve time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output There is a forest that we model as a plane and live nn rare ani...原创 2018-10-08 15:01:13 · 445 阅读 · 0 评论