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 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
4424 Find Color constructive algorithms geometry implementation math Statement A Codeforces Beta Round 39 {40} PROGRAMMING codeforces #39 1300
17290 Indian Summer implementation Statement A School Team Contest 2 (Winter Computer School 2010/11) {44} PROGRAMMING School Team Contest #2 (Winter Computer School 2010/2011): tutorial of F, G and I. 1100
614 Triminoes constructive algorithms greedy Statement J School Team Contest 2 (Winter Computer School 2010/11) {44} PROGRAMMING School Team Contest #2 (Winter Computer School 2010/2011): tutorial of A-E, H, J. 2000
1220 Prime Problem number theory Statement G School Team Contest 3 (Winter Computer School 2010/11) {45} PROGRAMMING 2300
2133 Game brute force dp implementation Statement D Codeforces Beta Round 46 (Div. 2) {49} PROGRAMMING 1700
15322 Easter Eggs constructive algorithms implementation Statement B Codeforces Beta Round 70 (Div. 2) {78} PROGRAMMING Solutions for Codeforces Beta Round #70 (Div. 2) 1200
2013 Domino constructive algorithms implementation Statement A Yandex.Algorithm 2011: Round 1 {85} PROGRAMMING Yandex.Algorithm 2011 - Round 1. Problem C. Tutorial 1400
5485 Cableway greedy math Statement A Codeforces Beta Round 74 (Div. 2 Only) {90} PROGRAMMING Solutions for Codeforces Beta Round #74 1000
444 Flags dp math matrices Statement D Codeforces Beta Round 76 (Div. 1 Only) {93} PROGRAMMING Codeforces Beta Round 76 - задача Е div 1 глазами ее автора. 2400
1338 Help Victoria the Wise brute force implementation Statement A Codeforces Beta Round 78 (Div. 1 Only) {98} PROGRAMMING Editorial 1700
76 Interval Coloring *special greedy math Statement J Unknown Language Round 3 {100} PROGRAMMING 2400
145 Entertaining Geodetics brute force dsu implementation Statement D Codeforces Beta Round 81 {105} PROGRAMMING Tutorial 2600
900 Petya and Coloring combinatorics dp Statement D Codeforces Beta Round 85 (Div. 1 Only) {111} PROGRAMMING Codeforces Beta Round #85: Разбор задач 2300
98 Pills brute force flows Statement E Codeforces Beta Round 93 (Div. 1 Only) {126} PROGRAMMING Tutorial 3100
573 Swaps constructive algorithms graphs greedy Statement C Codeforces Testing Round 3 {134} PROGRAMMING 2200
1036 New Year Garland combinatorics dp Statement E Codeforces Round 100 {140} PROGRAMMING Codeforces Round #100: problem analysis 2600
14171 Trace geometry sortings Statement B Codeforces Round 110 (Div. 2) {157} PROGRAMMING Codeforces Round 110 — Разбор задач 1100
1098 Zebra Tower *special data structures greedy sortings Statement E VK Cup 2012 Qualification Round 2 {159} PROGRAMMING Simple solution to vk cup Qualification Round 1 and 2 2100
314 The Beaver's Problem - 2 Statement E1 ABBYY Cup 2.0 - Hard {178} PROGRAMMING ABBYY Cup 2.0 — Hard: solutions 2100
241 The Beaver's Problem - 2 Statement E2 ABBYY Cup 2.0 - Hard {178} PROGRAMMING ABBYY Cup 2.0 — Hard: solutions 2200
214 The Beaver's Problem - 2 Statement E3 ABBYY Cup 2.0 - Hard {178} PROGRAMMING ABBYY Cup 2.0 — Hard: solutions 2400
2066 Cubes binary search dp two pointers Statement E Codeforces Round 116 (Div. 2, ACM-ICPC Rules) {180} PROGRAMMING 1700
726 Cyclic Coloring dfs and similar Statement C Croc Champ 2012 - Final {183} PROGRAMMING CROC Champ 2012 — Round 3 (Editorial) 2200
5893 Little Elephant and Cards binary search data structures Statement B Codeforces Round 129 (Div. 1) {204} PROGRAMMING Tutorial 1600
2842 Multicolored Marbles dp math Statement A VK Cup 2012 Finals, Practice Session {209} PROGRAMMING 1700
487 Pixels constructive algorithms math Statement B VK Cup 2012 Finals, Practice Session {209} PROGRAMMING 2200
7147 Color Stripe brute force dp greedy Statement C Codeforces Round 135 (Div. 2) {219} PROGRAMMING User editorial for Codeforces Round #135 (Div. 2) 1600
10150 Barcode dp matrices Statement C Codeforces Round 139 (Div. 2) {225} PROGRAMMING 1800
139272 Is your horseshoe on the other hoof? implementation Statement A Codeforces Round 141 (Div. 2) {228} PROGRAMMING Codeforces Round #141 (Div. 2) Tutorial 800
1969 Fence dp Statement F Codeforces Round 145 (Div. 2, ACM-ICPC Rules) {234} PROGRAMMING 1900
10274 Colorful Graph brute force dfs and similar graphs Statement D Codeforces Round 151 (Div. 2) {246} PROGRAMMING Codeforces Round #151 (Div. 2) Tutorial 1700
7756 Playing Cubes games greedy implementation Statement B Codeforces Round 159 (Div. 2) {257} PROGRAMMING Codeforces Round #159 (Div. 2) Разбор Задач 1400
1664 Black and White Tree constructive algorithms dsu graphs greedy trees Statement D Codeforces Round 158 (Div. 2) {260} PROGRAMMING Codeforces Round #158 (Div. 2) Tutorial 2200
451 Colorful Stones dp two pointers Statement D Codeforces Round 162 (Div. 1) {264} PROGRAMMING Tutorial for E 2400
42568 Colorful Stones (Simplified Edition) implementation Statement A Codeforces Round 162 (Div. 2) {265} PROGRAMMING Codeforces Round #162 Tutorial 800
242338 Stones on the Table implementation Statement A Codeforces Round 163 (Div. 2) {266} PROGRAMMING Codeforces Round #163 (Div. 2) Tutorial 800
103888 Games brute force Statement A Codeforces Round 164 (Div. 2) {268} PROGRAMMING Codeforces Round #164 (Div. 2) — Problems Analysis 800
941 Distinct Paths brute force combinatorics Statement B Croc Champ 2013 - Round 2 {293} PROGRAMMING Croc Champ 2013 — Round 2 — Editorial 2600
740 Greg and Caves combinatorics dp Statement D Codeforces Round 179 (Div. 1) {295} PROGRAMMING Codeforces Round #179 tutorial 2400
628 Color the Carpet constructive algorithms Statement D Codeforces Round 180 (Div. 1) {297} PROGRAMMING Tutorial 2400
177 Suns and Rays Statement F2 ABBYY Cup 3.0 {316} PROGRAMMING ABBYY Cup 3.0. Solutions 2500
197 Suns and Rays dfs and similar implementation Statement F1 ABBYY Cup 3.0 {316} PROGRAMMING ABBYY Cup 3.0. Solutions 2500
197 Suns and Rays constructive algorithms dfs and similar implementation Statement F3 ABBYY Cup 3.0 {316} PROGRAMMING ABBYY Cup 3.0. Solutions 2600
1715 Mittens constructive algorithms greedy sortings Statement C Codeforces Round 217 (Div. 2) {370} PROGRAMMING Codeforces Round #217 (Div. 2): tutorial 1800
8870 Tree and Queries data structures dfs and similar trees Statement D Codeforces Round 221 (Div. 1) {375} PROGRAMMING Codeforces Round #221 Tutorial 2400
491 Red and Black Tree dp implementation math Statement E Codeforces Round 221 (Div. 1) {375} PROGRAMMING Codeforces Round #221 Tutorial 3000
550 Game with Points dp graphs implementation shortest paths Statement D Testing Round 9 {386} PROGRAMMING 2300
1883 Red and Blue Balls Statement B Codeforces Round 233 (Div. 2) {399} PROGRAMMING 1000.0 Codeforces Round #233 Editorial
10276 Garland implementation Statement B Codeforces Round 239 (Div. 2) {408} PROGRAMMING Codeforces Round #239 Editorial 1200
9340 Art Union brute force dp implementation Statement B Codeforces Round 241 (Div. 2) {416} PROGRAMMING Codeforces Round #241 — editorial 1300
149 Colored Jenga dfs and similar dp probabilities Statement E Codeforces Round 242 (Div. 2) {424} PROGRAMMING Codeforces Round #242 (Div. 2) Editorial 2500
4114 Balls Game brute force two pointers Statement B Codeforces Round 245 (Div. 2) {430} PROGRAMMING Codeforces Round #245 — Editorial 1400
791 Square Tiling constructive algorithms greedy Statement E Codeforces Round 246 (Div. 2) {432} PROGRAMMING Codeforces Round #246 (Div. 2) Editorial 2700
259 Special Graph Statement E Codeforces Round 249 (Div. 2) {435} PROGRAMMING Codeforces Round #249 (Div. 2) Editorial 2500
2352 Borya and Hanabi bitmasks brute force implementation Statement A Codeforces Round 253 (Div. 1) {442} PROGRAMMING Codeforces #253 editorial 2000
1131 Adam and Tree data structures trees Statement D Codeforces Round 253 (Div. 1) {442} PROGRAMMING Codeforces #253 editorial 2500
3354 DZY Loves Colors data structures Statement C Codeforces Round 254 (Div. 1) {444} PROGRAMMING Codeforces Round #254 Editorial 2300
33577 DZY Loves Chessboard dfs and similar implementation Statement A Codeforces Round 254 (Div. 2) {445} PROGRAMMING Codeforces Round #254 Editorial 1200
6997 Appleman and Tree dfs and similar dp trees Statement B Codeforces Round 263 (Div. 1) {461} PROGRAMMING Tutorial 2200
205 Chessboard *special Statement E Surprise Language Round 7 {470} PROGRAMMING Surprise Language Round #7: editorial 1900
592 Random Function and Tree combinatorics dp trees Statement D Codeforces Round 275 (Div. 1) {482} PROGRAMMING Codeforces Round #275 Editorial 2600
374 Sharti data structures games Statement E Codeforces Round 282 (Div. 1) {494} PROGRAMMING 15148 3200
6866 Crazy Town geometry Statement A Codeforces Round 284 (Div. 1) {498} PROGRAMMING Codeforces Round #284 Editorial 1600
565 Stairs and Lines dp matrices Statement E Codeforces Round 284 (Div. 1) {498} PROGRAMMING Codeforces Round #284 Editorial 2600
14940 Mr. Kitayuta's Colorful Graph dfs and similar dp dsu graphs Statement B Codeforces Round 286 (Div. 2) {505} PROGRAMMING Tutorial 1500
2529 Mr. Kitayuta's Colorful Graph brute force dfs and similar dsu graphs Statement D Codeforces Round 286 (Div. 1) {506} PROGRAMMING Editorial 2300
9986 Painting Pebbles constructive algorithms greedy implementation Statement B Codeforces Round 289 (Div. 2, ACM ICPC Rules) {509} PROGRAMMING Tutorial CodeForces Round 289 (Div.2) (Second Winter Computer Camp Selection 2015) 1300
16109 Fox And Two Dots dfs and similar Statement B Codeforces Round 290 (Div. 2) {510} PROGRAMMING Codeforces Round #290 Editorial 1500
2435 Om Nom and Necklace hashing string suffix structures strings Statement D ZeptoLab Code Rush 2015 {526} PROGRAMMING ZeptoLab Code Rush 2015 — Editorial 2200
617 Place Your Ad Here data structures sortings Statement A VK Cup 2015 - Round 3 (unofficial online mirror, Div. 1 only) {542} PROGRAMMING 17697 2500
9802 Kyoya and Colored Balls combinatorics dp math Statement A Codeforces Round 309 (Div. 1) {553} PROGRAMMING Codeforces Round #309 Editorial 1700
8048 Gerald and Giant Chess combinatorics dp math number theory Statement C Codeforces Round 313 (Div. 1) {559} PROGRAMMING Codeforces Round 313 — Extended editoral 2500
1502 Painting Edges binary search data structures Statement E Codeforces Round 319 (Div. 1) {576} PROGRAMMING Editorial Codeforces Round #319 3200
84723 Vasya the Hipster implementation math Statement A Codeforces Round 322 (Div. 2) {581} PROGRAMMING Codeforces Round #322 (Div.2) Editorial 700
8327 Vika and Squares constructive algorithms implementation Statement B Codeforces Round 337 (Div. 2) {610} PROGRAMMING Codeforces Round #337 (Div.2) Editorial 1300
1078 Necklace constructive algorithms math Statement C Codeforces Round 339 (Div. 1) {613} PROGRAMMING Tutorial 2800
6915 Cards constructive algorithms dp math Statement B 8VC Venture Cup 2016 - Elimination Round {626} PROGRAMMING 23522 1300
4559 Bear and Colors implementation Statement A VK Cup 2016 - Round 3 {643} PROGRAMMING VK Cup 2016 — Round 3 — Editorial 1500
1657 Graph Coloring dfs and similar graphs Statement B CROC 2016 - Final Round [Private, For Onsite Finalists Only] {662} PROGRAMMING Editorial for CROC 2016 Finals and Codeforces Round #347 2300
1007 Captain America flows greedy Statement D Codeforces Round 366 (Div. 1) {704} PROGRAMMING Tutorial 3000
55585 Brain's Photos implementation Statement A Codeforces Round 368 (Div. 2) {707} PROGRAMMING 46662 1000
9323 Coloring Trees dp Statement C Codeforces Round 369 (Div. 2) {711} PROGRAMMING 46830 1700
8812 Anatoly and Cockroaches greedy Statement B Codeforces Round 373 (Div. 2) {719} PROGRAMMING Codeforces Round #373 — Editorial 1400
464 Cactusophobia dfs and similar flows Statement B Russian Code Cup 2016 - Finals [Unofficial Mirror, Div. 1 Only Recommended] {720} PROGRAMMING Russian Code Cup 2016 — Results and Tutorial 2300
7849 Socks dfs and similar dsu graphs greedy Statement C Codeforces Round 376 (Div. 2) {731} PROGRAMMING 47840 1600
5097 Anton and Tree dfs and similar dp trees Statement E Codeforces Round 379 (Div. 2) {734} PROGRAMMING Tutorial of Codeforces Round #379 (Div. 2) 2100
917 PolandBall and White-Red graph constructive algorithms graphs shortest paths Statement E 8VC Venture Cup 2017 - Elimination Round {755} PROGRAMMING 8VC Venture Cup 2017 — Elimination Round [Editorial] 2400
10695 Blown Garland brute force implementation number theory Statement B Codeforces Round 392 (Div. 2) {758} PROGRAMMING Codeforces Round #392 (Div. 2) Editorial 1200
11862 Timofey and a tree dfs and similar dp dsu graphs implementation trees Statement A Codeforces Round 395 (Div. 1) {763} PROGRAMMING Codeforces Round #395 [Editorial] 1600
3044 Timofey and rectangles constructive algorithms geometry Statement B Codeforces Round 395 (Div. 1) {763} PROGRAMMING Codeforces Round #395 [Editorial] 2200
25647 Sherlock and his girlfriend constructive algorithms number theory Statement B ICM Technex 2017 and Codeforces Round 400 (Div. 1 + Div. 2, combined) {776} PROGRAMMING ICM Technex 2017 and Codeforces Round #400 (Div. 1 + Div. 2, combined) Editorial 1200
511 Sherlock's bet to Moriarty constructive algorithms data structures divide and conquer geometry graphs implementation trees Statement F ICM Technex 2017 and Codeforces Round 400 (Div. 1 + Div. 2, combined) {776} PROGRAMMING ICM Technex 2017 and Codeforces Round #400 (Div. 1 + Div. 2, combined) Editorial 2700
10009 Andryusha and Colored Balloons dfs and similar graphs greedy trees Statement C Технокубок 2017 - Финал (только для онсайт-финалистов) {780} PROGRAMMING Technocup 2017 Finals and Codeforces Round #403 Editorial 1500
3683 Till I Collapse data structures divide and conquer Statement C Codeforces Round 406 (Div. 1) {786} PROGRAMMING Codeforces Round #406 Editorial 2600
1264 Colored Balls greedy math number theory Statement E Educational Codeforces Round 18 {792} PROGRAMMING Educational Codeforces Round 18 - Editorial 2400
10140 T-shirt buying data structures implementation Statement B Playrix Codescapes Cup (Codeforces Round 413, rated, Div. 1 + Div. 2) {799} PROGRAMMING Playrix Codescapes Cup Problems Analysis 1400
1929 Ice cream coloring constructive algorithms dfs and similar greedy Statement C Codeforces Round 411 (Div. 1) {804} PROGRAMMING Codeforces Round #411 Editorial 2200
1698 Bipartite Checking data structures dsu graphs Statement F Educational Codeforces Round 22 {813} PROGRAMMING 52410 2600
3780 Multicolored Cars data structures implementation Statement D Educational Codeforces Round 24 {818} PROGRAMMING 52991 1700
6115 Black Square implementation Statement B Codeforces Round 423 (Div. 2, rated, based on VK Cup Finals) {828} PROGRAMMING Codeforces Round #423 Analysis 1300
484 Red-Black Cobweb data structures divide and conquer implementation trees Statement D Codeforces Round 426 (Div. 1) {833} PROGRAMMING Codeforces Round #426 Editorial 2800
14043 Generous Kefa brute force implementation Statement A Codeforces Round 429 (Div. 2) {841} PROGRAMMING T 900
760 Rainbow Balls math Statement F Codeforces Round 432 (Div. 1, based on IndiaHacks Final Round 2017) {850} PROGRAMMING Codeforces Round #432 editorial 2800
2219 Boxes And Balls data structures greedy Statement D Educational Codeforces Round 31 {884} PROGRAMMING 55470 2300
2974 Solution for Cube brute force implementation Statement C Codeforces Round 444 (Div. 2) {887} PROGRAMMING Codeforces Round #444 (Div. 2) Editorial 1500
11938 Coloring a Tree dfs and similar dsu greedy Statement B Codeforces Round 453 (Div. 2) {902} PROGRAMMING Codeforces Round #453 (Div. 1 & Div. 2) Editorial 1300
1606 New Year and Rainbow Roads graphs greedy implementation Statement F Good Bye 2017 {908} PROGRAMMING Good Bye 2017 Editorial 2400
2101 Colorful Points data structures greedy implementation Statement D Codeforces Round 455 (Div. 2) {909} PROGRAMMING Codeforces Round #455 (Div. 2) Editorial 2100
1815 Lightsabers (easy) implementation Statement F1 Helvetic Coding Contest 2018 online mirror (teams allowed, unrated) {958} PROGRAMMING helvetic-coding-contest-2018-editorial.pdf 1700
1439 Lightsabers (medium) binary search two pointers Statement F2 Helvetic Coding Contest 2018 online mirror (teams allowed, unrated) {958} PROGRAMMING helvetic-coding-contest-2018-editorial.pdf 1900
916 Lightsabers (hard) fft Statement F3 Helvetic Coding Contest 2018 online mirror (teams allowed, unrated) {958} PROGRAMMING helvetic-coding-contest-2018-editorial.pdf 2600
5634 Chessboard bitmasks brute force implementation Statement C Educational Codeforces Round 41 (Rated for Div. 2) {961} PROGRAMMING Educational Codeforces Round 41 Editorial 1400
4777 Treasure Hunt greedy Statement B Codeforces Round 482 (Div. 2) {979} PROGRAMMING Codeforces Round #482 (Div. 2) Editorial 1800
908 Kuro and Topological Parity dp Statement E Codeforces Round 482 (Div. 2) {979} PROGRAMMING Codeforces Round #482 (Div. 2) Editorial 2800
3941 Posterized games greedy Statement C Codeforces Round 480 (Div. 2) {980} PROGRAMMING Tutorial 1700
513 Arkady and Rectangles data structures Statement D Codeforces Round 483 (Div. 1) [Thanks, Botan Investments and Victor Shaburov!] {983} PROGRAMMING Codeforces Round #483 [Thanks, Botan Investments and Victor Shaburov!] Editoral 3300
17493 Infinity Gauntlet implementation Statement A Codeforces Round 485 (Div. 2) {987} PROGRAMMING Codeforces Round #485 Editorial 700
2174 Sky Full of Stars combinatorics math Statement C Codeforces Round 493 (Div. 1) {997} PROGRAMMING 60357 2600
322 Ants 2-sat data structures trees Statement D Codeforces Round 497 (Div. 1) {1007} PROGRAMMING Editorial for Codeforces Round #497 by Skyglow 3200
6490 Plasticine zebra constructive algorithms implementation Statement C Codeforces Round 505 (rated, Div. 1 + Div. 2, based on VK Cup 2018 Final) {1025} PROGRAMMING Codeforces Round #505 Editorial 1600
617 Colored Cubes constructive algorithms implementation matrices Statement E Codeforces Round 505 (rated, Div. 1 + Div. 2, based on VK Cup 2018 Final) {1025} PROGRAMMING Codeforces Round #505 Editorial 2600
16503 Doggo Recoloring implementation sortings Statement A Codeforces Round 505 (rated, Div. 1 + Div. 2, based on VK Cup 2018 Final) {1025} PROGRAMMING Codeforces Round #505 Editorial 900
787 Hidden Bipartite Graph binary search constructive algorithms dfs and similar graphs interactive Statement E Lyft Level 5 Challenge 2018 - Elimination Round {1033} PROGRAMMING The Lyft Level 5 Challenge 2018 Elimination Round (Div. 1 + Div. 2) Editorial 2700
10189 Palindrome Dance greedy Statement A Codeforces Round 507 (Div. 2, based on Olympiad of Metropolises) {1040} PROGRAMMING Codeforces Round #507 (based on Olympiad of Metropolises) — Editorial 1000
321 Speckled Band data structures divide and conquer hashing string suffix structures strings Statement G Codeforces Round 519 by Botan Investments {1043} PROGRAMMING Codeforces Round #519 Editorial 3500
210 Moonwalk challenge data structures strings trees Statement J Bubble Cup 11 - Finals [Online Mirror, Div. 1] {1045} PROGRAMMING E 3000
386 Electric Scheme flows graph matchings Statement F Mail.Ru Cup 2018 Round 1 {1054} PROGRAMMING Editorial 2600
6715 Decorate Apple Tree constructive algorithms dfs and similar dp graphs greedy sortings trees Statement D Mail.Ru Cup 2018 Round 3 {1056} PROGRAMMING Mail.Ru Cup 2018 Round 3 Editorial 1600
300 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
1168 Tanya and Colored Candies *special dp Statement C Mail.Ru Cup 2018 - Practice Round {1057} PROGRAMMING 2300
3275 Dwarves, Hats and Extrasensory Abilities binary search constructive algorithms geometry interactive Statement C Codeforces Round 516 (Div. 1, by Moscow Team Olympiad) {1063} PROGRAMMING 1900
3346 Colored Rooks constructive algorithms graphs Statement C Codeforces Round 518 (Div. 2) [Thanks, Mail.Ru!] {1068} PROGRAMMING E 1700
8471 Colorful Bricks combinatorics dp math Statement C Avito Cool Challenge 2018 {1081} PROGRAMMING 63888 1600
7152 The Pleasant Walk implementation Statement M 2018-2019 Russia Open High School Programming Contest (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1090} PROGRAMMING ru-olymp-team-russia-2018-presentation.pdf 1200
11142 Array K-Coloring greedy sortings Statement B Codeforces Round 531 (Div. 3) {1102} PROGRAMMING 64439 1400
12645 Nice Garland brute force greedy math Statement C Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 1300
16446 Diverse Garland constructive algorithms dp greedy Statement D Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 1400
7902 Flood Fill dp Statement D Codeforces Round 538 (Div. 2) {1114} PROGRAMMING Codeforces Round #538 (Div. 2) Editorial 1900
6685 Tree Cutting (Easy Version) dfs and similar trees Statement F1 Codeforces Round 540 (Div. 3) {1118} PROGRAMMING 65396 1800
4448 Yet Another Ball Problem constructive algorithms implementation Statement E Codeforces Round 540 (Div. 3) {1118} PROGRAMMING 65396 2000
632 Tree Cutting (Hard Version) combinatorics dfs and similar dp trees Statement F2 Codeforces Round 540 (Div. 3) {1118} PROGRAMMING 65396 2700
11494 Ilya and a Colorful Walk greedy implementation Statement A Codeforces Global Round 2 {1119} PROGRAMMING Codeforces Global Round 2 Editorial 1100
8953 Colored Boots greedy implementation Statement D Codeforces Round 547 (Div. 3) {1141} PROGRAMMING 66062 1500
472 Rainbow Coins interactive Statement E Forethought Future Cup - Final Round (Onsite Finalists Only) {1147} PROGRAMMING Forethought Future Cup Final Round Tutorial 2900
2039 Three Religions dp implementation strings Statement B Codeforces Round 556 (Div. 1) {1149} PROGRAMMING 66783 2200
7325 Cat Party (Easy Edition) data structures implementation Statement B1 Codeforces Round 558 (Div. 2) {1163} PROGRAMMING 66943 1500
7639 Cat Party (Hard Edition) data structures implementation Statement B2 Codeforces Round 558 (Div. 2) {1163} PROGRAMMING 66943 1700
811 Vicky's Delivery Service data structures dsu graphs hashing Statement F Codeforces Round 561 (Div. 2) {1166} PROGRAMMING Codeforces Round #561 (Div. 2) Editorial 2800
7366 Bicolored RBS constructive algorithms greedy Statement D Educational Codeforces Round 65 (Rated for Div. 2) {1167} PROGRAMMING 67058 1500
356 Nauuo and ODT data structures Statement E Codeforces Round 564 (Div. 1) {1172} PROGRAMMING Codeforces Round #564 Editorial 3300
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
287 Problem from Red Panda combinatorics Statement E Codeforces Round 572 (Div. 1) {1188} PROGRAMMING Editorial of Codeforces Round #572 3200
341 Coloring Game dp games matrices Statement F Educational Codeforces Round 69 (Rated for Div. 2) {1197} PROGRAMMING E 2500
4399 White Lines brute force data structures dp implementation two pointers Statement D Codeforces Round 578 (Div. 2) {1200} PROGRAMMING Codeforces Round #578 (Div. 2) Editorial 1900
188 Red Blue Tree data structures implementation trees Statement H Manthan, Codefest 19 (open for everyone, rated, Div. 1 + Div. 2) {1208} PROGRAMMING 69357 3500
7853 Paint the Digits constructive algorithms greedy implementation Statement C Codeforces Round 584 - Dasha Code Championship - Elimination Round (rated, open for everyone, Div. 1 + Div. 2) {1209} PROGRAMMING 69791 1600
12833 Paint the Numbers greedy implementation math Statement A Codeforces Round 584 - Dasha Code Championship - Elimination Round (rated, open for everyone, Div. 1 + Div. 2) {1209} PROGRAMMING 69791 900
216 Double Permutation Inc. *special binary search greedy Statement E Kotlin Heroes: Episode 2 {1211} PROGRAMMING Kotlin Heroes: Episode 2 Editorial 2200
83 King's Path *special math trees Statement G Kotlin Heroes: Episode 2 {1211} PROGRAMMING Kotlin Heroes: Episode 2 Editorial 2500
458 Tiles Placement constructive algorithms dfs and similar trees Statement H Codeforces Round 583 (Div. 1 + Div. 2, based on Olympiad of Metropolises) {1214} PROGRAMMING Tutorial 2700
330 Feeling Good bitmasks data structures Statement G Codeforces Round 583 (Div. 1 + Div. 2, based on Olympiad of Metropolises) {1214} PROGRAMMING Tutorial 3100
3450 Marbles bitmasks dp Statement E Codeforces Round 585 (Div. 2) {1215} PROGRAMMING Codeforces Round #585 Editorial 2200
5934 Coloring Edges constructive algorithms dfs and similar graphs Statement D Educational Codeforces Round 72 (Rated for Div. 2) {1217} PROGRAMMING Educational Codeforces Round 72 Editorial 2000
12518 Knights constructive algorithms greedy Statement B Educational Codeforces Round 73 (Rated for Div. 2) {1221} PROGRAMMING Разбор Educational Codeforces Round 73 1100
2889 Paint the Tree dp sortings trees Statement E Technocup 2020 - Elimination Round 1 {1223} PROGRAMMING Сodeforces Round 591 (and Technocup 2020 — Elimination Round 1) Editorial 2200
13262 Tile Painting constructive algorithms math number theory Statement A Codeforces Round 599 (Div. 1) {1242} PROGRAMMING Codeforces Round #599 Editorial 1500
8293 Paint the Tree brute force constructive algorithms dp graphs implementation trees Statement D Codeforces Round 592 (Div. 2) {1244} PROGRAMMING Codeforces Round #592 (Div. 2) Tutorial 1700
1633 Chips constructive algorithms implementation Statement F Codeforces Round 592 (Div. 2) {1244} PROGRAMMING Codeforces Round #592 (Div. 2) Tutorial 2300
14881 Good ol' Numbers Coloring math number theory Statement A Codeforces Round 597 (Div. 2) {1245} PROGRAMMING Codeforces Round #597 (Div. 2) Editorial 1000
8777 Infinite Fence greedy math number theory Statement C Educational Codeforces Round 77 (Rated for Div. 2) {1260} PROGRAMMING Educational Codeforces Round 77 Editorial 1700
631 Colored Tree data structures trees Statement F Educational Codeforces Round 77 (Rated for Div. 2) {1260} PROGRAMMING Educational Codeforces Round 77 Editorial 2700
17214 Sweet Problem math Statement A Codeforces Round 603 (Div. 2) {1263} PROGRAMMING Разбор Codeforces Round #603 (Div. 2) 1200
2969 Editor data structures implementation Statement E Codeforces Round 603 (Div. 2) {1263} PROGRAMMING Разбор Codeforces Round #603 (Div. 2) 2000
12093 Blocks greedy math Statement B Codeforces Round 608 (Div. 2) {1271} PROGRAMMING 72247 1300
228 Seollal graphs Statement G Hello 2020 {1284} PROGRAMMING Hello 2020 Editorial 3300
644 Red-Blue Graph constructive algorithms flows Statement F Educational Codeforces Round 80 (Rated for Div. 2) {1288} PROGRAMMING Educational Codeforces Round 80 Editorial 2900
8201 String Coloring (easy version) constructive algorithms dp graphs greedy sortings Statement E1 Codeforces Round 617 (Div. 3) {1296} PROGRAMMING Codeforces Round #617 (Div. 3) Editorial 1800
5445 String Coloring (hard version) data structures dp Statement E2 Codeforces Round 617 (Div. 3) {1296} PROGRAMMING Codeforces Round #617 (Div. 3) Editorial 2100
53 Paint the String *special dp strings Statement H Kotlin Heroes: Episode 3 {1297} PROGRAMMING Kotlin Heroes: Episode 3 Editorial
1412 Super Jaber dfs and similar graphs implementation shortest paths Statement F Codeforces Round 619 (Div. 2) {1301} PROGRAMMING 2500.0 Codeforces Round #619 (Div. 2) Editorial 2700
3547 Infinite Path brute force dfs and similar graphs math number theory Statement D Educational Codeforces Round 84 (Rated for Div. 2) {1327} PROGRAMMING Educational Codeforces Round 84 Editorial 2200
14507 Carousel greedy math Statement D Codeforces Round 629 (Div. 3) {1328} PROGRAMMING 75246 1800
9662 Dreamoon Likes Coloring constructive algorithms greedy implementation math Statement A Codeforces Round 631 (Div. 1) - Thanks, Denis aramis Shitov! {1329} PROGRAMMING 500.0 Codeforces Round #631 Editorial 1800
18926 Composite Coloring brute force constructive algorithms greedy math number theory Statement B Codeforces Round 630 (Div. 2) {1332} PROGRAMMING 1000.0 Codeforces Round #630 Editorial 1500
511 Piet's Palette matrices Statement F Codeforces Round 639 (Div. 1) {1344} PROGRAMMING 2500.0 Codeforces Round #639 Editorial 3200
4820 Orac and Game of Life dfs and similar graphs implementation shortest paths Statement C Codeforces Round 641 (Div. 1) {1349} PROGRAMMING 1250.0 Codeforces Round #641 Editorial 2000
1832 Johnny and Megan's Necklace binary search bitmasks constructive algorithms dfs and similar dsu graphs Statement C Codeforces Round 647 (Div. 1) - Thanks, Algo Muse! {1361} PROGRAMMING 2000.0 Codeforces Round #647 Editorial 2500
279 Breadboard Capacity (hard version) Statement H2 Codeforces Global Round 8 {1368} PROGRAMMING 1500.0 Codeforces Global Round 8: editorial
14026 Even Picture constructive algorithms Statement C Codeforces Global Round 8 {1368} PROGRAMMING 1500.0 Codeforces Global Round 8: editorial
9220 TediousLee dp graphs greedy math matrices trees Statement D Codeforces Round 652 (Div. 2) {1369} PROGRAMMING 2000.0 Codeforces Round #652 (Div. 2) Editorial 1900
1708 Mastermind constructive algorithms greedy implementation sortings Statement C Codeforces Round 658 (Div. 1) {1381} PROGRAMMING 2000.0 Codeforces Round #658 Editorial 2500
350 Colors *special binary search constructive algorithms interactive Statement A Baltic Olympiad in Informatics 2020, Day 1 (IOI, Unofficial Mirror Contest, Unrated) {1386} PROGRAMMING T
898 Graph *special dfs and similar dp math Statement A Baltic Olympiad in Informatics 2020, Day 2 (IOI, Unofficial Mirror Contest, Unrated) {1387} PROGRAMMING T
1244 Bicolored Segments data structures dp graph matchings greedy sortings Statement F Educational Codeforces Round 92 (Rated for Div. 2) {1389} PROGRAMMING 80809
4187 Rarity and New Dress data structures dp graphs implementation Statement D Codeforces Round 662 (Div. 2) {1393} PROGRAMMING 1750.0 Codeforces Round #662 Editorial
20828 Rainbow Dash, Fluttershy and Chess Coloring greedy math Statement A Codeforces Round 662 (Div. 2) {1393} PROGRAMMING 500.0 Codeforces Round #662 Editorial
25484 Boboniu Likes to Color Balls brute force Statement A Codeforces Round 664 (Div. 2) {1395} PROGRAMMING 500.0 Codeforces Round #664 Editorial 1000
343 Rainbow Rectangles data structures Statement D Codeforces Round 666 (Div. 1) {1396} PROGRAMMING 2250.0 Codeforces Round #666 — Editorial
2179 Avoid Rainbow Cycles dsu graphs greedy sortings Statement E Grakn Forces 2020 {1408} PROGRAMMING 2500.0 Grakn Forces -- Editorial
436 The Thorny Path greedy math matrices Statement F Technocup 2021 - Elimination Round 3 {1411} PROGRAMMING 2750.0 Technocup 2021 Elimination Round 3 and Round #692 (Div. 1 + Div. 2) Editorial
12527 Repainting Street brute force brute force greedy Statement B Technocup 2021 - Elimination Round 2 {1415} PROGRAMMING 1250.0 Editorial of Codeforces Round 687 (Technocup 2021 — Elimitation Round 2)
15066 Two Arrays greedy math sortings Statement B Codeforces Round 673 (Div. 2) {1417} PROGRAMMING 1000.0 Codeforces Round #673 Editorial 1100
248 Cheat and Win bitmasks data structures games trees Statement E Codeforces Round 684 (Div. 1) {1439} PROGRAMMING 2500.0 Codeforces Round #684[Div1 and Div2] Editorial
513 Multithreading (Easy Version) combinatorics fft math Statement H1 Codeforces Global Round 12 {1450} PROGRAMMING 2750.0 Codeforces Global Round 12 Editorial
277 Multithreading (Hard Version) combinatorics implementation math Statement H2 Codeforces Global Round 12 {1450} PROGRAMMING 1750.0 Codeforces Global Round 12 Editorial
14581 13th Labour of Heracles greedy trees Statement D Good Bye 2020 {1466} PROGRAMMING 1000.0 Good Bye 2020 Editorial
31002 Red and Blue greedy Statement B Educational Codeforces Round 101 (Rated for Div. 2) {1469} PROGRAMMING Educational Codeforces Round 101 Editorial
3287 New Year's Puzzle brute force dp graph matchings greedy sortings Statement F Codeforces Round 693 (Div. 3) {1472} PROGRAMMING Codeforces Round #693 (Div. 3) Editorial
27991 Nezzar and Colorful Balls brute force greedy Statement A Codeforces Round 698 (Div. 2) {1478} PROGRAMMING 500.0 Tutorial 800
7464 Painting the Array I constructive algorithms data structures dp greedy implementation Statement B1 Codeforces Round 700 (Div. 1) {1479} PROGRAMMING 750.0 Editorial of Codeforces Round #700
4427 Painting the Array II data structures dp greedy implementation Statement B2 Codeforces Round 700 (Div. 1) {1479} PROGRAMMING 750.0 Editorial of Codeforces Round #700
12393 Fence Painting brute force constructive algorithms greedy implementation Statement C Codeforces Round 699 (Div. 2) {1481} PROGRAMMING 1500.0 Codeforces Round #699 (Div. 2) Editorial
2412 Sorting Books data structures dp greedy Statement E Codeforces Round 699 (Div. 2) {1481} PROGRAMMING 2500.0 Codeforces Round #699 (Div. 2) Editorial
236 Graph Coloring data structures graphs interactive Statement G Educational Codeforces Round 106 (Rated for Div. 2) {1499} PROGRAMMING Educational Codeforces Round 106 Editorial
2309 Two chandeliers binary search brute force chinese remainder theorem math number theory Statement B Codeforces Round 707 (Div. 1, based on Moscow Open Olympiad in Informatics) {1500} PROGRAMMING 750.0 Codeforces Round #707 Editorial 2200
587 Tiles for Bathroom two pointers Statement D Codeforces Round 707 (Div. 1, based on Moscow Open Olympiad in Informatics) {1500} PROGRAMMING 2000.0 Codeforces Round #707 Editorial 2900
7672 3-Coloring constructive algorithms games interactive Statement B Codeforces Round 712 (Div. 1) {1503} PROGRAMMING 1000.0 T 1700
32674 Yet Another Card Deck brute force data structures implementation trees Statement C Educational Codeforces Round 107 (Rated for Div. 2) {1511} PROGRAMMING 89634
12804 Phoenix and Socks greedy sortings two pointers Statement D Codeforces Global Round 14 {1515} PROGRAMMING 2000.0 Editorial
16649 Wonderful Coloring - 2 binary search constructive algorithms data structures greedy Statement B2 Codeforces Round 734 (Div. 3) {1551} PROGRAMMING Editorial for Codeforces Round #734 (Div.3)
31292 Wonderful Coloring - 1 strings Statement B1 Codeforces Round 734 (Div. 3) {1551} PROGRAMMING Editorial for Codeforces Round #734 (Div.3)
2124 Colors and Intervals constructive algorithms data structures greedy sortings Statement E Codeforces Global Round 15 {1552} PROGRAMMING 1500.0 Editorial of Global Round 15
24114 Mocha and Red and Blue dp greedy Statement B Codeforces Round 738 (Div. 2) {1559} PROGRAMMING 750.0 Tutorial (en) 900
1701 Paint dp greedy Statement C Codeforces Round 743 (Div. 1) {1572} PROGRAMMING 1750.0 Tutorial 2700
798 Knitting Batik implementation math Statement K COMPFEST 13 - Finals Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1575} PROGRAMMING COMPFEST 13 — Editorial
1534 Defender of Childhood Dreams bitmasks constructive algorithms divide and conquer Statement F Technocup 2022 - Elimination Round 1 {1583} PROGRAMMING 2750.0 Editorial for Technocup 2022 — Elimination Round 1 and Codeforces Round #749 (Div. 1+Div. 2)
14346 Coloring Rectangles greedy Statement B Technocup 2022 - Elimination Round 2 {1584} PROGRAMMING 500.0 Editorial for Technocup 2022 — Elimination Round 2 and Codeforces Round #755 (Div. 1, Div. 2) 1000
968 Alice and Recoloring 2 flows graph matchings greedy Statement F2 Codeforces Round 746 (Div. 2) {1592} PROGRAMMING 1750.0 95583
1078 Alice and Recoloring 1 greedy Statement F1 Codeforces Round 746 (Div. 2) {1592} PROGRAMMING 1750.0 95583
2650 Red-Black Number dp implementation math Statement F Codeforces Round 748 (Div. 3) {1593} PROGRAMMING Editorial for Codeforces Round #748 (Div.3)
12180 Rubik's Cube Coloring (easy version) combinatorics math Statement E1 Codeforces Round 747 (Div. 2) {1594} PROGRAMMING 1000.0 95525 1300
1609 Rubik's Cube Coloring (hard version) brute force dp implementation math trees Statement E2 Codeforces Round 747 (Div. 2) {1594} PROGRAMMING 1500.0 95525 2300
484 The Cells on the Paper binary search data structures implementation sortings Statement E Codeforces Round 758 (Div.1 + Div. 2) {1608} PROGRAMMING 2000.0 Editorial of Codeforces Round #758 (Div.1 + Div. 2)
830 Tree Coloring combinatorics fft Statement F Educational Codeforces Round 118 (Rated for Div. 2) {1613} PROGRAMMING 97467
719 Tricolor Triangles graphs math matrices Statement F Good Bye 2021: 2022 is NEAR {1616} PROGRAMMING 3000.0 Good Bye 2021 -- Editorial 2900
32276 Paint the Array math Statement C Codeforces Round 760 (Div. 3) {1618} PROGRAMMING Codeforces Round #760 (Div. 3) Editorial
19051 Palindromes Coloring binary search greedy sortings strings Statement D Codeforces Round 764 (Div. 3) {1624} PROGRAMMING Codeforces Round #764 (Div. 3) Editorial
2351 Colorful Operations data structures implementation Statement E Codeforces Round 771 (Div. 2) {1638} PROGRAMMING 2500.0 Codeforces Round #771 Editorial
15910 Inversion Graph dsu graphs math Statement C Codeforces Round 771 (Div. 2) {1638} PROGRAMMING 1250.0 Codeforces Round #771 Editorial
7870 Cross Coloring implementation math Statement D Educational Codeforces Round 123 (Rated for Div. 2) {1644} PROGRAMMING 100227
18684 Weird Sum combinatorics data structures geometry math matrices sortings Statement A Codeforces Round 775 (Div. 1, based on Moscow Open Olympiad in Informatics) {1648} PROGRAMMING 500.0 Codeforces Round #775 Editorial
25371 Colorful Stamp implementation Statement D Codeforces Round 784 (Div. 4) {1669} PROGRAMMING 102101 1100
4077 Tokitsukaze and Two Colorful Tapes constructive algorithms dfs and similar dsu graphs greedy Statement C Codeforces Round 789 (Div. 1) {1677} PROGRAMMING 1250.0 Tutorial
2092 Number of Groups data structures dfs and similar dsu graphs greedy sortings Statement E CodeCraft-22 and Codeforces Round 795 (Div. 2) {1691} PROGRAMMING 2250.0 Editorial for CodeCraft-22 and Codeforces Round #795 (Div. 2)
1449 Coloring brute force combinatorics constructive algorithms dfs and similar dp dsu graphs implementation Statement E Educational Codeforces Round 130 (Rated for Div. 2) {1697} PROGRAMMING 103835
11900 Color the Picture constructive algorithms greedy Statement A Codeforces Round 810 (Div. 1) {1710} PROGRAMMING 500.0 Codeforces Round #810 Editorial
154 Impressionism constructive algorithms graphs implementation math Statement E Codeforces Round 814 (Div. 1) {1718} PROGRAMMING 2250.0 Codeforces Round #814 (Div. 1, Div. 2) Editorial
28281 Image data structures implementation Statement A Educational Codeforces Round 134 (Rated for Div. 2) {1721} PROGRAMMING 106416
4150 Edge Split brute force constructive algorithms dfs and similar graphs probabilities trees Statement D Codeforces Round 819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 {1726} PROGRAMMING 2000.0 Codeforces Round #819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 Editorial
25435 Colored Balls: Revisited greedy implementation sortings Statement A Educational Codeforces Round 135 (Rated for Div. 2) {1728} PROGRAMMING 106805