codeforces
文章平均质量分 87
qiuxueming_csdn
喜欢编程
展开
-
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 · 726 阅读 · 0 评论 -
codeforces 723D Lakes in Berland
D. Lakes in Berlandtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThe map of Berland is a rectangle of th原创 2016-10-05 14:27:11 · 317 阅读 · 0 评论 -
codefroces 723c Polycarp at the Radio
C. Polycarp at the Radiotime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp is a music editor at the原创 2016-10-03 23:48:12 · 290 阅读 · 0 评论 -
codeforces 688c 二分图判断
Recently, Pari and Arya did some research about NP-Hard problems and they found theminimum vertex cover problem very interesting.Suppose the graph G is given. Subset A of its vertices is called原创 2016-07-01 14:51:51 · 960 阅读 · 0 评论 -
codeforces 656b Scrambled
Btoh yuo adn yuor roomatme lhoate wianshg disehs, btu stlil sdmoeboy msut peorrfm tihs cohre dialy. Oen dya yuo decdie to idourtcne smoe syestm. Yuor rmmotaoe sstgegus teh fooniwllg dael. Yuo ar原创 2016-06-13 22:03:39 · 398 阅读 · 0 评论 -
codeforces 677c Vanya and Label
While walking down the street Vanya saw a label "Hide&Seek". Because he is a programmer, he used& as a bitwise AND for these two words represented as a integers in base64 and got new word. N原创 2016-06-02 19:14:12 · 523 阅读 · 0 评论 -
codeforces 670E Correct Bracket Sequence Editor
Recently Polycarp started to develop a text editor that works only with correct bracket sequences (abbreviated as CBS).Note that a bracket sequence is correct if it is possible to get a correct math原创 2016-05-27 15:10:49 · 412 阅读 · 0 评论 -
codeforces 670D1 Magic Powder - 1
题目链接:http://codeforces.com/problemset/problem/670/D1题目:Magic Powder - 1time limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output原创 2016-05-21 19:42:32 · 814 阅读 · 0 评论 -
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 · 321 阅读 · 0 评论 -
codeforces 581C Developing Skills
题目链接:http://codeforces.com/contest/581/problem/C C. Developing Skillstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard ou原创 2016-05-02 18:43:38 · 258 阅读 · 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 · 451 阅读 · 0 评论 -
Codeforces 4B多组解中找到一个符合题意的解
DescriptionTomorrow Peter has a Biology exam. He does not like this subject much, but d days ago he learnt that he would have to take this exam. Peter's strict parents made him prepare for原创 2015-08-28 11:50:33 · 406 阅读 · 0 评论 -
codeforces 782c Andryusha and Colored Balloons
C. Andryusha and Colored Balloonstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAndryusha goes through a原创 2017-03-06 14:54:56 · 260 阅读 · 0 评论 -
codeforces 791B Bear and Friendship Condition
B. Bear and Friendship Conditiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBear Limak examines a social原创 2017-03-19 12:57:43 · 849 阅读 · 0 评论 -
codeforces 675C Money Transfers
There are n banks in the city where Vasya lives, they are located in a circle, such that any two banks are neighbouring if their indices differ by no more than 1. Also, bank 1 and bank n are neighbo原创 2016-05-29 00:36:34 · 475 阅读 · 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 · 428 阅读 · 0 评论 -
codeforces 789B Masha and geometric depression
. Masha and geometric depressiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMasha really loves algebra.原创 2017-03-30 12:52:01 · 504 阅读 · 0 评论 -
codeforces 789C Functions again
C. Functions againtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputSomething happened in Uzhlyandia again...原创 2017-03-30 12:38:45 · 483 阅读 · 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 · 474 阅读 · 0 评论 -
codeforces 732D 模拟暴力
D. Examstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasiliy has an exam period which will continue for原创 2016-10-18 23:36:49 · 480 阅读 · 0 评论 -
codeforces 731C 并查集
C. Sockstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputArseniy is already grown-up and independent. His m原创 2016-10-23 21:11:09 · 603 阅读 · 0 评论 -
codeforces 749C Voting
C. Votingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are n employees in Alternative Cake Manufacturing (ACM原创 2016-12-20 12:42:00 · 524 阅读 · 0 评论 -
codefroces 746D Green and Black Tea
D. Green and Black Teatime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputInnokentiy likes tea very much and to原创 2016-12-20 19:02:11 · 332 阅读 · 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 · 676 阅读 · 2 评论 -
codefroces 791C Bear and Different Names
C. Bear and Different Namestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn the army, it isn't easy to fo原创 2017-03-19 13:09:01 · 574 阅读 · 0 评论 -
codeforces 810C
C. Do you want a date?time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputLeha decided to move to a quiet town原创 2017-05-26 18:37:59 · 420 阅读 · 0 评论