![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Codeforces
文章平均质量分 89
VampireWeekend
I want my dreams to rescue me
展开
-
Codeforces 55D Beautiful numbers 数位DP
D. Beautiful numberstime limit per test4 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputVolodya is an odd boy and his taste is原创 2017-07-19 11:58:37 · 267 阅读 · 0 评论 -
Codeforces Round #448 (Div. 2) ABC
神奇的一场,两题可以出现在排名首页。A. Pizza Separationtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputStudents Vas原创 2017-11-27 14:47:02 · 1297 阅读 · 4 评论 -
Codeforces Round #383 (Div. 1)
A. Arpa's loud Owf and Mehrdad's evil plantime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs you have notic原创 2017-11-26 17:04:15 · 255 阅读 · 0 评论 -
Codeforces Round #245 (Div. 1) ABCDE
Codeforces Round #245 (Div. 1) 赛前随便选了一场 CF Div 1A. Xor-treetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIahub is very p原创 2017-10-21 23:42:44 · 346 阅读 · 0 评论 -
Codeforces Round #423 Div.2 A B C D E F
A. Restaurant Tablestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputIn a small restaurant there are a table原创 2017-07-12 23:58:36 · 837 阅读 · 0 评论 -
Codeforces Round #436 (Div. 2) ABCDEF
水题场。。。A. Fair Gametime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputPetya and Vasya decided to play原创 2017-09-30 14:57:09 · 866 阅读 · 0 评论 -
Codeforces Round #364 (Div. 1) A B C D E
E题好艰难。唉,补完去搞midterm了。A. As Fast As Possibletime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputOn vacat原创 2017-11-05 11:07:50 · 379 阅读 · 0 评论 -
Codeforces Round #447 (Div. 2) ABCDE
A. QAQtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output"QAQ" is a word to denote an expression of crying. Im原创 2017-11-28 17:35:39 · 224 阅读 · 0 评论 -
Codeforces Round #349 (Div. 1)
A. Reberland Linguisticstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFirst-rate specialists graduate fro原创 2017-11-18 19:29:59 · 306 阅读 · 0 评论 -
Codeforces Round #442 (Div. 2) ABCDE
升紫了,开心~A. Alex and broken contesttime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputOne day A原创 2017-10-24 19:20:04 · 362 阅读 · 0 评论 -
Codeforces Round #450~#451 嘴炮AC
补期末考试欠的账C. Remove Extra Onetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a permutation原创 2018-01-17 15:31:12 · 172 阅读 · 0 评论 -
Codeforces Round #473 (Div. 2) ABCDE
A. Mahmoud and Ehab and the even-odd gametime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMahmoud and Ehab play a game called the even-odd game. Eha...原创 2018-04-04 03:37:16 · 468 阅读 · 0 评论 -
Educational Codeforces Round 40 (Rated for Div. 2)
A. Diagonal Walkingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputMikhail walks on a 2D plane. He can go either up or right. You are given a seque...原创 2018-03-23 21:50:53 · 489 阅读 · 0 评论 -
VK Cup 2018 - Wild-card Round 1 纪念一下Python第一题
A. 2-3-numberstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputA positive integer is called a 2-3-integer, if it is equal to 2x·3y for some non-nega...原创 2018-03-18 17:11:47 · 299 阅读 · 0 评论 -
Codeforces Round #463 (Div. 1 + Div. 2, combined)
A. Palindromic Supersequencetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are given a string A. Find a string B, where B is a palindrome and...原创 2018-03-13 21:59:07 · 213 阅读 · 0 评论 -
Codeforces Round #469 (Div. 2)
开学啦!A. Left-handers, Right-handers and Ambidexterstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou are at a water bowling training. There are l ...原创 2018-03-09 20:35:01 · 606 阅读 · 0 评论 -
Codeforces Round #464 (Div. 2) ABCDE
A. Love Triangletime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs you could know there are no male planes nor female planes. However, each plane o...原创 2018-02-18 17:09:52 · 415 阅读 · 0 评论 -
Codeforces Round #461 (Div. 2) ABCDE
A. Cloning Toystime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputImp likes his plush toy a lot.Recently, he found a machine that can clone plush toys...原创 2018-02-18 16:56:06 · 302 阅读 · 0 评论 -
Codeforces 922E Birds DP
E. Birdstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputApart from plush toys, Imp is a huge fan of little yellow birds!To summon birds, Imp needs ...原创 2018-02-18 16:23:37 · 693 阅读 · 0 评论 -
Codeforces 889B (Codeforces Round #445 Div. 1) Restoration of string 图论
B. Restoration of stringtime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputA substring of some string is call原创 2017-11-13 13:31:11 · 740 阅读 · 0 评论 -
Codeforces Round #438 (Div. 1 + Div. 2 combined) ABCDF
D题还是有点难想,还好有unordered_map...A. Bark to Unlocktime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs原创 2017-10-05 19:58:20 · 385 阅读 · 0 评论 -
Codeforces Round #432 (Div. 2, based on IndiaHacks Final Round 2017)
A. Arpa and a research in Mexican wavetime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputArpa is researching t原创 2017-09-05 22:04:52 · 277 阅读 · 0 评论 -
Codeforces Round #433 (Div. 2, based on Olympiad of Metropolises)
第一次在正式场里面做出四题,前100,鸡冻惹!A. Fractiontime limit per test1 secondmemory limit per test512 megabytesinputstandard inputoutputstandard outputPetya is a big原创 2017-09-06 23:52:41 · 708 阅读 · 0 评论 -
Codeforces Round #419 (Div. 2) A B C D
A. Karen and Morning time limit per test2 seconds memory limit per test512 megabytes inputstandard input outputstandard output Karen is getting ready for a new school day!It is currently hh:mm, gi原创 2017-06-18 19:54:36 · 345 阅读 · 0 评论 -
Codeforces Round #419 (Div. 2) (Codeforces 815B) D. Karen and Test 组合数学
D. Karen and Testtime limit per test2 secondsmemory limit per test512 megabytesinputstandard inputoutputstandard outputKaren has just arrived at school, and she原创 2017-08-30 16:14:55 · 342 阅读 · 0 评论 -
Codeforces 785D Anton and School - 2 组合数学
D. Anton and School - 2time limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAs you probably know, Anton goes to原创 2017-06-29 19:39:10 · 332 阅读 · 0 评论 -
Codeforces 86D Powerful array 莫队算法 分块
D. Powerful arraytime limit per test5 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputAn array of positive integers a1, a2, ...原创 2017-07-18 16:35:39 · 267 阅读 · 0 评论 -
Codeforces Round #428 (Div. 2) A B C D
A. Arya and Brantime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputBran and his older sister Arya are from原创 2017-08-13 23:16:14 · 452 阅读 · 0 评论 -
Codeforces Round #408 Div.2 A B C D
A. Buying A Housetime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputZane the wizard had never loved anyone be原创 2017-08-10 20:04:27 · 344 阅读 · 0 评论 -
Codeforces Round #426 (Div. 2) A B C D E
假装AK一场。原创 2017-08-31 14:13:49 · 311 阅读 · 0 评论 -
Codeforces Round #427 (Div. 2) A B C D
A. Key racestime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputTwo boys decided to compete in text typing on t原创 2017-08-01 02:03:11 · 1633 阅读 · 0 评论 -
Codeforces Round #434 (Div. 2, based on Technocup 2018 Elimination Round 1) ABCDF
又是一轮CFA题挂了,还好unratedA. k-roundingtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputFor a given po原创 2017-09-18 13:46:09 · 547 阅读 · 0 评论 -
Codeforces Manthan, Codefest 17 C. Helga Hufflepuff's Cup 树型DP
C. Helga Hufflepuff's Cuptime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputHarry, Ron and Hermione have figu原创 2017-09-25 11:50:18 · 231 阅读 · 0 评论 -
Manthan, Codefest 17 E. Salazar Slytherin's Locket 数位DP+状态压缩
E. Salazar Slytherin's Lockettime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputHarry came to know from Dumbl原创 2017-09-27 19:31:47 · 330 阅读 · 0 评论 -
Codeforces 869C ( Codeforces Round #439 (Div. 2) ) The Intriguing Obsession 组合数学
C. The Intriguing Obsessiontime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard output— This is not playing but duty a原创 2017-10-07 00:50:58 · 612 阅读 · 0 评论 -
Codeforces Round #431 (Div. 2) A B C D E
A. Odds and Endstime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputWhere do odds begin, and where do they end?原创 2017-09-11 20:22:32 · 203 阅读 · 0 评论 -
Codeforces Round #424 Div.2 A B C D E F
A. Unimodal Arraytime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputArray of integers is unimodal, if:it原创 2017-07-15 10:14:04 · 784 阅读 · 0 评论 -
Codeforces Round #410 (Div. 2) A B C D E
A. Mike and palindrometime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputMike has a string s consisting of on原创 2017-09-01 19:21:28 · 335 阅读 · 0 评论 -
Codeforces Round #430 (Div. 2) A B C D
A. Kirill And The Gametime limit per test2 secondsmemory limit per test256 megabytesinputstandard inputoutputstandard outputKirill plays a new computer game. He原创 2017-08-31 21:38:19 · 385 阅读 · 0 评论 -
Codeforces Round #484 (Div. 2)
A. Rowtime limit per test1 secondmemory limit per test256 megabytesinputstandard inputoutputstandard outputYou're given a row with nn chairs. We call a seating of people "maximal" if the two following...原创 2018-05-18 11:23:16 · 748 阅读 · 0 评论