二分
neversayno_yl
这个作者很懒,什么都没留下…
展开
-
light oj 1138
Trailing Zeroes (III) Time Limit:2000MS Memory Limit:32768KB 64bit IO Format:%lld & %llu原创 2016-07-23 17:45:26 · 160 阅读 · 0 评论 -
coderforces 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-15 15:21:14 · 225 阅读 · 0 评论 -
LOJ 1307 - Counting Triangles(二分)
1307 - Counting Triangles PDF (English)StatisticsForumTime Limit: 2 second(s)Memory Limit: 32 MBYou are given N sticks having distinct lengths; you ha原创 2016-08-27 14:14:44 · 430 阅读 · 0 评论 -
zzuli 1895: 985的0-1串难题(二分)
1895: 985的0-1串难题Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 276 Solved: 83SubmitStatusWeb BoardDescription985有一个长度为n的0-1串,已知他最多可以修改k次(每次修改一个字符即0->1 或者 1->0),他想知道连续的全1子串最长是多少。原创 2016-08-19 18:11:47 · 311 阅读 · 0 评论 -
ny 1261 音痴又音痴的LT
音痴又音痴的LT 时间限制:4000 ms | 内存限制:65535 KB原创 2016-08-22 10:39:06 · 239 阅读 · 0 评论 -
coderforces 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-12 21:31:02 · 317 阅读 · 0 评论 -
coderforces 702B - Powers of Two(二分)
B. Powers of Twotime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given n integers a1, a2, ..., an.原创 2016-08-15 11:31:01 · 256 阅读 · 0 评论 -
codeforces 237C. Primes on Interval(二分)
C. Primes on Intervaltime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou've decided to carry out a survey i原创 2016-10-23 14:17:12 · 653 阅读 · 0 评论 -
51nod 1001 数组中和等于K的数对【二分】
1001 数组中和等于K的数对基准时间限制:1 秒 空间限制:131072 KB 分值: 5 难度:1级算法题 收藏 关注给出一个整数K和一个无序数组A,A的元素为N个互不相同的整数,找出数组A中所有和等于K的数对。例如K = 8,数组A:{-1,6,5,3,4,2,9,0,8},所有和等于8的数对包括(-1,9),(0,8),(2,原创 2017-04-17 18:49:00 · 272 阅读 · 0 评论 -
51nod 1080 两个数的平方和【二分】
1080 两个数的平方和基准时间限制:1 秒 空间限制:131072 KB 分值: 5 难度:1级算法题 收藏 关注给出一个整数N,将N表示为2个整数i j的平方和(i <= j),如果有多种表示,按照i的递增序输出。例如:N = 130,130 = 3^2 + 11^2 = 7^2 + 9^2 (注:3 11同11 3算原创 2017-04-17 21:23:38 · 288 阅读 · 0 评论 -
51nod 1010 只包含因子2 3 5的数【打表+二分】
1010 只包含因子2 3 5的数基准时间限制:1 秒 空间限制:131072 KB 分值: 10 难度:2级算法题 收藏 关注K的因子中只包含2 3 5。满足条件的前10个数是:2,3,4,5,6,8,9,10,12,15。所有这样的K组成了一个序列S,现在给出一个数n,求S中 >= 给定数的最小的数。例如:n = 13,S原创 2017-05-02 20:47:20 · 281 阅读 · 0 评论 -
CodeForces 371C Hamburgers(二分)
C. Hamburgerstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarpus loves hamburgers very much. He espe原创 2016-07-29 09:38:54 · 212 阅读 · 0 评论 -
CodeForces 274 A. k-Multiple Free Set
A. k-Multiple Free Settime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA k-multiple free set is a set of in原创 2016-07-28 23:03:58 · 233 阅读 · 0 评论 -
poj 1905 Expanding Rods(二分)
Expanding RodsTime Limit: 1000MS Memory Limit: 30000KTotal Submissions: 15090 Accepted: 4008DescriptionWhen a thin rod of length L is heated n degrees, it expands原创 2016-07-26 20:45:24 · 155 阅读 · 0 评论 -
poj 2507 Crossed ladders
Crossed laddersTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 5012 Accepted: 1921DescriptionA narrow street is lined with tall buildings. An x foot lon原创 2016-07-26 21:01:58 · 192 阅读 · 0 评论 -
hd 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): 23753 Accepted Submission(s): 6012Problem DescriptionGive yo原创 2016-07-26 21:08:27 · 175 阅读 · 0 评论 -
hd 1969 Pie (二分)
PieTime Limit: 5000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 9322 Accepted Submission(s): 3374Problem DescriptionMy birthday is coming原创 2016-07-27 11:03:25 · 268 阅读 · 0 评论 -
poj 3258 River Hopscotch(二分最大化最小值)
River HopscotchTime Limit: 2000MS Memory Limit: 65536KTotal Submissions: 11419 Accepted: 4902DescriptionEvery year the cows hold an event featuring a peculiar ver原创 2016-07-27 11:46:18 · 203 阅读 · 0 评论 -
Red packet (二分)
Red packetTime Limit:1000MS Memory Limit:65535KB 64bit IO Format:Submit StatusDescriptionNew Year is coming! Our big boss Wine93 will distribute some “Red Package”, just li原创 2016-07-27 18:07:44 · 551 阅读 · 0 评论 -
Multiplication Table (二分)
Multiplication TableTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmit StatusDescriptionBizon the Champion isn't just charming, he also is very sma原创 2016-07-27 19:40:05 · 282 阅读 · 0 评论 -
coderforces 670D2 Magic Powder - 2
D2. Magic Powder - 2time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe term of this problem is the same as原创 2016-07-27 20:44:55 · 249 阅读 · 0 评论 -
coderforces 372A Counting Kangaroos is Fun(二分)
A. Counting Kangaroos is Funtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n kangaroos with pock原创 2016-07-27 21:19:15 · 245 阅读 · 0 评论 -
coderforces 348A Mafia(二分)
A. Mafiatime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day n friends gathered together to play "Mafia原创 2016-07-27 21:42:42 · 252 阅读 · 0 评论 -
51nod 1087 1 10 100 1000【二分】
1087 1 10 100 1000题目来源: Ural 1209基准时间限制:1 秒 空间限制:131072 KB 分值: 5 难度:1级算法题 收藏 关注1,10,100,1000...组成序列1101001000...,求这个序列的第N位是0还是1。Input第1行:一个数T,表示后面用作输入原创 2017-04-23 17:19:12 · 394 阅读 · 0 评论