算法--二分
codancer
为信仰而战斗
展开
-
Cable master(白书学习之路之二分)
Cable masterTime Limit: 1000MS Memory Limit: 10000KTotal Submissions:58255 Accepted: 12161DescriptionInhabitants of the Wonderland have decided to hold a regional programming contest. The Judging Comm...原创 2018-03-31 09:55:09 · 328 阅读 · 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中 >= 13的最小的数是15,所以输出15。Input第...原创 2018-04-15 17:14:40 · 188 阅读 · 0 评论 -
【codeforces 798A】Mike and palindrome
A. Mike and palindrometime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputMike has a string s consisting of only lowercase English letters. He wants t...原创 2018-04-11 20:58:37 · 155 阅读 · 0 评论 -
【HDU 1025】Constructing Roads In JGShining's Kingdom(LIS)
Constructing Roads In JGShining's KingdomTime Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 28818 Accepted Submission(s): 8168Problem Descriptio...原创 2018-06-18 17:05:47 · 131 阅读 · 0 评论 -
【Codeforces 279B】books
B. Books time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output When Valera has got some free time, he goes to the library to read so...原创 2018-04-16 21:21:59 · 247 阅读 · 0 评论 -
【poj 2774】Long Long Message(HASH+二分)
Long Long Message Time Limit: 4000MS Memory Limit: 131072K Total Submissions: 34731 Accepted: 13929 Case Time Limit: 1000MS Description The little cat is majoring in physics in the ca...原创 2018-08-20 20:40:17 · 484 阅读 · 0 评论