二分
相知无悔
这个作者很懒,什么都没留下…
展开
-
hdu4190
Distributing Ballot BoxesTime Limit: 20000/10000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 588 Accepted Submission(s): 294Problem DescriptionToday, bes原创 2013-07-29 08:59:34 · 1045 阅读 · 0 评论 -
Codeforces Round #323 (Div. 1) B. Once Again... 最长非严格递增子序列
B. Once Again… time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output You are given an array of positive integers a1, a2, …, an × T of length n ×原创 2015-10-05 18:07:05 · 1272 阅读 · 0 评论 -
Codeforces Round #Pi (Div. 2) D. One-Dimensional Battle Ships 二分 stl应用
D. One-Dimensional Battle Shipstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAlice and Bob love playing o原创 2015-08-06 03:50:42 · 805 阅读 · 0 评论 -
Codeforces Round #316 (Div. 2) D. Tree Requests 树 离线在线 算法
D. Tree Requeststime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputRoman planted a tree consisting of n verti原创 2015-08-18 01:07:20 · 759 阅读 · 0 评论 -
VK Cup 2015 - Finals, online mirror D. Restructuring Company 并查集 stl应用
D. Restructuring Companytime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputEven the most successful company c原创 2015-07-31 09:21:06 · 898 阅读 · 1 评论 -
Codeforces Round #309 (Div. 1) D. Nudist Beach 二分 贪心
D. Nudist Beachtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputNudist Beach is planning a military operati原创 2015-07-18 10:14:40 · 1075 阅读 · 0 评论 -
hdu 5312 三角形数 二分查找
SequenceTime Limit: 2000/2000 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others)Total Submission(s): 891 Accepted Submission(s): 271Problem DescriptionToday, Soda has learn原创 2015-07-27 14:47:05 · 866 阅读 · 0 评论 -
Codeforces Round #289 (Div. 2, ACM ICPC Rules) E. Pretty Song
E. Pretty Songtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputWhen Sasha was studying in the seventh grade,原创 2015-07-08 11:09:22 · 875 阅读 · 0 评论 -
Codeforces Round #199 (Div. 2) B. Xenia and Spies
B. Xenia and Spiestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputXenia the vigorous detective faced n (n原创 2013-09-12 19:02:39 · 1248 阅读 · 0 评论 -
poj 3245 Sequence Partitioning
Sequence PartitioningTime Limit: 8000MS Memory Limit: 65536KTotal Submissions: 922 Accepted: 256Case Time Limit: 5000MSDescriptionGiven a sequence of N orde原创 2013-08-14 08:43:25 · 1402 阅读 · 0 评论 -
foj2202 Problem 2202 犯罪嫌疑人
Problem 2202 犯罪嫌疑人 Accept: 30 Submit: 69 Time Limit: 1000 mSec Memory Limit : 65536 KB Problem Description 福尔摩斯是个大侦探,他总是在解决疑难案件。这一次的案件也不例外,案件是这样的:有编号为1到N的N位嫌疑犯,他们其中有一个犯了罪,然后每个嫌疑犯都被询问,“哪一个人犯原创 2015-10-06 20:55:12 · 605 阅读 · 0 评论