
二分法
文章平均质量分 81
Bear1997
这个作者很懒,什么都没留下…
展开
-
【HDU】-2199-Can you solve this equation?(二分)
Can you solve this equation?Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 16517 Accepted Submission(s): 7324Problem Description原创 2016-07-26 11:21:28 · 397 阅读 · 0 评论 -
【Codeforces-402D】-String Game (二分)
String Gametime limit per test2 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputLittle Nastya has a hobby, she likes to remove原创 2017-02-27 21:02:31 · 460 阅读 · 0 评论 -
【Light-oj】-1138 - Trailing Zeroes (III)(二分,数学)
1138 - Trailing Zeroes (III) PDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBYou task is to find minimal natural number N, so th原创 2016-08-23 21:42:12 · 393 阅读 · 0 评论 -
【zzuli】-音痴又音痴的LT(STL& 二分)
音痴又音痴的LT时间限制:4000 ms | 内存限制:65535 KB描述LT最近一直在无限循环薛之谦的歌,简直都中毒了!可是呢…他的歌LT还是不会唱(其实不止他的歌LT不会唱,所有人的歌LT都不会唱…因为LT是标准的音痴)可是LT又很喜欢唱歌(所以LT不仅是音痴还是音痴)…没错,这对于LT的室友来说简直是噩梦… 现在呢,LT有N次操作,每次操作只会有两种可能:原创 2016-08-20 17:36:55 · 759 阅读 · 0 评论 -
【zzuli-oj】-1917-定义序列价值(二分 & STL,好)
1917: ETime Limit: 1 Sec Memory Limit: 128 MBSubmit: 135 Solved: 28SubmitStatusWeb BoardDescription晴天有非常严重的选择恐惧症,每次吃饭前他都在纠结到底吃什么。。今天又到了吃饭的时候了。重光:我给你一个包含n个不同整数的序列a,如果它所有连续子序列的价值和是素数原创 2016-08-19 18:16:35 · 535 阅读 · 0 评论 -
【Codeforces】-702B-Powers of Two(二分)
点击打开链接B. Powers of Twotime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given n integers a1,原创 2016-08-06 11:10:10 · 921 阅读 · 1 评论 -
【Codeforces】-702C-Cellular Network(二分)
C. Cellular Networktime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given n points on the straight原创 2016-08-06 11:51:33 · 883 阅读 · 0 评论 -
【Codeforces】-706B-Interesting drink(二分)
B. Interesting drinktime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasiliy likes to rest after a hard wor原创 2016-08-16 20:49:46 · 557 阅读 · 0 评论 -
【Light-oj】-1138-Trailing Zeroes (III)(找到一个数使其阶乘后0的个数为n)
1138 - Trailing Zeroes (III) PDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBYou task is to find minimal natural number N, so th原创 2016-07-18 20:35:07 · 552 阅读 · 0 评论 -
【HDU】-2141-Can you find it?(二分)
Can you find it?Time Limit: 10000/3000 MS (Java/Others) Memory Limit: 32768/10000 K (Java/Others)Total Submission(s): 23795 Accepted Submission(s): 6032Problem DescriptionGive yo原创 2016-07-27 11:24:26 · 270 阅读 · 0 评论 -
【Light-oj】-Expanding Rods(二分&几何)
点击打开链接1137 - Expanding Rods PDF (English)StatisticsForumTime Limit: 0.5 second(s)Memory Limit: 32 MBWhen a thin rod of length L is heated n de原创 2016-07-26 21:23:06 · 427 阅读 · 0 评论 -
【NBUTOJ】-1651-Red packet(二分)
[1651] Red packet时间限制: 1000 ms 内存限制: 65535 K问题描述New Year is coming! Our big boss Wine93 will distribute some “Red Package”, just like Alipay and Wechat.Wine93 has m yuan, he decides to原创 2016-07-26 20:16:35 · 526 阅读 · 0 评论 -
【HDU】-1969-Pie(二分)
PieTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9210 Accepted Submission(s): 3333Problem DescriptionMy birthday is coming原创 2016-07-26 19:54:50 · 366 阅读 · 0 评论 -
【Poj】-3061-Subsequence
SubsequenceTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 11823 Accepted: 4962DescriptionA sequence of N positive integers (10 < N < 100 000), each o原创 2016-07-04 19:33:40 · 415 阅读 · 0 评论 -
【HDU】-4004-The Frog's Games(二分,难)
The Frog's GamesTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65768/65768 K (Java/Others)Total Submission(s): 6058 Accepted Submission(s): 2932Problem DescriptionThe annua原创 2016-07-26 15:47:10 · 343 阅读 · 0 评论 -
【HDU】-1551-Cable master(二分)
Cable masterTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 3677 Accepted Submission(s): 1416Problem DescriptionInhabitants o原创 2016-07-26 15:09:44 · 542 阅读 · 0 评论 -
【2016-天梯赛】-集合相似度 (二分)
集合相似度 给定两个整数集合,它们的相似度定义为:N_c / N_t \times 100\%Nc/Nt×100%。其中N_cNc是两个集合都有的不相等整数的个数,N_tNt是两个集合一共有的不相等整数的个数。你的任务就是计算任意一对给定集合的相似度。输入格式:输入第一行给出一个正整数NN(\le 50≤50),是集合的个数。随后NN行原创 2017-03-20 19:25:19 · 975 阅读 · 0 评论