二分
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 · 362 阅读 · 0 评论 -
CodeForces 671B Robin Hood
Description We 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 · 735 阅读 · 0 评论 -
codeforces 660C Hard Process
You are given an array a with n elements. Each element of a is either 0 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 · 430 阅读 · 0 评论 -
codeforces 803D Magazine Ad
D. Magazine Ad time limit per test 1 second memory limit per test 256 megabytes input standard input output standard output The main city magazine offers its readers an原创 2017-04-29 16:13:15 · 480 阅读 · 0 评论 -
codeforces 782B The Meeting Place Cannot Be Changed
. The Meeting Place Cannot Be Changed time limit per test 5 seconds memory limit per test 256 megabytes input standard input output standard output The main road in Byte原创 2017-03-06 14:10:18 · 686 阅读 · 2 评论 -
codeforces 670C Cinema
C. Cinema time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard output Moscow is hosting a major international con原创 2016-05-13 14:10:02 · 328 阅读 · 0 评论 -
Vasya and Basketball codeforces 493c 二分二分
B - Vasya and Basketball Crawling in process... Crawling failed Time 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 · 465 阅读 · 0 评论 -
Maximum Value二分二分 暴力暴力
D - Maximum Value Time Limit:1000MS Memory Limit:262144KB 64bit IO Format:%I64d & %I64u SubmitStatus Description You are given a sequence a consisting of n integers. Find the maximu原创 2016-01-04 18:08:44 · 457 阅读 · 0 评论