Codeforces problemset search & solutions
Exclude tags.

Review the problem statement from Codeforces (link will open a new tab). When you've matched your problem, go to the solutions.

Search on plain tags, ratings, names, and problem text. Example: brute force or binary search

< 1 2 3 4 5 6 7 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
20912 Carrot Cakes brute force implementation Statement A Playrix Codescapes Cup (Codeforces Round 413, rated, Div. 1 + Div. 2) {799} PROGRAMMING Playrix Codescapes Cup Problems Analysis 1200
2175 Field expansion brute force dp meet-in-the-middle Statement D Playrix Codescapes Cup (Codeforces Round 413, rated, Div. 1 + Div. 2) {799} PROGRAMMING Playrix Codescapes Cup Problems Analysis 2000
7652 Vicious Keyboard brute force Statement A Codeforces Round 409 (rated, Div. 2, based on VK Cup 2017 Round 2) {801} PROGRAMMING 1100
1552 Expected diameter of a tree binary search brute force dfs and similar dp sortings trees Statement D Codeforces Round 411 (Div. 1) {804} PROGRAMMING Codeforces Round #411 Editorial 2600
3662 T-Shirt Hunt brute force implementation Statement B Codeforces Round 412 (rated, Div. 2, base on VK Cup 2017 Round 3) {807} PROGRAMMING VK Cup 2017 Round 3 + Codeforces Round #412 -- Tutorial 1300
12358 Vladik and Courtesy brute force implementation Statement A Codeforces Round 416 (Div. 2) {811} PROGRAMMING Editorial 900
5511 Sagheer, the Hausmeister bitmasks brute force dp Statement B Codeforces Round 417 (Div. 2) {812} PROGRAMMING [Editorial] Codeforces Round #417 (Div. 2) 1600
4426 The Golden Age brute force math Statement B Educational Codeforces Round 22 {813} PROGRAMMING 52410 1700
7706 An impassioned circulation of affection brute force dp strings two pointers Statement C Codeforces Round 418 (Div. 2) {814} PROGRAMMING Codeforces Round #418 (Div. 2) Editorial 1600
5885 Karen and Game brute force greedy implementation Statement A Codeforces Round 419 (Div. 1) {815} PROGRAMMING Codeforces Round #419 Editorial 1700
1600 Karen and Test brute force combinatorics constructive algorithms math Statement B Codeforces Round 419 (Div. 1) {815} PROGRAMMING Codeforces Round #419 Editorial 2200
3282 Karen and Supermarket brute force dp trees Statement C Codeforces Round 419 (Div. 1) {815} PROGRAMMING Codeforces Round #419 Editorial 2500
9696 Karen and Morning brute force implementation Statement A Codeforces Round 419 (Div. 2) {816} PROGRAMMING Codeforces Round #419 Editorial 1100
8446 Really Big Numbers binary search brute force dp math Statement C Educational Codeforces Round 23 {817} PROGRAMMING 52638 1600
1370 Sofa Thief brute force implementation Statement C Educational Codeforces Round 24 {818} PROGRAMMING 52991 2000
6045 Okabe and Banana Trees brute force math Statement B Codeforces Round 420 (Div. 2) {821} PROGRAMMING Tutorial 1300
10186 Crossword solving brute force implementation strings Statement B Codeforces Round 422 (Div. 2) {822} PROGRAMMING Codeforces Round #422 (Div. 2) Editorial 1100
3282 My pretty girl Noora brute force dp greedy math number theory Statement D Codeforces Round 422 (Div. 2) {822} PROGRAMMING Codeforces Round #422 (Div. 2) Editorial 1800
4781 Five-In-a-Row brute force implementation Statement B Educational Codeforces Round 25 {825} PROGRAMMING Educational Codeforces Round 25 - Editorial 1600
8206 Office Keys binary search brute force dp greedy sortings Statement A Codeforces Round 424 (Div. 1, rated, based on VK Cup Finals) {830} PROGRAMMING Codeforces Round #424 Editorial 1900
1306 Bamboo Partition brute force data structures implementation math number theory sortings two pointers Statement C Codeforces Round 424 (Div. 1, rated, based on VK Cup Finals) {830} PROGRAMMING Codeforces Round #424 Editorial 2500
5484 Jury Marks brute force constructive algorithms Statement C Codeforces Round 424 (Div. 2, rated, based on VK Cup Finals) {831} PROGRAMMING Codeforces Round #424 Editorial 1600
507 Ever-Hungry Krakozyabra brute force combinatorics greedy math Statement C Codeforces Round 426 (Div. 1) {833} PROGRAMMING Codeforces Round #426 Editorial 2600
4648 Palindromic characteristics brute force dp hashing strings Statement D Codeforces Round 427 (Div. 2) {835} PROGRAMMING Editorial 1900
4549 Two Seals brute force implementation Statement C Educational Codeforces Round 26 {837} PROGRAMMING 53662 1500
4356 Flag of Berland brute force implementation Statement B Educational Codeforces Round 26 {837} PROGRAMMING 53662 1600
1078 Prefix Sums binary search brute force combinatorics math matrices Statement F Educational Codeforces Round 26 {837} PROGRAMMING 53662 2500
1054 Binary Blocks brute force Statement A IndiaHacks 2nd Elimination 2017 (unofficial, unrated mirror, ICPC rules) {838} PROGRAMMING 53736 1400
3435 Game of the Rows brute force greedy implementation Statement B Codeforces Round 428 (Div. 2) {839} PROGRAMMING Codeforces Round #428 editorial 1700
1008 Mother of Dragons brute force graphs math meet-in-the-middle Statement E Codeforces Round 428 (Div. 2) {839} PROGRAMMING Codeforces Round #428 editorial 2600
14042 Generous Kefa brute force implementation Statement A Codeforces Round 429 (Div. 2) {841} PROGRAMMING T 900
11222 Kirill And The Game brute force two pointers Statement A Codeforces Round 430 (Div. 2) {842} PROGRAMMING Tutorial Codeforces Round #430 (Div. 2) 1300
2569 Interactive LowerBound brute force interactive probabilities Statement B AIM Tech Round 4 (Div. 1) {843} PROGRAMMING AIM Tech Round 4 -- Editorial 2000
5535 Luba And The Ticket brute force greedy implementation Statement B Educational Codeforces Round 27 {845} PROGRAMMING 53986 1600
4683 Curriculum Vitae brute force implementation Statement A Educational Codeforces Round 28 {846} PROGRAMMING 54357 1500
2837 Math Show brute force greedy Statement B Educational Codeforces Round 28 {846} PROGRAMMING 54357 1800
2966 Four Segments brute force data structures dp Statement C Educational Codeforces Round 28 {846} PROGRAMMING 54357 1900
3989 Tell Your World brute force geometry Statement B Codeforces Round 431 (Div. 2) {849} PROGRAMMING Codeforces Round #431 Editorial 1600
3375 Five Dimensional Points brute force geometry math Statement A Codeforces Round 432 (Div. 1, based on IndiaHacks Final Round 2017) {850} PROGRAMMING Codeforces Round #432 editorial 1700
532 Random Elections bitmasks brute force divide and conquer fft math Statement E Codeforces Round 432 (Div. 1, based on IndiaHacks Final Round 2017) {850} PROGRAMMING Codeforces Round #432 editorial 2800
731 Dating brute force dfs and similar graphs trees Statement I Bubble Cup X - Finals [Online Mirror] {852} PROGRAMMING Tutorial 2500
427 Digits brute force implementation math Statement A Bubble Cup X - Finals [Online Mirror] {852} PROGRAMMING Tutorial 2700
14509 Fraction brute force constructive algorithms math Statement A Codeforces Round 433 (Div. 2, based on Olympiad of Metropolises) {854} PROGRAMMING 900
9929 Marvolo Gaunt's Ring brute force data structures dp Statement B Manthan, Codefest 17 {855} PROGRAMMING 54750 1500
27003 Tom Riddle's Diary brute force implementation strings Statement A Manthan, Codefest 17 {855} PROGRAMMING 54750 700
1611 Set Theory brute force constructive algorithms Statement A Russian Code Cup 2017 - Finals [Unofficial Mirror, Div. 1 Only Recommended, Teams Allowed] {856} PROGRAMMING Tutorial 1600
8986 k-rounding brute force math number theory Statement A Технокубок 2018 - Отборочный Раунд 1 {858} PROGRAMMING Codeforces Round 434 Div.1+Div.2 (and Technocup 2018 — Elimination Round 1) Editorial 1200
4103 Which floor? brute force implementation Statement B Технокубок 2018 - Отборочный Раунд 1 {858} PROGRAMMING Codeforces Round 434 Div.1+Div.2 (and Technocup 2018 — Elimination Round 1) Editorial 1500
7895 Lazy Security Guard brute force geometry math Statement B MemSQL Start[c]UP 3.0 - Round 1 {859} PROGRAMMING Tutorial 1000
10832 Kayaking brute force greedy sortings Statement B Educational Codeforces Round 29 {863} PROGRAMMING Editorial 1500
10911 Quasi-palindrome brute force implementation Statement A Educational Codeforces Round 29 {863} PROGRAMMING Editorial 900
9972 Polycarp and Letters brute force implementation strings Statement B Codeforces Round 436 (Div. 2) {864} PROGRAMMING Codeforces Round #436 (Div.2) Разбор 1100
157 Hex Dyslexia bitmasks brute force dp graphs Statement E MemSQL Start[c]UP 3.0 - Round 2 (onsite finalists) {865} PROGRAMMING MemSQL Start[c]UP 3.0 Round 2 Editorial 2700
81 Egg Roulette bitmasks brute force divide and conquer math meet-in-the-middle Statement F MemSQL Start[c]UP 3.0 - Round 2 (onsite finalists) {865} PROGRAMMING MemSQL Start[c]UP 3.0 Round 2 Editorial 3300
9936 Bark to Unlock brute force implementation strings Statement A Codeforces Round 438 by Sberbank and Barcelona Bootcamp (Div. 1 + Div. 2 combined) {868} PROGRAMMING 55046 1000
5016 Qualification Rounds bitmasks brute force constructive algorithms dp Statement C Codeforces Round 438 by Sberbank and Barcelona Bootcamp (Div. 1 + Div. 2 combined) {868} PROGRAMMING 55046 1500
1004 Huge Strings bitmasks brute force dp implementation strings Statement D Codeforces Round 438 by Sberbank and Barcelona Bootcamp (Div. 1 + Div. 2 combined) {868} PROGRAMMING 55046 2100
9790 The Artful Expedient brute force implementation Statement A Codeforces Round 439 (Div. 2) {869} PROGRAMMING Tutorial 1200
278 The Overdosing Ubiquity brute force dfs and similar graphs Statement D Codeforces Round 439 (Div. 2) {869} PROGRAMMING Tutorial 2800
1291 Something with XOR Queries brute force interactive probabilities Statement D Technocup 2018 - Elimination Round 2 {870} PROGRAMMING Editorial Codeforces Round 440 Div.1+Div.2 (and Technocup 2018 — Elimination Round 2) 2100
10778 Search for Pretty Integers brute force implementation Statement A Technocup 2018 - Elimination Round 2 {870} PROGRAMMING Editorial Codeforces Round 440 Div.1+Div.2 (and Technocup 2018 — Elimination Round 2) 900
788 Awards For Contestants brute force data structures dp Statement E Educational Codeforces Round 30 {873} PROGRAMMING 55171 2500
10249 Classroom Watch brute force math Statement A Codeforces Round 441 (Div. 1, by Moscow Team Olympiad) {875} PROGRAMMING Codeforces Round #441. Editorial. 1200
11879 Nikita and string brute force dp Statement B Codeforces Round 442 (Div. 2) {877} PROGRAMMING 55362 1500
1779 Palindromic Cut brute force implementation strings Statement H 2017-2018 ACM-ICPC, NEERC, Southern Subregional Contest (Online Mirror, ACM-ICPC Rules, Teams Preferred) {883} PROGRAMMING 1800
11197 ACM ICPC brute force Statement A Технокубок 2018 - Отборочный Раунд 3 {886} PROGRAMMING Editorial Codeforces Round 445 (and Technocup 2018 — Elimination Round 3) 1100
5948 Cubes for Masha brute force implementation Statement B Codeforces Round 444 (Div. 2) {887} PROGRAMMING Codeforces Round #444 (Div. 2) Editorial 1300
2974 Solution for Cube brute force implementation Statement C Codeforces Round 444 (Div. 2) {887} PROGRAMMING Codeforces Round #444 (Div. 2) Editorial 1500
11948 Local Extrema brute force implementation Statement A Educational Codeforces Round 32 {888} PROGRAMMING Educational Codeforces Round 32 - Editorial 1600
14178 Pride brute force dp greedy math number theory Statement A Codeforces Round 446 (Div. 1) {891} PROGRAMMING Codeforces Round #446 Editorial 1600
12605 Beautiful Divisors brute force implementation Statement B Educational Codeforces Round 33 (Rated for Div. 2) {893} PROGRAMMING 55989 1000
1203 Ralph And His Tour in Binary Country brute force data structures trees Statement D Codeforces Round 447 (Div. 2) {894} PROGRAMMING Codeforces Round #447 (Div.2 Only) Editorial 2300
39294 QAQ brute force dp Statement A Codeforces Round 447 (Div. 2) {894} PROGRAMMING Codeforces Round #447 (Div.2 Only) Editorial 800
6901 Pizza Separation brute force implementation Statement A Codeforces Round 448 (Div. 2) {895} PROGRAMMING Codeforces Round #448(Div.2) Editorial 1200
7540 Chtholly's request brute force Statement B Codeforces Round 449 (Div. 2) {897} PROGRAMMING Codeforces Round #449 Editorial 1300
10598 Proper Nutrition brute force implementation number theory Statement B Codeforces Round 451 (Div. 2) {898} PROGRAMMING Codeforces Round #451 (Div.2) Editorial 1300
1456 Restoring the Expression brute force hashing math Statement F Codeforces Round 451 (Div. 2) {898} PROGRAMMING Codeforces Round #451 (Div.2) Editorial 2300
4997 Remove Extra One brute force data structures math Statement C Codeforces Round 450 (Div. 2) {900} PROGRAMMING Codeforces Round #450(Div. 2). Editorial. 1700
1575 Swapping Characters brute force hashing implementation strings Statement E Educational Codeforces Round 34 (Rated for Div. 2) {903} PROGRAMMING Educational Codeforces Round 34 Editorial 2200
1505 Party bitmasks brute force dp graphs Statement C Codeforces Round 454 (Div. 1, based on Technocup 2018 Elimination Round 4) {906} PROGRAMMING Editorial Codeforces Round 454 (and Technocup 2018 — Elimination Round 4) 2300
1322 Seating of Students brute force constructive algorithms math Statement B Codeforces Round 454 (Div. 1, based on Technocup 2018 Elimination Round 4) {906} PROGRAMMING Editorial Codeforces Round 454 (and Technocup 2018 — Elimination Round 4) 2300
5951 Masha and Bears brute force implementation Statement A Codeforces Round 454 (Div. 2, based on Technocup 2018 Elimination Round 4) {907} PROGRAMMING Editorial Codeforces Round 454 (and Technocup 2018 — Elimination Round 4) 1400
7892 New Year and Buggy Bot brute force implementation Statement B Good Bye 2017 {908} PROGRAMMING 1300
7197 New Year and Curling brute force geometry implementation math Statement C Good Bye 2017 {908} PROGRAMMING Good Bye 2017 Editorial 1500
15827 New Year and Counting Cards brute force implementation Statement A Good Bye 2017 {908} PROGRAMMING Good Bye 2017 Editorial 800
10343 Generate Login brute force greedy sortings Statement A Codeforces Round 455 (Div. 2) {909} PROGRAMMING Codeforces Round #455 (Div. 2) Editorial 1100
12781 Two Cakes binary search brute force implementation Statement B Educational Codeforces Round 35 (Rated for Div. 2) {911} PROGRAMMING T 1200
7327 Three Garlands brute force constructive algorithms Statement C Educational Codeforces Round 35 (Rated for Div. 2) {911} PROGRAMMING 1400
5100 Inversion Counting brute force math Statement D Educational Codeforces Round 35 (Rated for Div. 2) {911} PROGRAMMING T 1700
539 Perun, Ult! brute force greedy sortings Statement C Codeforces Round 456 (Div. 2) {912} PROGRAMMING Codeforces Round #456 (Div. 2) Editorial 2500
5125 Too Easy Problems binary search brute force data structures greedy sortings Statement D Hello 2018 {913} PROGRAMMING Tutorial 1800
15703 Perfect Squares brute force implementation math Statement A Codecraft-18 and Codeforces Round 458 (Div. 1 + Div. 2, combined) {914} PROGRAMMING Tutorial 1100
4201 Travelling Salesman and Special Numbers brute force combinatorics dp Statement C Codecraft-18 and Codeforces Round 458 (Div. 1 + Div. 2, combined) {914} PROGRAMMING Tutorial 1800
2121 Substrings in a String bitmasks brute force data structures string suffix structures strings Statement F Codecraft-18 and Codeforces Round 458 (Div. 1 + Div. 2, combined) {914} PROGRAMMING Tutorial 2900
9538 Jamie and Alarm Snooze brute force implementation math Statement A Codeforces Round 457 (Div. 2) {916} PROGRAMMING Codeforces Round #457 (Div. 2) Editorial 1200
18195 Eleven brute force implementation Statement A Codeforces Round 459 (Div. 2) {918} PROGRAMMING E 800
31548 Perfect Number binary search brute force dp implementation number theory Statement B Codeforces Round 460 (Div. 2) {919} PROGRAMMING Codeforces Round #460 (Div. 2) Editorial 1100
9423 Seat Arrangements brute force implementation Statement C Codeforces Round 460 (Div. 2) {919} PROGRAMMING Codeforces Round #460 (Div. 2) Editorial 1300
16938 Supermarket brute force greedy implementation Statement A Codeforces Round 460 (Div. 2) {919} PROGRAMMING Codeforces Round #460 (Div. 2) Editorial 900
8525 SUM and REPLACE brute force data structures dsu number theory Statement F Educational Codeforces Round 37 (Rated for Div. 2) {920} PROGRAMMING T 2000
1980 List Of Integers binary search bitmasks brute force combinatorics math number theory Statement G Educational Codeforces Round 37 (Rated for Div. 2) {920} PROGRAMMING T 2300
9430 Magic Forest brute force Statement B Codeforces Round 461 (Div. 2) {922} PROGRAMMING 57605 1300
7555 Cave Painting brute force number theory Statement C Codeforces Round 461 (Div. 2) {922} PROGRAMMING 57605 1600
13071 Friends Meeting brute force greedy implementation math Statement A Codeforces Round 468 (Div. 2, based on Technocup 2018 Final Round) {931} PROGRAMMING Codeforces Round #468 and Technocup 2018 Final Round Analysis 800
4236 Permutation Cycle brute force constructive algorithms Statement C ICM Technex 2018 and Codeforces Round 463 (Div. 1 + Div. 2, combined) {932} PROGRAMMING 57796 1600
388 A Creative Cutout brute force combinatorics math Statement D Codeforces Round 462 (Div. 1) {933} PROGRAMMING 57763 2900
7593 A Compatible Pair brute force games Statement A Codeforces Round 462 (Div. 2) {934} PROGRAMMING 57763 1400
47134 Fafa and his Company brute force implementation Statement A Codeforces Round 465 (Div. 2) {935} PROGRAMMING editorial 600
7253 Vile Grasshoppers brute force math number theory Statement B Codeforces Round 467 (Div. 2) {937} PROGRAMMING Codeforces Round #467, Editorial 1500
9298 Run For Your Prize brute force greedy Statement B Educational Codeforces Round 38 (Rated for Div. 2) {938} PROGRAMMING Educational Codeforces Round 38 — Editorial 1100
3468 Constructing Tests binary search brute force constructive algorithms Statement C Educational Codeforces Round 38 (Rated for Div. 2) {938} PROGRAMMING Educational Codeforces Round 38 — Editorial 1700
8807 Points on the line brute force greedy sortings Statement A Codeforces Round 466 (Div. 2) {940} PROGRAMMING [Editorial] Codeforces Round #466 (Div. 2) 1300
3355 Machine Learning brute force data structures Statement F Codeforces Round 466 (Div. 2) {940} PROGRAMMING [Editorial] Codeforces Round #466 (Div. 2) 2600
15285 Protect Sheep brute force dfs and similar graphs implementation Statement A Codeforces Round 470 (rated, Div. 2, based on VK Cup 2018 Round 1) {948} PROGRAMMING VK Cup 2018 Round 1 and CF Round #470 (div. 1 & 2) editorial 1000
881 Curfew binary search brute force greedy sortings Statement D Codeforces Round 469 (Div. 1) {949} PROGRAMMING 58291 2400
768 Binary Cards brute force Statement E Codeforces Round 469 (Div. 1) {949} PROGRAMMING 58291 2700
2115 A Map of the Cat brute force Statement B April Fools Contest 2018 {952} PROGRAMMING April Fools Day Contest 2018: editorial 1800
576 Scissors brute force strings Statement D Codeforces Round 471 (Div. 2) {955} PROGRAMMING Editorial 2700
3166 Encryption (easy) brute force Statement C1 Helvetic Coding Contest 2018 online mirror (teams allowed, unrated) {958} PROGRAMMING helvetic-coding-contest-2018-editorial.pdf 1400
1776 Guard Duty (easy) brute force geometry greedy math Statement E1 Helvetic Coding Contest 2018 online mirror (teams allowed, unrated) {958} PROGRAMMING helvetic-coding-contest-2018-editorial.pdf 1800
1944 Full Binary Tree Queries brute force implementation trees Statement D Divide by Zero 2018 and Codeforces Round 474 (Div. 1 + Div. 2, combined) {960} PROGRAMMING Divide by Zero 2018 and Codeforces Round #474 (Div. 1 + Div. 2, combined) Editorial 2100
5633 Chessboard bitmasks brute force implementation Statement C Educational Codeforces Round 41 (Rated for Div. 2) {961} PROGRAMMING Educational Codeforces Round 41 Editorial 1400
8351 Make a Square brute force implementation math Statement C Educational Codeforces Round 42 (Rated for Div. 2) {962} PROGRAMMING Educational Codeforces Round 42 Editorial 1400
670 Cutting Rectangle brute force math number theory Statement C Tinkoff Internship Warmup Round 2018 and Codeforces Round 475 (Div. 1) {963} PROGRAMMING Editorial Tinkoff Internship Warmup Round 2018 and Codeforces Round #475 (Div. 1 + Div. 2) 2600
7103 Mancala brute force implementation Statement B Codeforces Round 478 (Div. 2) {975} PROGRAMMING Codeforces Round #478 (Div. 2), Editorial 1200
9924 Almost Arithmetic Progression brute force implementation math Statement D Codeforces Round 481 (Div. 3) {978} PROGRAMMING T 1500
2171 Kuro and GCD and XOR and SUM binary search bitmasks brute force data structures dp dsu greedy math number theory strings trees Statement D Codeforces Round 482 (Div. 2) {979} PROGRAMMING 1750.0 Codeforces Round #482 (Div. 2) Editorial 2200
10308 Antipalindrome brute force implementation strings Statement A Avito Code Challenge 2018 {981} PROGRAMMING 59713 1000
9689 Row brute force constructive algorithms Statement A Codeforces Round 484 (Div. 2) {982} PROGRAMMING Editorial 1200
2510 Shark brute force data structures dsu trees Statement D Codeforces Round 484 (Div. 2) {982} PROGRAMMING Editorial 1900
893 Prince's Problem brute force data structures math number theory trees Statement E Codeforces Round 485 (Div. 1) {986} PROGRAMMING Codeforces Round #485 Editorial 2900
15035 Three displays brute force dp implementation Statement C Codeforces Round 485 (Div. 2) {987} PROGRAMMING Codeforces Round #485 Editorial 1400
8027 Points and Powers of Two brute force math Statement D Codeforces Round 486 (Div. 3) {988} PROGRAMMING 59810 1800
4417 Divisibility by 25 brute force greedy Statement E Codeforces Round 486 (Div. 3) {988} PROGRAMMING 59810 2100
28403 Diverse Team brute force implementation Statement A Codeforces Round 486 (Div. 3) {988} PROGRAMMING 59810 800
2162 Post Lamps brute force greedy Statement E Educational Codeforces Round 45 (Rated for Div. 2) {990} PROGRAMMING Educational Codeforces Round 45 Editorial 2000
3724 Bus Number brute force combinatorics math Statement E Codeforces Round 491 (Div. 2) {991} PROGRAMMING 60181 1800
340 Concise and clear brute force greedy implementation math Statement F Codeforces Round 491 (Div. 2) {991} PROGRAMMING 60181 2800
1749 Nastya and a Game brute force implementation math Statement D Codeforces Round 489 (Div. 2) {992} PROGRAMMING 60083 2100
2051 Open Communication bitmasks brute force Statement B Codeforces Round 488 by NEAR (Div. 1) {993} PROGRAMMING Codeforces Round #488 editorial 1900
1806 Careful Maneuvering bitmasks brute force geometry Statement C Codeforces Round 488 by NEAR (Div. 1) {993} PROGRAMMING Codeforces Round #488 editorial 2100
2049 Leaving the Bar brute force data structures geometry greedy math sortings Statement C Codeforces Round 492 (Div. 1) [Thanks, uDebug!] {995} PROGRAMMING Editorial for Codeforces Round #492 [Thanks u-Debug!] 2200
8653 Convert to Ones brute force greedy implementation math Statement A Codeforces Round 493 (Div. 1) {997} PROGRAMMING 60357 1500
3135 Roman Digits brute force combinatorics dp greedy math Statement B Codeforces Round 493 (Div. 1) {997} PROGRAMMING 60357 2000
25283 Mishka and Contest brute force implementation Statement A Codeforces Round 490 (Div. 3) {999} PROGRAMMING 60138 800
11485 Intense Heat brute force implementation math Statement C Codeforces Round 494 (Div. 3) {1003} PROGRAMMING 60417 1300
1497 Sonya and Matrix brute force constructive algorithms implementation Statement D Codeforces Round 495 (Div. 2) {1004} PROGRAMMING 60443 2200
27291 Delete from the Left brute force implementation strings Statement B Codeforces Round 496 (Div. 3) {1005} PROGRAMMING Codeforces Round 496 (Div. 3): Problem Tutorials 1000
12999 Summarize to the Power of Two brute force greedy implementation Statement C Codeforces Round 496 (Div. 3) {1005} PROGRAMMING Codeforces Round 496 (Div. 3): Problem Tutorials 1400
2098 Berland and the Shortest Paths brute force dfs and similar graphs shortest paths Statement F Codeforces Round 496 (Div. 3) {1005} PROGRAMMING Codeforces Round 496 (Div. 3): Problem Tutorials 2400
6834 Xor-Paths bitmasks brute force dp meet-in-the-middle Statement F Codeforces Round 498 (Div. 3) {1006} PROGRAMMING 60672 2400
1037 Pave the Parallelepiped bitmasks brute force combinatorics math number theory Statement B Codeforces Round 497 (Div. 1) {1007} PROGRAMMING Editorial for Codeforces Round #497 by Skyglow 2400
6625 Relatively Prime Graph brute force constructive algorithms graphs greedy math Statement D Educational Codeforces Round 47 (Rated for Div. 2) {1009} PROGRAMMING 60630 1700
11014 Planning The Expedition binary search brute force implementation Statement B Codeforces Round 499 (Div. 2) {1011} PROGRAMMING 60851 1200
6673 Photo of The Sky brute force implementation math sortings Statement A Codeforces Round 500 (Div. 1) [based on EJOI] {1012} PROGRAMMING 60920 1500
6780 Stars Drawing (Easy Edition) brute force dp greedy Statement E1 Codeforces Round 501 (Div. 3) {1015} PROGRAMMING 60949 1700
10144 Segment Occurrences brute force implementation Statement B Educational Codeforces Round 48 (Rated for Div. 2) {1016} PROGRAMMING Разбор Educational Codeforces Round 48 1300
3945 The Wu bitmasks brute force data structures Statement D Codeforces Round 502 (in memory of Leopoldo Taravilse, Div. 1 + Div. 2) {1017} PROGRAMMING Разбор (англ.) 1900
943 The Neutral Zone brute force math Statement F Codeforces Round 502 (in memory of Leopoldo Taravilse, Div. 1 + Div. 2) {1017} PROGRAMMING Разбор (англ.) 2500
184 The Films brute force Statement H Codeforces Round 502 (in memory of Leopoldo Taravilse, Div. 1 + Div. 2) {1017} PROGRAMMING Разбор (англ.) 3300
4845 Elections brute force greedy Statement A Codeforces Round 503 (by SIS, Div. 1) {1019} PROGRAMMING 61161 1800
24972 Badge brute force dfs and similar graphs Statement B Codeforces Round 503 (by SIS, Div. 2) {1020} PROGRAMMING Codeforces Round #503 (based on SIS olympiad) — Editorial 1000
9258 Single Wildcard Pattern Matching brute force implementation strings Statement A Codeforces Round 504 (rated, Div. 1 + Div. 2, based on VK Cup 2018 Final) {1023} PROGRAMMING Codeforces Round 504 Editorial 1300
8497 Weakened Common Divisor brute force greedy number theory Statement B Codeforces Round 505 (rated, Div. 1 + Div. 2, based on VK Cup 2018 Final) {1025} PROGRAMMING Codeforces Round #505 Editorial 1600
4113 Recovering BST brute force dp math number theory trees Statement D Codeforces Round 505 (rated, Div. 1 + Div. 2, based on VK Cup 2018 Final) {1025} PROGRAMMING Codeforces Round #505 Editorial 2000
564 Make Symmetrical brute force Statement F AIM Tech Round 5 (rated, Div. 1 + Div. 2) {1028} PROGRAMMING 61493 2800
2749 Multicolored Markers binary search brute force math number theory Statement F Codeforces Round 506 (Div. 3) {1029} PROGRAMMING Codeforces Round #506 (Div. 3) Editorial 2100
310 Familiar Operations brute force graphs math Statement F Technocup 2019 - Elimination Round 2 {1031} PROGRAMMING Codeforces Round #517 and Technocup 2019 Elimination Round 2 Editorial 2700
6202 Permutation Game brute force dp games Statement C Lyft Level 5 Challenge 2018 - Elimination Round {1033} PROGRAMMING The Lyft Level 5 Challenge 2018 Elimination Round (Div. 1 + Div. 2) Editorial 1600
461 Boolean Computer bitmasks brute force fft math Statement F Lyft Level 5 Challenge 2018 - Elimination Round {1033} PROGRAMMING The Lyft Level 5 Challenge 2018 Elimination Round (Div. 1 + Div. 2) Editorial 2800
2287 Little C Loves 3 II brute force constructive algorithms flows graph matchings Statement B Codeforces Round 511 (Div. 1) {1034} PROGRAMMING Codeforces Round #511 Editorial 2100
431 Sources and Sinks bitmasks brute force dfs and similar Statement G Educational Codeforces Round 50 (Rated for Div. 2) {1036} PROGRAMMING 61727 2800
1094 Maximum Matching bitmasks brute force dfs and similar dp graphs Statement E Codeforces Round 508 (Div. 2) {1038} PROGRAMMING Tutorial 2400
19105 Vitamins bitmasks brute force dp implementation Statement B Codeforces Round 510 (Div. 2) {1042} PROGRAMMING Tutorial 1200
4757 Mysterious Crime brute force combinatorics math meet-in-the-middle two pointers Statement D Codeforces Round 519 by Botan Investments {1043} PROGRAMMING Codeforces Round #519 Editorial 1700
9868 Vasya and Multisets brute force dp greedy implementation math Statement C Educational Codeforces Round 51 (Rated for Div. 2) {1051} PROGRAMMING Educational Codeforces Round 51 Editorial 1400
2791 Check Transcription brute force data structures hashing strings Statement E Mail.Ru Cup 2018 Round 3 {1056} PROGRAMMING Mail.Ru Cup 2018 Round 3 Editorial 2100
299 Take Metro brute force data structures graphs Statement G Mail.Ru Cup 2018 Round 3 {1056} PROGRAMMING Mail.Ru Cup 2018 Round 3 Editorial 2800
1969 DDoS *special brute force Statement B Mail.Ru Cup 2018 - Practice Round {1057} PROGRAMMING 1800
15689 Phone Numbers brute force Statement A Codeforces Round 513 by Barcelona Bootcamp (rated, Div. 1 + Div. 2) {1060} PROGRAMMING User editorial for Codeforces Round 513 by Barcelona Bootcamp (rated, Div. 1 + Div. 2) 800
472 Candies for Children brute force math Statement D Codeforces Round 516 (Div. 1, by Moscow Team Olympiad) {1063} PROGRAMMING Editorial 2800
25073 Make a triangle! brute force geometry math Statement A Codeforces Round 516 (Div. 2, by Moscow Team Olympiad) {1064} PROGRAMMING Codeforces Round #516 (by Moscow Team Olympiad) — Editorial 700
3851 BerOS File Suggestion brute force implementation Statement H 2018-2019 ICPC, NEERC, Southern Subregional Contest (Online Mirror, ACM-ICPC Rules, Teams Preferred) {1070} PROGRAMMING Solution to problem M. Algoland and Berland of 2018-2019 ICPC, NEERC 1600
930 Monsters and Potions brute force dp greedy implementation Statement G 2018-2019 ICPC, NEERC, Southern Subregional Contest (Online Mirror, ACM-ICPC Rules, Teams Preferred) {1070} PROGRAMMING Solution to problem M. Algoland and Berland of 2018-2019 ICPC, NEERC 2500
6715 Berland Fair binary search brute force data structures greedy Statement D Educational Codeforces Round 53 (Rated for Div. 2) {1073} PROGRAMMING 62742 1700
8210 The Fair Nut and Elevator brute force implementation Statement A Codeforces Round 526 (Div. 2) {1084} PROGRAMMING 63753 1000
17627 Ehab and another construction problem brute force constructive algorithms Statement A Codeforces Round 525 (Div. 2) {1088} PROGRAMMING Codeforces round #525 editorial 800
11005 New Year and the Treasure Geolocation brute force constructive algorithms greedy implementation Statement B Good Bye 2018 {1091} PROGRAMMING Editorial 1200
18554 New Year and the Christmas Ornament brute force implementation math Statement A Good Bye 2018 {1091} PROGRAMMING Editorial 900
7175 Polygon for the Angle brute force geometry Statement C Educational Codeforces Round 57 (Rated for Div. 2) {1096} PROGRAMMING Разбор Educational Codeforces Round 57 1600
35722 Petr and a Combination Lock bitmasks brute force dp Statement B Hello 2019 {1097} PROGRAMMING 64310 1200
139 Mateusz and an Infinite Sequence bitmasks brute force dp strings Statement H Hello 2019 {1097} PROGRAMMING 64310 3000
43681 Gennady and a Card Game brute force implementation Statement A Hello 2019 {1097} PROGRAMMING 64310 600
1796 Nice table brute force constructive algorithms greedy math Statement B Codeforces Round 530 (Div. 1) {1098} PROGRAMMING 64331 2300
2348 Elongated Matrix binary search bitmasks brute force dp graphs Statement F Codeforces Round 531 (Div. 3) {1102} PROGRAMMING 64439 2400
11485 Salem and Sticks brute force implementation Statement A Codeforces Round 533 (Div. 2) {1105} PROGRAMMING Tutorial 1100
10270 Zuhair and Strings brute force implementation strings Statement B Codeforces Round 533 (Div. 2) {1105} PROGRAMMING Tutorial 1200
1906 Helping Hiasat bitmasks brute force dp meet-in-the-middle Statement E Codeforces Round 533 (Div. 2) {1105} PROGRAMMING Tutorial 2200
25136 Divisors of Two Integers brute force greedy math number theory Statement B Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 1100
12640 Nice Garland brute force greedy math Statement C Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 1300
4880 Array and Segments (Easy version) brute force greedy implementation Statement E1 Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 1800
1499 Sasha and Interesting Fact from Graph Theory brute force combinatorics dp math trees Statement D Codeforces Round 539 (Div. 1) {1109} PROGRAMMING Codeforces Round #539 Editorial 2600
6508 Average Superhero Gang Power brute force implementation math Statement B CodeCraft-19 and Codeforces Round 537 (Div. 2) {1111} PROGRAMMING CodeCraft-19 and Codeforces Round #537 (Div. 2) Editorial 1600
6878 Creative Snap binary search brute force divide and conquer math Statement C CodeCraft-19 and Codeforces Round 537 (Div. 2) {1111} PROGRAMMING CodeCraft-19 and Codeforces Round #537 (Div. 2) Editorial 1700
7823 Trailing Loves (or L'oeufs?) brute force implementation math number theory Statement C Codeforces Round 538 (Div. 2) {1114} PROGRAMMING Codeforces Round #538 (Div. 2) Editorial 1700
19740 Got Any Grapes? brute force greedy implementation Statement A Codeforces Round 538 (Div. 2) {1114} PROGRAMMING Codeforces Round #538 (Div. 2) Editorial 800
6062 Coffee and Coursework (Easy version) brute force greedy Statement D1 Codeforces Round 540 (Div. 3) {1118} PROGRAMMING 65396 1800
5549 Pavel and Triangles brute force dp fft greedy ternary search Statement E Codeforces Global Round 2 {1119} PROGRAMMING Codeforces Global Round 2 Editorial 1900
140 The very same Munchhausen brute force Statement E Codeforces Round 543 (Div. 1, based on Technocup 2019 Final Round) {1120} PROGRAMMING Разбор задач финала Технокубка 2019 и Codeforces Round #543 3000
9989 Mike and Children brute force implementation Statement B Codeforces Round 543 (Div. 2, based on Technocup 2019 Final Round) {1121} PROGRAMMING Codeforces Round #543 and Technocup 2019 Final Round Editorial 1200
3942 Toy Train (Simplified) brute force greedy Statement A1 Codeforces Round 542 [Alex Lopashev Thanks-Round] (Div. 1) {1129} PROGRAMMING 65520 1700
4240 Toy Train brute force greedy Statement A2 Codeforces Round 542 [Alex Lopashev Thanks-Round] (Div. 1) {1129} PROGRAMMING 65520 1800
9395 Connect brute force dfs and similar dsu Statement C Codeforces Round 542 [Alex Lopashev Thanks-Round] (Div. 2) {1130} PROGRAMMING 65520 1400
5701 Painting the Fence brute force Statement C Educational Codeforces Round 61 (Rated for Div. 2) {1132} PROGRAMMING T 1700
4199 Circus brute force greedy math strings Statement B Codeforces Round 545 (Div. 2) {1138} PROGRAMMING Codeforces Round #545 – Editorial 1700
10383 Playlist brute force data structures sortings Statement C Educational Codeforces Round 62 (Rated for Div. 2) {1140} PROGRAMMING Educational Codeforces Round 62 Editorial 1600
3578 The Beatles brute force math Statement A Codeforces Round 549 (Div. 1) {1142} PROGRAMMING Codeforces Round #549 Editorial 1800
11530 Nirvana brute force math number theory Statement B Codeforces Round 549 (Div. 2) {1143} PROGRAMMING Codeforces Round #549 Editorial 1300
831 Mystery Circuit bitmasks brute force Statement C April Fools Day Contest 2019 {1145} PROGRAMMING 66327
1501 Kanban Numbers brute force Statement B April Fools Day Contest 2019 {1145} PROGRAMMING 66327
3110 Chladni Figure brute force strings Statement B Forethought Future Cup - Final Round (Onsite Finalists Only) {1147} PROGRAMMING Forethought Future Cup Final Round Tutorial 1900
7922 Born This Way binary search brute force two pointers Statement B Codeforces Global Round 3 {1148} PROGRAMMING Codeforces Global Round 3 Editorial 1700
962 Abandoning Roads brute force dp graphs greedy Statement D Codeforces Round 556 (Div. 1) {1149} PROGRAMMING 66783 2900
11851 Maxim and Biology brute force strings Statement A Codeforces Round 553 (Div. 2) {1151} PROGRAMMING Codeforces Round #553 (Div. 2) Editorial 1000
12803 Dima and a Bad XOR bitmasks brute force constructive algorithms dp Statement B Codeforces Round 553 (Div. 2) {1151} PROGRAMMING Codeforces Round #553 (Div. 2) Editorial 1600
7063 Neko does Maths brute force math number theory Statement C Codeforces Round 554 (Div. 2) {1152} PROGRAMMING T 1800
12096 Serval and Bus brute force math Statement A Codeforces Round 551 (Div. 2) {1153} PROGRAMMING Editorial 1100
1754 Serval and Snake binary search brute force interactive Statement E Codeforces Round 551 (Div. 2) {1153} PROGRAMMING Editorial 2100
3247 Minimum Possible LCM brute force greedy math number theory Statement G Codeforces Round 552 (Div. 3) {1154} PROGRAMMING Codeforces Round #552 (Div. 3) Editorial 2400
7702 Beautiful Array brute force data structures divide and conquer dp greedy Statement D Educational Codeforces Round 63 (Rated for Div. 2) {1155} PROGRAMMING 66687 1900
1598 Guess the Root brute force interactive math Statement E Educational Codeforces Round 63 (Rated for Div. 2) {1155} PROGRAMMING 66687 2200
517 Delivery Oligopoly brute force dp graphs Statement F Educational Codeforces Round 63 (Rated for Div. 2) {1155} PROGRAMMING 66687 2700
1008 Inverse of Rows and Columns brute force constructive algorithms Statement G Codeforces Round 555 (Div. 3) {1157} PROGRAMMING 66737 2800
6047 Double Matrix brute force greedy Statement B Codeforces Round 557 (Div. 2) [based on Forethought Future Cup - Final Round] {1162} PROGRAMMING Forethought Future Cup Final Round Tutorial 1400
3575 Power Transmission (Easy Edition) brute force geometry Statement C1 Codeforces Round 558 (Div. 2) {1163} PROGRAMMING 66943 1900
1008 Magical Permutation bitmasks brute force constructive algorithms data structures graphs math Statement E Codeforces Round 558 (Div. 2) {1163} PROGRAMMING 66943 2800
3006 The LCMs Must be Large bitmasks brute force constructive algorithms math number theory Statement E Codeforces Round 561 (Div. 2) {1166} PROGRAMMING Codeforces Round #561 (Div. 2) Editorial 2000
2282 Cute Sequences binary search brute force greedy math Statement D Codeforces Round 561 (Div. 2) {1166} PROGRAMMING Codeforces Round #561 (Div. 2) Editorial 2100
16349 Lost Numbers brute force divide and conquer interactive math Statement B Educational Codeforces Round 65 (Rated for Div. 2) {1167} PROGRAMMING 67058 1400
166 Low Budget Inception brute force geometry Statement G Educational Codeforces Round 65 (Rated for Div. 2) {1167} PROGRAMMING 67058 3000
20263 Telephone Number brute force greedy strings Statement A Educational Codeforces Round 65 (Rated for Div. 2) {1167} PROGRAMMING 67058 700
3807 Good Triple brute force two pointers Statement B Codeforces Round 562 (Div. 1) {1168} PROGRAMMING Codeforces Round #562 — Editorial 2000
7256 Electrification binary search brute force greedy Statement C Educational Codeforces Round 66 (Rated for Div. 2) {1175} PROGRAMMING Editorial 1600
2643 The Number of Subpermutations brute force data structures divide and conquer hashing math Statement F Educational Codeforces Round 66 (Rated for Div. 2) {1175} PROGRAMMING Editorial 2600
24926 Divide it! brute force greedy implementation Statement A Codeforces Round 565 (Div. 3) {1176} PROGRAMMING 67598 800
4502 Archaeology brute force constructive algorithms greedy strings Statement E Codeforces Global Round 4 {1178} PROGRAMMING E 1900
3403 Flag brute force combinatorics dp implementation Statement C Codeforces Round 567 (Div. 2) {1181} PROGRAMMING Editorial of Codeforces Round #567 (based on All-Russian olympiad in the name of Keldysh) 1900
619 A Story of One Country (Easy) brute force divide and conquer sortings Statement E1 Codeforces Round 567 (Div. 2) {1181} PROGRAMMING Editorial of Codeforces Round #567 (based on All-Russian olympiad in the name of Keldysh) 2600
395 A Story of One Country (Hard) brute force greedy sortings Statement E2 Codeforces Round 567 (Div. 2) {1181} PROGRAMMING Editorial of Codeforces Round #567 (based on All-Russian olympiad in the name of Keldysh) 3000
2251 Topforces Strikes Back brute force math sortings Statement F Codeforces Round 570 (Div. 3) {1183} PROGRAMMING Tutorial 2400