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
4536 Find Color constructive algorithms geometry implementation math Statement A Codeforces Beta Round 39 {40} PROGRAMMING codeforces #39 1300
18660 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
633 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
1297 Prime Problem number theory Statement G School Team Contest 3 (Winter Computer School 2010/11) {45} PROGRAMMING 2300
2161 Game brute force dp implementation Statement D Codeforces Beta Round 46 (Div. 2) {49} PROGRAMMING 1700
15558 Easter Eggs constructive algorithms implementation Statement B Codeforces Beta Round 70 (Div. 2) {78} PROGRAMMING Solutions for Codeforces Beta Round #70 (Div. 2) 1200
2042 Domino constructive algorithms implementation Statement A Yandex.Algorithm 2011: Round 1 {85} PROGRAMMING Yandex.Algorithm 2011 - Round 1. Problem C. Tutorial 1400
5639 Cableway greedy math Statement A Codeforces Beta Round 74 (Div. 2 Only) {90} PROGRAMMING Solutions for Codeforces Beta Round #74 1000
486 Flags dp math matrices Statement D Codeforces Beta Round 76 (Div. 1 Only) {93} PROGRAMMING Codeforces Beta Round 76 - задача Е div 1 глазами ее автора. 2400
1364 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
149 Entertaining Geodetics brute force dsu implementation Statement D Codeforces Beta Round 81 {105} PROGRAMMING Tutorial 2600
944 Petya and Coloring combinatorics dp Statement D Codeforces Beta Round 85 (Div. 1 Only) {111} PROGRAMMING Codeforces Beta Round #85: Разбор задач 2300
100 Pills brute force flows Statement E Codeforces Beta Round 93 (Div. 1 Only) {126} PROGRAMMING Tutorial 3100
610 Swaps constructive algorithms graphs greedy Statement C Codeforces Testing Round 3 {134} PROGRAMMING 2200
1105 New Year Garland combinatorics dp Statement E Codeforces Round 100 {140} PROGRAMMING Codeforces Round #100: problem analysis 2600
14310 Trace geometry sortings Statement B Codeforces Round 110 (Div. 2) {157} PROGRAMMING Codeforces Round 110 — Разбор задач 1100
1102 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
319 The Beaver's Problem - 2 Statement E1 ABBYY Cup 2.0 - Hard {178} PROGRAMMING ABBYY Cup 2.0 — Hard: solutions 2100
246 The Beaver's Problem - 2 Statement E2 ABBYY Cup 2.0 - Hard {178} PROGRAMMING ABBYY Cup 2.0 — Hard: solutions 2200
218 The Beaver's Problem - 2 Statement E3 ABBYY Cup 2.0 - Hard {178} PROGRAMMING ABBYY Cup 2.0 — Hard: solutions 2400
2149 Cubes binary search dp two pointers Statement E Codeforces Round 116 (Div. 2, ACM-ICPC Rules) {180} PROGRAMMING 1700
769 Cyclic Coloring dfs and similar Statement C Croc Champ 2012 - Final {183} PROGRAMMING CROC Champ 2012 — Round 3 (Editorial) 2200
6003 Little Elephant and Cards binary search data structures Statement B Codeforces Round 129 (Div. 1) {204} PROGRAMMING Tutorial 1600
2930 Multicolored Marbles dp math Statement A VK Cup 2012 Finals, Practice Session {209} PROGRAMMING 1700
508 Pixels constructive algorithms math Statement B VK Cup 2012 Finals, Practice Session {209} PROGRAMMING 2200
7296 Color Stripe brute force dp greedy Statement C Codeforces Round 135 (Div. 2) {219} PROGRAMMING User editorial for Codeforces Round #135 (Div. 2) 1600
10351 Barcode dp matrices Statement C Codeforces Round 139 (Div. 2) {225} PROGRAMMING 1800
145554 Is your horseshoe on the other hoof? implementation Statement A Codeforces Round 141 (Div. 2) {228} PROGRAMMING Codeforces Round #141 (Div. 2) Tutorial 800
2020 Fence dp Statement F Codeforces Round 145 (Div. 2, ACM-ICPC Rules) {234} PROGRAMMING 1900
10415 Colorful Graph brute force dfs and similar graphs Statement D Codeforces Round 151 (Div. 2) {246} PROGRAMMING Codeforces Round #151 (Div. 2) Tutorial 1700
7865 Playing Cubes games greedy implementation Statement B Codeforces Round 159 (Div. 2) {257} PROGRAMMING Codeforces Round #159 (Div. 2) Разбор Задач 1400
1699 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
455 Colorful Stones dp two pointers Statement D Codeforces Round 162 (Div. 1) {264} PROGRAMMING Tutorial for E 2400
43669 Colorful Stones (Simplified Edition) implementation Statement A Codeforces Round 162 (Div. 2) {265} PROGRAMMING Codeforces Round #162 Tutorial 800
254477 Stones on the Table implementation Statement A Codeforces Round 163 (Div. 2) {266} PROGRAMMING Codeforces Round #163 (Div. 2) Tutorial 800
107286 Games brute force Statement A Codeforces Round 164 (Div. 2) {268} PROGRAMMING Codeforces Round #164 (Div. 2) — Problems Analysis 800
1002 Distinct Paths brute force combinatorics Statement B Croc Champ 2013 - Round 2 {293} PROGRAMMING Croc Champ 2013 — Round 2 — Editorial 2600
764 Greg and Caves combinatorics dp Statement D Codeforces Round 179 (Div. 1) {295} PROGRAMMING Codeforces Round #179 tutorial 2400
655 Color the Carpet constructive algorithms Statement D Codeforces Round 180 (Div. 1) {297} PROGRAMMING Tutorial 2400
178 Suns and Rays Statement F2 ABBYY Cup 3.0 {316} PROGRAMMING ABBYY Cup 3.0. Solutions 2500
203 Suns and Rays dfs and similar implementation Statement F1 ABBYY Cup 3.0 {316} PROGRAMMING ABBYY Cup 3.0. Solutions 2500
198 Suns and Rays constructive algorithms dfs and similar implementation Statement F3 ABBYY Cup 3.0 {316} PROGRAMMING ABBYY Cup 3.0. Solutions 2600
1753 Mittens constructive algorithms greedy sortings Statement C Codeforces Round 217 (Div. 2) {370} PROGRAMMING Codeforces Round #217 (Div. 2): tutorial 1800
9437 Tree and Queries data structures dfs and similar trees Statement D Codeforces Round 221 (Div. 1) {375} PROGRAMMING Codeforces Round #221 Tutorial 2400
675 Red and Black Tree dp implementation math Statement E Codeforces Round 221 (Div. 1) {375} PROGRAMMING Codeforces Round #221 Tutorial 3000
586 Game with Points dp graphs implementation shortest paths Statement D Testing Round 9 {386} PROGRAMMING 2300
1924 Red and Blue Balls Statement B Codeforces Round 233 (Div. 2) {399} PROGRAMMING 1000.0 Codeforces Round #233 Editorial
10458 Garland implementation Statement B Codeforces Round 239 (Div. 2) {408} PROGRAMMING Codeforces Round #239 Editorial 1200
9490 Art Union brute force dp implementation Statement B Codeforces Round 241 (Div. 2) {416} PROGRAMMING Codeforces Round #241 — editorial 1300
151 Colored Jenga dfs and similar dp probabilities Statement E Codeforces Round 242 (Div. 2) {424} PROGRAMMING Codeforces Round #242 (Div. 2) Editorial 2500
4156 Balls Game brute force two pointers Statement B Codeforces Round 245 (Div. 2) {430} PROGRAMMING Codeforces Round #245 — Editorial 1400
814 Square Tiling constructive algorithms greedy Statement E Codeforces Round 246 (Div. 2) {432} PROGRAMMING Codeforces Round #246 (Div. 2) Editorial 2700
288 Special Graph Statement E Codeforces Round 249 (Div. 2) {435} PROGRAMMING Codeforces Round #249 (Div. 2) Editorial 2500
2383 Borya and Hanabi bitmasks brute force implementation Statement A Codeforces Round 253 (Div. 1) {442} PROGRAMMING Codeforces #253 editorial 2000
1261 Adam and Tree data structures trees Statement D Codeforces Round 253 (Div. 1) {442} PROGRAMMING Codeforces #253 editorial 2500
3483 DZY Loves Colors data structures Statement C Codeforces Round 254 (Div. 1) {444} PROGRAMMING Codeforces Round #254 Editorial 2300
34391 DZY Loves Chessboard dfs and similar implementation Statement A Codeforces Round 254 (Div. 2) {445} PROGRAMMING Codeforces Round #254 Editorial 1200
7398 Appleman and Tree dfs and similar dp trees Statement B Codeforces Round 263 (Div. 1) {461} PROGRAMMING Tutorial 2200
206 Chessboard *special Statement E Surprise Language Round 7 {470} PROGRAMMING Surprise Language Round #7: editorial 1900
652 Random Function and Tree combinatorics dp trees Statement D Codeforces Round 275 (Div. 1) {482} PROGRAMMING Codeforces Round #275 Editorial 2600
551 Sharti data structures games Statement E Codeforces Round 282 (Div. 1) {494} PROGRAMMING 15148 3200
6951 Crazy Town geometry Statement A Codeforces Round 284 (Div. 1) {498} PROGRAMMING Codeforces Round #284 Editorial 1600
620 Stairs and Lines dp matrices Statement E Codeforces Round 284 (Div. 1) {498} PROGRAMMING Codeforces Round #284 Editorial 2600
15410 Mr. Kitayuta's Colorful Graph dfs and similar dp dsu graphs Statement B Codeforces Round 286 (Div. 2) {505} PROGRAMMING Tutorial 1500
2617 Mr. Kitayuta's Colorful Graph brute force dfs and similar dsu graphs Statement D Codeforces Round 286 (Div. 1) {506} PROGRAMMING Editorial 2300
10024 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
16841 Fox And Two Dots dfs and similar Statement B Codeforces Round 290 (Div. 2) {510} PROGRAMMING Codeforces Round #290 Editorial 1500
2599 Om Nom and Necklace hashing string suffix structures strings Statement D ZeptoLab Code Rush 2015 {526} PROGRAMMING ZeptoLab Code Rush 2015 — Editorial 2200
659 Place Your Ad Here data structures sortings Statement A VK Cup 2015 - Round 3 (unofficial online mirror, Div. 1 only) {542} PROGRAMMING 17697 2500
10181 Kyoya and Colored Balls combinatorics dp math Statement A Codeforces Round 309 (Div. 1) {553} PROGRAMMING Codeforces Round #309 Editorial 1700
8523 Gerald and Giant Chess combinatorics dp math number theory Statement C Codeforces Round 313 (Div. 1) {559} PROGRAMMING Codeforces Round 313 — Extended editoral 2500
1607 Painting Edges binary search data structures Statement E Codeforces Round 319 (Div. 1) {576} PROGRAMMING Editorial Codeforces Round #319 3200
87057 Vasya the Hipster implementation math Statement A Codeforces Round 322 (Div. 2) {581} PROGRAMMING Codeforces Round #322 (Div.2) Editorial 700
8424 Vika and Squares constructive algorithms implementation Statement B Codeforces Round 337 (Div. 2) {610} PROGRAMMING Codeforces Round #337 (Div.2) Editorial 1300
1113 Necklace constructive algorithms math Statement C Codeforces Round 339 (Div. 1) {613} PROGRAMMING Tutorial 2800
7136 Cards constructive algorithms dp math Statement B 8VC Venture Cup 2016 - Elimination Round {626} PROGRAMMING 23522 1300
4848 Bear and Colors implementation Statement A VK Cup 2016 - Round 3 {643} PROGRAMMING VK Cup 2016 — Round 3 — Editorial 1500
1724 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
1202 Captain America flows greedy Statement D Codeforces Round 366 (Div. 1) {704} PROGRAMMING Tutorial 3000
56825 Brain's Photos implementation Statement A Codeforces Round 368 (Div. 2) {707} PROGRAMMING 46662 1000
9662 Coloring Trees dp Statement C Codeforces Round 369 (Div. 2) {711} PROGRAMMING 46830 1700
8868 Anatoly and Cockroaches greedy Statement B Codeforces Round 373 (Div. 2) {719} PROGRAMMING Codeforces Round #373 — Editorial 1400
492 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
8015 Socks dfs and similar dsu graphs greedy Statement C Codeforces Round 376 (Div. 2) {731} PROGRAMMING 47840 1600
5568 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
945 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
10788 Blown Garland brute force implementation number theory Statement B Codeforces Round 392 (Div. 2) {758} PROGRAMMING Codeforces Round #392 (Div. 2) Editorial 1200
12321 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
3124 Timofey and rectangles constructive algorithms geometry Statement B Codeforces Round 395 (Div. 1) {763} PROGRAMMING Codeforces Round #395 [Editorial] 2200
26893 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
564 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
10297 Andryusha and Colored Balloons dfs and similar graphs greedy trees Statement C Технокубок 2017 - Финал (только для онсайт-финалистов) {780} PROGRAMMING Technocup 2017 Finals and Codeforces Round #403 Editorial 1500
3965 Till I Collapse data structures divide and conquer Statement C Codeforces Round 406 (Div. 1) {786} PROGRAMMING Codeforces Round #406 Editorial 2600
1303 Colored Balls greedy math number theory Statement E Educational Codeforces Round 18 {792} PROGRAMMING Educational Codeforces Round 18 - Editorial 2400
10293 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
1989 Ice cream coloring constructive algorithms dfs and similar greedy Statement C Codeforces Round 411 (Div. 1) {804} PROGRAMMING Codeforces Round #411 Editorial 2200
1868 Bipartite Checking data structures dsu graphs Statement F Educational Codeforces Round 22 {813} PROGRAMMING 52410 2600
3863 Multicolored Cars data structures implementation Statement D Educational Codeforces Round 24 {818} PROGRAMMING 52991 1700
6208 Black Square implementation Statement B Codeforces Round 423 (Div. 2, rated, based on VK Cup Finals) {828} PROGRAMMING Codeforces Round #423 Analysis 1300
540 Red-Black Cobweb data structures divide and conquer implementation trees Statement D Codeforces Round 426 (Div. 1) {833} PROGRAMMING Codeforces Round #426 Editorial 2800
14203 Generous Kefa brute force implementation Statement A Codeforces Round 429 (Div. 2) {841} PROGRAMMING T 900
890 Rainbow Balls math Statement F Codeforces Round 432 (Div. 1, based on IndiaHacks Final Round 2017) {850} PROGRAMMING Codeforces Round #432 editorial 2800
2278 Boxes And Balls data structures greedy Statement D Educational Codeforces Round 31 {884} PROGRAMMING 55470 2300
2998 Solution for Cube brute force implementation Statement C Codeforces Round 444 (Div. 2) {887} PROGRAMMING Codeforces Round #444 (Div. 2) Editorial 1500
12096 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
1655 New Year and Rainbow Roads graphs greedy implementation Statement F Good Bye 2017 {908} PROGRAMMING Good Bye 2017 Editorial 2400
2212 Colorful Points data structures greedy implementation Statement D Codeforces Round 455 (Div. 2) {909} PROGRAMMING Codeforces Round #455 (Div. 2) Editorial 2100
1836 Lightsabers (easy) implementation Statement F1 Helvetic Coding Contest 2018 online mirror (teams allowed, unrated) {958} PROGRAMMING helvetic-coding-contest-2018-editorial.pdf 1700
1460 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
994 Lightsabers (hard) fft Statement F3 Helvetic Coding Contest 2018 online mirror (teams allowed, unrated) {958} PROGRAMMING helvetic-coding-contest-2018-editorial.pdf 2600
5664 Chessboard bitmasks brute force implementation Statement C Educational Codeforces Round 41 (Rated for Div. 2) {961} PROGRAMMING Educational Codeforces Round 41 Editorial 1400
4824 Treasure Hunt greedy Statement B Codeforces Round 482 (Div. 2) {979} PROGRAMMING Codeforces Round #482 (Div. 2) Editorial 1800
959 Kuro and Topological Parity dp Statement E Codeforces Round 482 (Div. 2) {979} PROGRAMMING Codeforces Round #482 (Div. 2) Editorial 2800
3961 Posterized games greedy Statement C Codeforces Round 480 (Div. 2) {980} PROGRAMMING Tutorial 1700
580 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
17699 Infinity Gauntlet implementation Statement A Codeforces Round 485 (Div. 2) {987} PROGRAMMING Codeforces Round #485 Editorial 700
2465 Sky Full of Stars combinatorics math Statement C Codeforces Round 493 (Div. 1) {997} PROGRAMMING 60357 2600
420 Ants 2-sat data structures trees Statement D Codeforces Round 497 (Div. 1) {1007} PROGRAMMING Editorial for Codeforces Round #497 by Skyglow 3200
6560 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
626 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
16732 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
889 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
10273 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
330 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
236 Moonwalk challenge data structures strings trees Statement J Bubble Cup 11 - Finals [Online Mirror, Div. 1] {1045} PROGRAMMING E 3000
437 Electric Scheme flows graph matchings Statement F Mail.Ru Cup 2018 Round 1 {1054} PROGRAMMING Editorial 2600
6849 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
366 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
1221 Tanya and Colored Candies *special dp Statement C Mail.Ru Cup 2018 - Practice Round {1057} PROGRAMMING 2300
3308 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
3374 Colored Rooks constructive algorithms graphs Statement C Codeforces Round 518 (Div. 2) [Thanks, Mail.Ru!] {1068} PROGRAMMING E 1700
8805 Colorful Bricks combinatorics dp math Statement C Avito Cool Challenge 2018 {1081} PROGRAMMING 63888 1600
7280 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
11228 Array K-Coloring greedy sortings Statement B Codeforces Round 531 (Div. 3) {1102} PROGRAMMING 64439 1400
12806 Nice Garland brute force greedy math Statement C Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 1300
16621 Diverse Garland constructive algorithms dp greedy Statement D Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 1400
8393 Flood Fill dp Statement D Codeforces Round 538 (Div. 2) {1114} PROGRAMMING Codeforces Round #538 (Div. 2) Editorial 1900
6877 Tree Cutting (Easy Version) dfs and similar trees Statement F1 Codeforces Round 540 (Div. 3) {1118} PROGRAMMING 65396 1800
4496 Yet Another Ball Problem constructive algorithms implementation Statement E Codeforces Round 540 (Div. 3) {1118} PROGRAMMING 65396 2000
711 Tree Cutting (Hard Version) combinatorics dfs and similar dp trees Statement F2 Codeforces Round 540 (Div. 3) {1118} PROGRAMMING 65396 2700
11717 Ilya and a Colorful Walk greedy implementation Statement A Codeforces Global Round 2 {1119} PROGRAMMING Codeforces Global Round 2 Editorial 1100
9041 Colored Boots greedy implementation Statement D Codeforces Round 547 (Div. 3) {1141} PROGRAMMING 66062 1500
519 Rainbow Coins interactive Statement E Forethought Future Cup - Final Round (Onsite Finalists Only) {1147} PROGRAMMING Forethought Future Cup Final Round Tutorial 2900
2084 Three Religions dp implementation strings Statement B Codeforces Round 556 (Div. 1) {1149} PROGRAMMING 66783 2200
7385 Cat Party (Easy Edition) data structures implementation Statement B1 Codeforces Round 558 (Div. 2) {1163} PROGRAMMING 66943 1500
7708 Cat Party (Hard Edition) data structures implementation Statement B2 Codeforces Round 558 (Div. 2) {1163} PROGRAMMING 66943 1700
855 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
7407 Bicolored RBS constructive algorithms greedy Statement D Educational Codeforces Round 65 (Rated for Div. 2) {1167} PROGRAMMING 67058 1500
380 Nauuo and ODT data structures Statement E Codeforces Round 564 (Div. 1) {1172} PROGRAMMING Codeforces Round #564 Editorial 3300
3416 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
319 Problem from Red Panda combinatorics Statement E Codeforces Round 572 (Div. 1) {1188} PROGRAMMING Editorial of Codeforces Round #572 3200
383 Coloring Game dp games matrices Statement F Educational Codeforces Round 69 (Rated for Div. 2) {1197} PROGRAMMING E 2500
4432 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
327 Red Blue Tree data structures implementation trees Statement H Manthan, Codefest 19 (open for everyone, rated, Div. 1 + Div. 2) {1208} PROGRAMMING 69357 3500
7907 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
12945 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
220 Double Permutation Inc. *special binary search greedy Statement E Kotlin Heroes: Episode 2 {1211} PROGRAMMING Kotlin Heroes: Episode 2 Editorial 2200
89 King's Path *special math trees Statement G Kotlin Heroes: Episode 2 {1211} PROGRAMMING Kotlin Heroes: Episode 2 Editorial 2500
527 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
475 Feeling Good bitmasks data structures Statement G Codeforces Round 583 (Div. 1 + Div. 2, based on Olympiad of Metropolises) {1214} PROGRAMMING Tutorial 3100
3628 Marbles bitmasks dp Statement E Codeforces Round 585 (Div. 2) {1215} PROGRAMMING Codeforces Round #585 Editorial 2200
6105 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
12566 Knights constructive algorithms greedy Statement B Educational Codeforces Round 73 (Rated for Div. 2) {1221} PROGRAMMING Разбор Educational Codeforces Round 73 1100
3012 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
13335 Tile Painting constructive algorithms math number theory Statement A Codeforces Round 599 (Div. 1) {1242} PROGRAMMING Codeforces Round #599 Editorial 1500
8423 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
1665 Chips constructive algorithms implementation Statement F Codeforces Round 592 (Div. 2) {1244} PROGRAMMING Codeforces Round #592 (Div. 2) Tutorial 2300
15003 Good ol' Numbers Coloring math number theory Statement A Codeforces Round 597 (Div. 2) {1245} PROGRAMMING Codeforces Round #597 (Div. 2) Editorial 1000
8957 Infinite Fence greedy math number theory Statement C Educational Codeforces Round 77 (Rated for Div. 2) {1260} PROGRAMMING Educational Codeforces Round 77 Editorial 1700
685 Colored Tree data structures trees Statement F Educational Codeforces Round 77 (Rated for Div. 2) {1260} PROGRAMMING Educational Codeforces Round 77 Editorial 2700
17386 Sweet Problem math Statement A Codeforces Round 603 (Div. 2) {1263} PROGRAMMING Разбор Codeforces Round #603 (Div. 2) 1200
3074 Editor data structures implementation Statement E Codeforces Round 603 (Div. 2) {1263} PROGRAMMING Разбор Codeforces Round #603 (Div. 2) 2000
12156 Blocks greedy math Statement B Codeforces Round 608 (Div. 2) {1271} PROGRAMMING 72247 1300
241 Seollal graphs Statement G Hello 2020 {1284} PROGRAMMING Hello 2020 Editorial 3300
761 Red-Blue Graph constructive algorithms flows Statement F Educational Codeforces Round 80 (Rated for Div. 2) {1288} PROGRAMMING Educational Codeforces Round 80 Editorial 2900
8316 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
5557 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
1472 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
3603 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
14729 Carousel greedy math Statement D Codeforces Round 629 (Div. 3) {1328} PROGRAMMING 75246 1800
9809 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
19366 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
627 Piet's Palette matrices Statement F Codeforces Round 639 (Div. 1) {1344} PROGRAMMING 2500.0 Codeforces Round #639 Editorial 3200
4929 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
2164 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
287 Breadboard Capacity (hard version) Statement H2 Codeforces Global Round 8 {1368} PROGRAMMING 1500.0 Codeforces Global Round 8: editorial
14104 Even Picture constructive algorithms Statement C Codeforces Global Round 8 {1368} PROGRAMMING 1500.0 Codeforces Global Round 8: editorial
9290 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
1752 Mastermind constructive algorithms greedy implementation sortings Statement C Codeforces Round 658 (Div. 1) {1381} PROGRAMMING 2000.0 Codeforces Round #658 Editorial 2500
363 Colors *special binary search constructive algorithms interactive Statement A Baltic Olympiad in Informatics 2020, Day 1 (IOI, Unofficial Mirror Contest, Unrated) {1386} PROGRAMMING T
982 Graph *special dfs and similar dp math Statement A Baltic Olympiad in Informatics 2020, Day 2 (IOI, Unofficial Mirror Contest, Unrated) {1387} PROGRAMMING T
1306 Bicolored Segments data structures dp graph matchings greedy sortings Statement F Educational Codeforces Round 92 (Rated for Div. 2) {1389} PROGRAMMING 80809
4239 Rarity and New Dress data structures dp graphs implementation Statement D Codeforces Round 662 (Div. 2) {1393} PROGRAMMING 1750.0 Codeforces Round #662 Editorial
20869 Rainbow Dash, Fluttershy and Chess Coloring greedy math Statement A Codeforces Round 662 (Div. 2) {1393} PROGRAMMING 500.0 Codeforces Round #662 Editorial
25688 Boboniu Likes to Color Balls brute force Statement A Codeforces Round 664 (Div. 2) {1395} PROGRAMMING 500.0 Codeforces Round #664 Editorial 1000
353 Rainbow Rectangles data structures Statement D Codeforces Round 666 (Div. 1) {1396} PROGRAMMING 2250.0 Codeforces Round #666 — Editorial
2240 Avoid Rainbow Cycles dsu graphs greedy sortings Statement E Grakn Forces 2020 {1408} PROGRAMMING 2500.0 Grakn Forces -- Editorial
536 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
12600 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)
15155 Two Arrays greedy math sortings Statement B Codeforces Round 673 (Div. 2) {1417} PROGRAMMING 1000.0 Codeforces Round #673 Editorial 1100
315 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
659 Multithreading (Easy Version) combinatorics fft math Statement H1 Codeforces Global Round 12 {1450} PROGRAMMING 2750.0 Codeforces Global Round 12 Editorial
387 Multithreading (Hard Version) combinatorics implementation math Statement H2 Codeforces Global Round 12 {1450} PROGRAMMING 1750.0 Codeforces Global Round 12 Editorial
15410 13th Labour of Heracles greedy trees Statement D Good Bye 2020 {1466} PROGRAMMING 1000.0 Good Bye 2020 Editorial
31560 Red and Blue greedy Statement B Educational Codeforces Round 101 (Rated for Div. 2) {1469} PROGRAMMING Educational Codeforces Round 101 Editorial
3334 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
28220 Nezzar and Colorful Balls brute force greedy Statement A Codeforces Round 698 (Div. 2) {1478} PROGRAMMING 500.0 Tutorial 800
7541 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
4561 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
12513 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
2501 Sorting Books data structures dp greedy Statement E Codeforces Round 699 (Div. 2) {1481} PROGRAMMING 2500.0 Codeforces Round #699 (Div. 2) Editorial
404 Graph Coloring data structures graphs interactive Statement G Educational Codeforces Round 106 (Rated for Div. 2) {1499} PROGRAMMING Educational Codeforces Round 106 Editorial
2390 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
649 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
7749 3-Coloring constructive algorithms games interactive Statement B Codeforces Round 712 (Div. 1) {1503} PROGRAMMING 1000.0 T 1700
34870 Yet Another Card Deck brute force data structures implementation trees Statement C Educational Codeforces Round 107 (Rated for Div. 2) {1511} PROGRAMMING 89634
12938 Phoenix and Socks greedy sortings two pointers Statement D Codeforces Global Round 14 {1515} PROGRAMMING 2000.0 Editorial
16836 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)
31608 Wonderful Coloring - 1 strings Statement B1 Codeforces Round 734 (Div. 3) {1551} PROGRAMMING Editorial for Codeforces Round #734 (Div.3)
2153 Colors and Intervals constructive algorithms data structures greedy sortings Statement E Codeforces Global Round 15 {1552} PROGRAMMING 1500.0 Editorial of Global Round 15
24449 Mocha and Red and Blue dp greedy Statement B Codeforces Round 738 (Div. 2) {1559} PROGRAMMING 750.0 Tutorial (en) 900
1781 Paint dp greedy Statement C Codeforces Round 743 (Div. 1) {1572} PROGRAMMING 1750.0 Tutorial 2700
828 Knitting Batik implementation math Statement K COMPFEST 13 - Finals Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1575} PROGRAMMING COMPFEST 13 — Editorial
1641 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)
14456 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
1078 Alice and Recoloring 2 flows graph matchings greedy Statement F2 Codeforces Round 746 (Div. 2) {1592} PROGRAMMING 1750.0 95583
1216 Alice and Recoloring 1 greedy Statement F1 Codeforces Round 746 (Div. 2) {1592} PROGRAMMING 1750.0 95583
2729 Red-Black Number dp implementation math Statement F Codeforces Round 748 (Div. 3) {1593} PROGRAMMING Editorial for Codeforces Round #748 (Div.3)
12465 Rubik's Cube Coloring (easy version) combinatorics math Statement E1 Codeforces Round 747 (Div. 2) {1594} PROGRAMMING 1000.0 95525 1300
1694 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
531 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)
913 Tree Coloring combinatorics fft Statement F Educational Codeforces Round 118 (Rated for Div. 2) {1613} PROGRAMMING 97467
787 Tricolor Triangles graphs math matrices Statement F Good Bye 2021: 2022 is NEAR {1616} PROGRAMMING 3000.0 Good Bye 2021 -- Editorial 2900
34651 Paint the Array math Statement C Codeforces Round 760 (Div. 3) {1618} PROGRAMMING Codeforces Round #760 (Div. 3) Editorial
19420 Palindromes Coloring binary search greedy sortings strings Statement D Codeforces Round 764 (Div. 3) {1624} PROGRAMMING Codeforces Round #764 (Div. 3) Editorial
2488 Colorful Operations data structures implementation Statement E Codeforces Round 771 (Div. 2) {1638} PROGRAMMING 2500.0 Codeforces Round #771 Editorial
16119 Inversion Graph dsu graphs math Statement C Codeforces Round 771 (Div. 2) {1638} PROGRAMMING 1250.0 Codeforces Round #771 Editorial
7964 Cross Coloring implementation math Statement D Educational Codeforces Round 123 (Rated for Div. 2) {1644} PROGRAMMING 100227
20066 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
25996 Colorful Stamp implementation Statement D Codeforces Round 784 (Div. 4) {1669} PROGRAMMING 102101 1100
4157 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
2188 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)
1491 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
12010 Color the Picture constructive algorithms greedy Statement A Codeforces Round 810 (Div. 1) {1710} PROGRAMMING 500.0 Codeforces Round #810 Editorial
255 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
28448 Image data structures implementation Statement A Educational Codeforces Round 134 (Rated for Div. 2) {1721} PROGRAMMING 106416
4285 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
25556 Colored Balls: Revisited greedy implementation sortings Statement A Educational Codeforces Round 135 (Rated for Div. 2) {1728} PROGRAMMING 106805