
二分
qiuxueming_csdn
喜欢编程
展开
-
Big String 二分法的问题
We will construct an infinitely long string from two short strings: A = "^__^" (four characters), and B = "T.T" (three characters). Repeat the following steps:Concatenate A after B to obtain a n原创 2015-10-29 17:47:49 · 390 阅读 · 0 评论 -
CodeForces 671B Robin Hood
DescriptionWe all know the impressive story of Robin Hood. Robin Hood uses his archery skills and his wits to steal the money from rich, and return it to the poor.There are n citizens in K原创 2016-05-25 17:07:44 · 804 阅读 · 0 评论 -
codeforces 660C Hard Process
You are given an array a with n elements. Each element of a is either0 or 1.Let's denote the length of the longest subsegment of consecutive elements in a, consisting of only numbers one原创 2016-06-01 19:06:00 · 459 阅读 · 0 评论 -
codeforces 803D Magazine Ad
D. Magazine Adtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe main city magazine offers its readers an原创 2017-04-29 16:13:15 · 517 阅读 · 0 评论 -
codeforces 782B The Meeting Place Cannot Be Changed
. The Meeting Place Cannot Be Changedtime limit per test5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe main road in Byte原创 2017-03-06 14:10:18 · 746 阅读 · 2 评论 -
codeforces 670C Cinema
C. Cinematime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputMoscow is hosting a major international con原创 2016-05-13 14:10:02 · 356 阅读 · 0 评论 -
Vasya and Basketball codeforces 493c 二分二分
B - Vasya and BasketballCrawling in process...Crawling failedTime Limit:2000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u Vasya follows a basketball game and marks the di原创 2016-01-05 15:27:55 · 496 阅读 · 0 评论 -
Maximum Value二分二分 暴力暴力
D - Maximum ValueTime Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64uSubmitStatusDescriptionYou are given a sequence a consisting ofn integers. Find the maximu原创 2016-01-04 18:08:44 · 507 阅读 · 0 评论