![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
CF
文章平均质量分 84
键盘里的青春
加油~
展开
-
CodeForces - 996D Suit and Tie (贪心)
D. Suit and Tietime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAllen is hosting a formal dinner party. 2n2n people come to the event in nn pairs (...原创 2018-07-03 11:27:21 · 455 阅读 · 0 评论 -
Codeforces Round #395 (Div. 2) D Timofey and rectangles(思维题)
D. Timofey and rectanglestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne of Timofey's birthday present原创 2017-02-03 23:24:12 · 868 阅读 · 0 评论 -
Codeforces Round #395 (Div. 2) C. Timofey and a tree (树的基础应用)
C. Timofey and a treetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputEach New Year Timofey and his friends原创 2017-02-03 23:17:22 · 1189 阅读 · 0 评论 -
CodeForces 363D Renting Bikes (二分+贪心)
D. Renting Bikestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA group of n schoolboys decided to ride bik原创 2017-02-24 13:06:37 · 578 阅读 · 0 评论 -
Educational Codeforces Round 17 C && codeforces 762C C. Two strings 详细的题解 (前后缀应用)
C. Two stringstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given two strings a and b. You hav原创 2017-02-02 13:39:24 · 1184 阅读 · 0 评论 -
Codeforces Round #210 (Div. 2) C. Levko and Array Recovery && Codeforces 360 A 详解(思维+维护理论值)
C. Levko and Array Recoverytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLevko loves array a1, a2, ...原创 2017-02-23 14:07:31 · 701 阅读 · 0 评论 -
Codeforces Round #392 (Div. 2) C && 758C Unfair Poll(模拟)
C. Unfair Polltime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOn the Literature lesson Sergei noticed an aw原创 2017-01-21 14:57:37 · 699 阅读 · 0 评论 -
Codeforces Round #392 (Div. 2) B.Blown Garland(水题)
B. Blown Garlandtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputNothing is eternal in the world, Kostya und原创 2017-01-21 00:13:29 · 900 阅读 · 0 评论 -
Codeforces 676C - Vasya and String 详解(二分前缀和+尺取两种写法)
C. Vasya and Stringtime limit per test 1 secondmemory limit per test 256 megabytesinput standard inputoutput standard outputHigh school student Vasya got a stri原创 2017-01-16 23:35:10 · 1311 阅读 · 0 评论 -
codeforces 429B B. Working out 详解(dp)
D. Working outtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputSummer is coming! It's time for Iahub and Iahubina t原创 2017-01-16 22:27:41 · 1728 阅读 · 0 评论 -
GoodBye 2016 C. New Year and Rating 详解(维护不等式)
C. New Year and Ratingtime limit per test 2 secondsmemory limit per test 256 megabytesinput standard inputoutput standard outputEvery Codeforces user has rating原创 2017-01-14 23:47:27 · 535 阅读 · 0 评论 -
Codeforces Round #387 (Div. 2) C && coedeforces 744 C Servers(水题)
C. Serverstime limit per test 2 secondsmemory limit per test 256 megabytesinput standard inputoutput standard outputThere are n servers in a laboratory, each of原创 2016-12-19 20:55:40 · 918 阅读 · 0 评论 -
CodeForces 748E. Santa Claus and Tangerines 题解(递推or二分)
Santa Claus has n tangerines, and the i-th of them consists of exactly ai slices. Santa Claus came to a school which has k pupils. Santa decided to treat them with tangerines.However, there ca原创 2017-03-11 22:45:49 · 475 阅读 · 0 评论 -
Codeforces 367B Sereja ans Anagrams 详细题解(map应用+维护长度)
B. Sereja ans Anagrams time limit per test1 second memory limit per test256 megabytes inputstandard input outputstandard output Sereja has two sequences a and b and number p. Sequence a cons原创 2017-03-11 22:59:29 · 560 阅读 · 0 评论 -
Codeforces 987C Three displays (思维)
C. Three displaystime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIt is the middle of 2018 and Maria Stepanovna, who lives outside Krasnokamensk (a ...原创 2018-07-08 20:25:19 · 423 阅读 · 1 评论 -
Educational Codeforces Round 42 BCD
好久没做cf,四道题读错2道你敢信- -B. Students in Railway Carriagetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere are nn consecutive seat places in a railw...原创 2018-04-17 17:44:33 · 256 阅读 · 0 评论 -
Codeforces 851D Arpa and a list of numbers (枚举+分段)
D. Arpa and a list of numberstime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputArpa has found a list contain原创 2017-09-08 01:05:13 · 591 阅读 · 0 评论 -
Codeforces 739B Alyona and a tree (树上差分+二分)
D. Alyona and a treetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAlyona has a tree with n vertices. The原创 2017-04-19 22:44:49 · 1118 阅读 · 0 评论 -
Codeforces Round #377 (Div. 2) D. Exams && codeforce 732 D 详解(贪心+二分)
D. Examstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputVasiliy has an exam period which will continue for原创 2016-10-18 22:54:23 · 1140 阅读 · 6 评论 -
Codeforces 734E Anton and Tree (dfs缩点+树的直径)
E. Anton and Treetime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAnton is growing a tree in his garden. In case yo原创 2017-07-07 18:48:59 · 731 阅读 · 0 评论 -
Codefores 821C Okabe and Boxes
C. Okabe and Boxestime limit per test3 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOkabe and Super Hacker Daru are stacking原创 2017-07-05 15:39:25 · 324 阅读 · 0 评论 -
Codeforces 822C Hacker, pack your bags!(思维+技巧)
C. Hacker, pack your bags!time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputIt's well known that the best wa原创 2017-07-05 11:58:54 · 1895 阅读 · 0 评论 -
codeforces 797 E Array Queries
E. Array Queriestime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputa is an array of n positive integers, al原创 2017-04-22 23:55:16 · 775 阅读 · 0 评论 -
codeforce 798C Mike and gcd problem (简单数学)
C. Mike and gcd problemtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputMike has a sequence A = [a1, a2, ..原创 2017-04-22 12:37:43 · 586 阅读 · 2 评论 -
CodeForces 776C Molly's Chemicals (思维+前缀)
C. Molly's Chemicalstime limit per test 2.5 secondsmemory limit per test 512 megabytesinput standard inputoutput standard outputMolly Hooper has n different kin原创 2017-04-16 16:53:30 · 672 阅读 · 0 评论 -
Codeforces Round #409 (rated, Div. 2, based on VK Cup 2017 Round 2) D (简单计算几何)
B. Volatile Kitetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a convex polygon P with n di原创 2017-04-17 16:41:53 · 406 阅读 · 0 评论 -
Codeforces Round #387 (Div. 2) D && coedeforces 744 D. Winter Is Coming(贪心)
D. Winter Is Comingtime limit per test 1 secondmemory limit per test 256 megabytesinput standard inputoutput standard outputThe winter in Berland lasts n days.原创 2016-12-19 20:41:53 · 789 阅读 · 0 评论 -
Codeforces Round #382 (Div. 2) D. Taxes (哥德巴赫猜想)
D. Taxes题目链接http://codeforces.com/contest/735/problem/D题面Mr. Funt now lives in a country with a very specific tax laws. The total income of mr. Funt during this year is equal to n原创 2016-12-16 15:15:33 · 559 阅读 · 0 评论 -
Codeforces Round #365 (Div. 2) B
B. Mishka and triptime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputLittle Mishka is a great traveller and she visited原创 2016-10-17 12:33:47 · 520 阅读 · 0 评论 -
Codeforces Round #376 (Div. 2) A && B
A. Night at the Museumtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputGrigoriy, like the hero of one famous原创 2016-10-17 11:10:14 · 707 阅读 · 0 评论 -
Codeforces Round #374 (Div. 2) A && B(两个水题)
A. One-dimensional Japanese Crosswordtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputRecently Adaltik disco原创 2016-10-01 00:49:24 · 721 阅读 · 0 评论 -
Codeforces Round #375 (Div. 2) C (贪心)
C. Polycarp at the Radiotime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputPolycarp is a music editor at the原创 2016-11-06 17:12:41 · 447 阅读 · 0 评论 -
Codeforces Round #378 (Div. 2) C && Codeforces 733C (模拟)详解(两种写法)
C. Epidemic in Monstropolistime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere was an epidemic in Monstro原创 2016-11-06 15:59:33 · 680 阅读 · 0 评论 -
Codeforces Round #373 (Div. 2) A(细节题) && B(思维题)
A. Vitya in the Countrysidetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputEvery summer Vitya comes to visi原创 2016-09-24 16:35:39 · 515 阅读 · 0 评论 -
☆ Codeforces 724C Ray Tracing 扩展欧几里得 + 计算几何
转载的,然而我并看不懂。。。希望以后能够看懂,觉得是个好题C. Ray Tracingtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputThere转载 2016-10-09 14:31:36 · 1905 阅读 · 2 评论 -
Intel Code Challenge Final Round (Div. 1 + Div. 2, Combined) B(模拟) && codeforce 724B Batch Sort
B. Batch Sorttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a table consisting of n rows an原创 2016-10-09 12:36:51 · 625 阅读 · 0 评论 -
Codeforces Round #371 (Div. 2) A. Meeting of Old Friends
A. Meeting of Old Friendstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputToday an outstanding event is goin原创 2016-09-14 12:52:35 · 618 阅读 · 0 评论 -
Codeforces Round #371 (Div. 2)B. Filya and Homework
B. Filya and Homeworktime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputToday, hedgehog Filya went to school f原创 2016-09-14 13:02:34 · 529 阅读 · 0 评论 -
Codeforces Round #371 (Div. 2)C. Sonya and Queries
C. Sonya and Queriestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputToday Sonya learned about long integers原创 2016-09-14 14:30:34 · 848 阅读 · 1 评论 -
Codeforces Round #372 (Div. 2) B. Complete the Word
B. Complete the WordZS the Coder loves to read the dictionary. He thinks that a word is nice if there exists a substring (contiguous segment of letters) of it of length26 where each le原创 2016-09-18 13:26:20 · 814 阅读 · 0 评论