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 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
13500 Cover it! dfs and similar dsu graphs shortest paths trees Statement E Codeforces Round 565 (Div. 3) {1176} PROGRAMMING 67598 1700
5689 Recover it! dfs and similar graphs greedy number theory sortings Statement D Codeforces Round 565 (Div. 3) {1176} PROGRAMMING 67598 1900
1056 Daleks' Invasion (medium) dfs and similar graphs shortest paths trees Statement E2 Helvetic Coding Contest 2019 online mirror (teams allowed, unrated) {1184} PROGRAMMING helvetic-coding-contest-2019-editorial.pdf 2200
994 Vus the Cossack and a Graph dfs and similar graphs greedy implementation Statement F Codeforces Round 571 (Div. 2) {1186} PROGRAMMING E 2300
1162 Graph Traveler brute force data structures dfs and similar dp graphs implementation math number theory Statement F Codeforces Round 578 (Div. 2) {1200} PROGRAMMING Codeforces Round #578 (Div. 2) Editorial 2500
10701 Cow and Snacks dfs and similar dsu graphs Statement D Codeforces Round 584 - Dasha Code Championship - Elimination Round (rated, open for everyone, Div. 1 + Div. 2) {1209} PROGRAMMING 69791 1700
1362 Koala and Notebook data structures dfs and similar graphs shortest paths strings trees Statement F Codeforces Round 584 - Dasha Code Championship - Elimination Round (rated, open for everyone, Div. 1 + Div. 2) {1209} PROGRAMMING 69791 2600
3013 Unstable String Sort data structures dfs and similar dsu graphs greedy implementation strings Statement F Codeforces Round 582 (Div. 3) {1213} PROGRAMMING Codeforces Round #582 (Div. 3) Editorial 2400
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
2999 Tourism dfs and similar dp dsu graphs greedy trees Statement E Codeforces Round 586 (Div. 1 + Div. 2) {1220} PROGRAMMING Codeforces Round #586 Editorial 2200
211 Alice and the Cactus dfs and similar graphs math probabilities Statement F Codeforces Round 593 (Div. 2) {1236} PROGRAMMING 70654 2900
2051 The Maximum Subtree dfs and similar dp graphs trees Statement F Educational Codeforces Round 74 (Rated for Div. 2) {1238} PROGRAMMING Educational Codeforces Round 74 Editorial 2300
2589 Catowice City 2-sat dfs and similar graph matchings graphs Statement D Codeforces Round 594 (Div. 1) {1239} PROGRAMMING Editorial of Codeforces Round #594 (on the problems of Moscow Team Olympiad) 2400
9213 0-1 MST dfs and similar dsu graphs sortings Statement B Codeforces Round 599 (Div. 1) {1242} PROGRAMMING Codeforces Round #599 Editorial 1900
1943 Sum Balance bitmasks dfs and similar dp graphs Statement C Codeforces Round 599 (Div. 1) {1242} PROGRAMMING Codeforces Round #599 Editorial 2400
1750 Wires dfs and similar graphs greedy Statement N 2019-2020 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Teams Preferred) {1250} PROGRAMMING 2200
10229 Harmonious Graph constructive algorithms dfs and similar dsu graphs greedy sortings Statement D Codeforces Round 600 (Div. 2) {1253} PROGRAMMING Editorial 1700
15972 Secret Passwords dfs and similar dsu graphs Statement D Codeforces Round 603 (Div. 2) {1263} PROGRAMMING Codeforces Round #603 (Div. 2) Editorial 1500
949 Economic Difficulties data structures dfs and similar dp flows graphs trees Statement F Codeforces Round 603 (Div. 2) {1263} PROGRAMMING Разбор Codeforces Round #603 (Div. 2) 2500
377 Almost Same Distance dfs and similar graphs Statement F Codeforces Global Round 6 {1266} PROGRAMMING Codeforces Global Round 6 Editorial 2900
2949 Subset with Zero Sum constructive algorithms dfs and similar graphs math Statement G Good Bye 2019 {1270} PROGRAMMING Разбор Goodbye 2019 2700
7863 Nearest Opposite Parity dfs and similar graphs shortest paths Statement E Codeforces Round 605 (Div. 3) {1272} PROGRAMMING Codeforces Round #605 (Div. 3) Editorial 2000
5644 Two Fairs combinatorics dfs and similar dsu graphs Statement B Codeforces Round 606 (Div. 1, based on Technocup 2020 Elimination Round 4) {1276} PROGRAMMING Technocup 2020 — Elimination Round 4 + Codeforces Round 606: Editorial 1900
3038 Jeremy Bearimy dfs and similar graphs greedy trees Statement C Codeforces Round 607 (Div. 1) {1280} PROGRAMMING Codeforces Round #607 Editorial 2000
1220 The Cake Is a Lie constructive algorithms data structures dfs and similar graphs Statement E Codeforces Round 610 (Div. 2) {1282} PROGRAMMING 72461 2400
5454 Numbers on Tree constructive algorithms data structures dfs and similar graphs greedy trees Statement B Codeforces Round 612 (Div. 1) {1286} PROGRAMMING Codeforces Round #612 - Editorial 2000
2004 Prefix Enlightenment dfs and similar dsu graphs Statement C Codeforces Round 616 (Div. 1) {1290} PROGRAMMING 1750.0 Codeforces Round #616 Editorial 2400
528 Around the World bitmasks combinatorics dfs and similar dp graphs graphs math trees Statement D Codeforces Round 618 (Div. 1) {1299} PROGRAMMING 1750.0 Codeforces Round #618 Editorial 2900
1411 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
5864 1-Trees and Queries data structures dfs and similar shortest paths trees Statement E Codeforces Round 620 (Div. 2) {1304} PROGRAMMING 2000.0 Codeforces Round #620 (Div. 2) Editorial 2000
5354 Kuroni and the Celebration constructive algorithms dfs and similar graphs interactive trees Statement D Ozon Tech Challenge 2020 (Div.1 + Div.2, Rated, T-shirts + prizes!) {1305} PROGRAMMING 1750.0 Ozon Tech Challenge 2020 Editorial 1900
7159 Cow and Fields binary search data structures dfs and similar graphs greedy shortest paths sortings Statement D Codeforces Round 621 (Div. 1 + Div. 2) {1307} PROGRAMMING 2000.0 Codeforces Round #621 (Div. 1 + Div. 2) Editorial 1900
3537 Nash Matrix constructive algorithms dfs and similar graphs implementation Statement D CodeCraft-20 (Div. 2) {1316} PROGRAMMING 1750.0 Codecraft-20 (Div.2) Editorial 2000
12957 Maximum White Subtree dfs and similar dp graphs trees Statement F Codeforces Round 627 (Div. 3) {1324} PROGRAMMING Codeforces Round #627 (Div. 3) Editorial
2319 Ehab's Last Theorem constructive algorithms dfs and similar graphs greedy Statement F Codeforces Round 628 (Div. 2) {1325} PROGRAMMING 2750.0 74235 2600
2331 Ehab's REAL Number Theory Problem brute force dfs and similar graphs number theory shortest paths Statement E Codeforces Round 628 (Div. 2) {1325} PROGRAMMING 2500.0 74235 2700
3546 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
11649 Tree Queries dfs and similar graphs trees Statement E Codeforces Round 629 (Div. 3) {1328} PROGRAMMING 75246 2100
2411 Robots on a Grid data structures dfs and similar dsu graphs greedy matrices Statement F Codeforces Round 634 (Div. 3) {1335} PROGRAMMING 75993 2600
1068 Nastya and Time Machine constructive algorithms dfs and similar graphs trees Statement D Codeforces Round 637 (Div. 1) - Thanks, Ivan Belonogov! {1340} PROGRAMMING 1750.0 Codeforces Round #637 Editorial
6348 Monopole Magnets constructive algorithms dfs and similar dsu graphs Statement B Codeforces Round 639 (Div. 1) {1344} PROGRAMMING 1000.0 Codeforces Round #639 Editorial 2000
1976 Quantifier Question dfs and similar dp graphs math Statement C Codeforces Round 639 (Div. 1) {1344} PROGRAMMING 1500.0 Codeforces Round #639 Editorial 2600
901 Phoenix and Memory data structures dfs and similar graphs greedy Statement F Codeforces Round 638 (Div. 2) {1348} PROGRAMMING 3000.0 Codeforces Round #638 (Div. 2) Editorial 2600
4803 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
3675 Graph Coloring dfs and similar dp graphs Statement E Educational Codeforces Round 87 (Rated for Div. 2) {1354} PROGRAMMING 77593 2100
1828 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
984 James and the Chase dfs and similar graphs probabilities trees Statement E Codeforces Round 647 (Div. 1) - Thanks, Algo Muse! {1361} PROGRAMMING 3000.0 Codeforces Round #647 Editorial 3000
4951 Ehab's Last Corollary constructive algorithms data structures dfs and similar dp graphs implementation trees Statement D Codeforces Round 649 (Div. 2) {1364} PROGRAMMING 2000.0 Codeforces round #649 editorial 2100
20687 Solve The Maze constructive algorithms dfs and similar dsu graphs greedy implementation shortest paths Statement D Codeforces Round 648 (Div. 2) {1365} PROGRAMMING 1500.0 Editorial — Codeforces Round #648 1700
1779 The Hidden Pair (Easy Version) binary search dfs and similar graphs interactive shortest paths trees Statement F1 Codeforces Round 651 (Div. 2) {1370} PROGRAMMING 2000.0 Editorial — Codeforces Round #651
1662 The Hidden Pair (Hard Version) binary search dfs and similar graphs interactive shortest paths trees Statement F2 Codeforces Round 651 (Div. 2) {1370} PROGRAMMING 1250.0 Editorial — Codeforces Round #651
8969 Directing Edges dfs and similar graphs Statement E Codeforces Round 656 (Div. 3) {1385} PROGRAMMING Codeforces Round #656 (Div. 3) Editorial 2000
1809 Columns Swaps 2-sat dfs and similar dsu graphs implementation Statement G Codeforces Round 656 (Div. 3) {1385} PROGRAMMING Codeforces Round #656 (Div. 3) Editorial 2300
6902 Captain Flint and Treasure data structures dfs and similar dp graphs greedy implementation trees Statement D Codeforces Round 660 (Div. 2) {1388} PROGRAMMING 2000.0 Codeforces Round #660 Editorial 2000
492 Directing Edges dfs and similar dp graphs greedy trees Statement G Educational Codeforces Round 92 (Rated for Div. 2) {1389} PROGRAMMING 80809
1921 Pairs of Pairs constructive algorithms dfs and similar graphs trees Statement E Codeforces Round 663 (Div. 2) {1391} PROGRAMMING 2750.0 Codeforces Round #663 (Div. 2) Editorial
233 Star Trek *special combinatorics dfs and similar dp games graphs matrices trees Statement C Central-European Olympiad in Informatics, CEOI 2020, Day 1 (IOI, Unofficial Mirror Contest, Unrated) {1402} PROGRAMMING Editorial
393 Spring cleaning *special data structures dfs and similar graphs trees Statement B Central-European Olympiad in Informatics, CEOI 2020, Day 2 (IOI, Unofficial Mirror Contest, Unrated) {1403} PROGRAMMING CEOI 2020 Online Mirror — Day 2 Tutorial
11721 Link Cut Centroids constructive algorithms dfs and similar graphs trees Statement C Codeforces Round 670 (Div. 2) {1406} PROGRAMMING 1500.0 Codeforces Round #670 (Div. 2) Editorial
1885 Egor in the Republic of Dagestan constructive algorithms dfs and similar dp graphs greedy shortest paths Statement E Codeforces Round 669 (Div. 2) {1407} PROGRAMMING 2500.0 Codeforces Round #669 Editorial
8565 Peaceful Rooks dfs and similar dsu graphs Statement C Technocup 2021 - Elimination Round 3 {1411} PROGRAMMING 1750.0 Technocup 2021 Elimination Round 3 and Round #692 (Div. 1 + Div. 2) Editorial
2693 Graph and Queries data structures dfs and similar dsu graphs trees Statement D Codeforces Round 673 (Div. 1) {1416} PROGRAMMING 2000.0 Codeforces Round #673 Editorial 2600
561 Rain of Fire binary search dfs and similar dsu graphs implementation sortings Statement F Codeforces Round 671 (Div. 2) {1419} PROGRAMMING 3000.0 Codeforces Round #671 Editorial
5070 Reducing Delivery Cost dfs and similar graphs shortest paths Statement G Codeforces Round 677 (Div. 3) {1433} PROGRAMMING Codeforces Round #677 (Div. 3) Editorial
1848 Team-Building 2-sat dfs and similar dsu graphs Statement C Codeforces Round 680 (Div. 1, based on Moscow Team Olympiad) {1444} PROGRAMMING 1500.0 Codeforces Round #680 Editorial
1419 Capitalism constructive algorithms dfs and similar graphs shortest paths Statement E Codeforces Global Round 12 {1450} PROGRAMMING 2500.0 Codeforces Global Round 12 Editorial
6596 Number of Simple Paths combinatorics data structures dfs and similar dsu graphs trees Statement E Codeforces Round 686 (Div. 3) {1454} PROGRAMMING Codeforces Round #686 (Div. 3) Editorial
1727 Plan of Lectures dfs and similar dsu graphs Statement E Educational Codeforces Round 100 (Rated for Div. 2) {1463} PROGRAMMING Educational Codeforces Round 100 Editorial
3056 Euclid's nightmare dfs and similar dsu graphs math Statement F Good Bye 2020 {1466} PROGRAMMING 1750.0 Good Bye 2020 Editorial
4177 Strange Housing constructive algorithms dfs and similar dsu graph matchings graphs Statement D Codeforces Round 694 (Div. 1) {1470} PROGRAMMING 1500.0 86464
5611 Moving to the Capital dfs and similar dp graphs shortest paths Statement G Codeforces Round 693 (Div. 3) {1472} PROGRAMMING Codeforces Round #693 (Div. 3) Editorial
27043 Ball in Berland combinatorics dfs and similar graphs hashing math Statement C Codeforces Round 697 (Div. 3) {1475} PROGRAMMING Codeforces Round #697 (Div. 3) Editorial
2717 Pattern Matching bitmasks data structures dfs and similar graphs sortings strings Statement E Educational Codeforces Round 103 (Rated for Div. 2) {1476} PROGRAMMING 87356
781 Nezzar and Hidden Permutations constructive algorithms dfs and similar graphs Statement D Codeforces Round 698 (Div. 1) {1477} PROGRAMMING 2250.0 87294 2800
15386 Minimum Ties brute force constructive algorithms dfs and similar graphs greedy implementation math Statement C Educational Codeforces Round 104 (Rated for Div. 2) {1487} PROGRAMMING 87873
1530 BFS Trees combinatorics dfs and similar graphs math shortest paths trees Statement D Codeforces Round 706 (Div. 1) {1495} PROGRAMMING 2000.0 Codeforces Round #706 Editorial
1721 Complete the MST data structures dfs and similar dsu graphs greedy math Statement C Codeforces Round 715 (Div. 1) {1508} PROGRAMMING 1500.0 Codeforces Round #715 Editorial
239 Cactus Not Enough dfs and similar graphs Statement C 2020-2021 ICPC, NERC, Northern Eurasia Onsite (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1510} PROGRAMMING nerc-2020-offline-tutorial.pdf
12429 Min Cost String brute force constructive algorithms dfs and similar graphs greedy Statement D Educational Codeforces Round 107 (Rated for Div. 2) {1511} PROGRAMMING 89634
2068 Phoenix and Earthquake constructive algorithms dfs and similar dsu graphs greedy trees Statement F Codeforces Global Round 14 {1515} PROGRAMMING 3250.0 Editorial
1349 Phoenix and Odometers dfs and similar graphs math number theory Statement G Codeforces Global Round 14 {1515} PROGRAMMING 3500.0 Editorial
893 Off by One constructive algorithms dfs and similar geometry graphs sortings trees Statement E Educational Codeforces Round 108 (Rated for Div. 2) {1519} PROGRAMMING Educational Codeforces Round 108 Editorial
4210 To Go Or Not To Go? dfs and similar graphs greedy shortest paths Statement G Codeforces Round 719 (Div. 3) {1520} PROGRAMMING Editorial
2289 Nastia Plays with a Tree constructive algorithms data structures dfs and similar dp flows graphs greedy implementation trees Statement D Codeforces Round 720 (Div. 2) {1521} PROGRAMMING 2250.0 90477
2940 Trees of Tranquillity data structures dfs and similar greedy trees Statement C Codeforces Round 722 (Div. 1) {1528} PROGRAMMING 1750.0 Codeforces Round #722 Editorial
61 Excursions *special constructive algorithms dfs and similar flows graphs Statement I Kotlin Heroes: Episode 7 {1533} PROGRAMMING Kotlin Heroes 7 — Editorial
98 Biome Map *special constructive algorithms dfs and similar graphs Statement G Kotlin Heroes: Episode 7 {1533} PROGRAMMING Kotlin Heroes 7 — Editorial
13768 Little Alawn's Puzzle combinatorics dfs and similar dp dsu graphs math Statement C Codeforces LATOKEN Round 1 (Div. 1 + Div. 2) {1534} PROGRAMMING 1250.0 Codeforces LATOKEN Round 1 (Div. 1 + Div. 2) Editorial
699 Falling Sand (Hard Version) dfs and similar dp graphs greedy Statement F2 Codeforces LATOKEN Round 1 (Div. 1 + Div. 2) {1534} PROGRAMMING 1250.0 Codeforces LATOKEN Round 1 (Div. 1 + Div. 2) Editorial
1391 Falling Sand (Easy Version) dfs and similar graphs greedy Statement F1 Codeforces LATOKEN Round 1 (Div. 1 + Div. 2) {1534} PROGRAMMING 1750.0 Codeforces LATOKEN Round 1 (Div. 1 + Div. 2) Editorial
2803 Figure Fixing constructive algorithms dfs and similar dsu graphs math Statement F Codeforces Round 726 (Div. 2) {1537} PROGRAMMING 2000.0 Codeforces Round #726 (Div.2) Editorial
3521 How Many Paths? dfs and similar dp graphs trees Statement G Codeforces Round 731 (Div. 3) {1547} PROGRAMMING Codeforces Round #731 (Div. 3) Editorial
3767 Permutation Shift brute force combinatorics constructive algorithms dfs and similar graphs math Statement E Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2) {1553} PROGRAMMING 1750.0 Harbour.Space Scholarship Contest 2021-2022 (Div. 1 + Div. 2) Editorial
695 Down Below binary search dfs and similar graphs meet-in-the-middle shortest paths Statement E Codeforces Round 740 (Div. 1, based on VK Cup 2021 - Final (Engine)) {1558} PROGRAMMING 3000.0 Codeforces Round #740 Editorial 3000
3048 Mocha and Diana (Hard Version) brute force constructive algorithms dfs and similar dsu graphs greedy trees two pointers Statement D2 Codeforces Round 738 (Div. 2) {1559} PROGRAMMING 1500.0 Tutorial (en) 2500
4440 Buds Re-hanging dfs and similar graphs greedy trees Statement E Codeforces Global Round 16 {1566} PROGRAMMING 2000.0 Codeforces Global Round 16 Editorial
877 One-Four Overload 2-sat constructive algorithms dfs and similar geometry graphs implementation Statement F Codeforces Round 742 (Div. 2) {1567} PROGRAMMING 2750.0 Codeforces Round #742 Editorial
4843 The Strongest Build data structures dfs and similar graphs greedy hashing implementation shortest paths Statement D Educational Codeforces Round 114 (Rated for Div. 2) {1574} PROGRAMMING 95188
2479 Moment of Bloom constructive algorithms dfs and similar graph matchings graphs greedy Statement E Technocup 2022 - Elimination Round 1 {1583} PROGRAMMING 2250.0 Editorial for Technocup 2022 — Elimination Round 1 and Codeforces Round #749 (Div. 1+Div. 2)
9105 Bakry and Partitioning bitmasks constructive algorithms dfs and similar dp graphs trees Statement C Codeforces Round 746 (Div. 2) {1592} PROGRAMMING 1500.0 95583
9321 The Number of Imposters constructive algorithms dfs and similar dp dsu graphs Statement D Codeforces Round 747 (Div. 2) {1594} PROGRAMMING 1750.0 95525 1700
3243 Treelabeling bitmasks constructive algorithms dfs and similar games graphs greedy trees Statement D Codeforces Round 754 (Div. 2) {1605} PROGRAMMING 2000.0 tutorial 2100
2124 Robot on the Board 2 dfs and similar graphs Statement F Codeforces Round 753 (Div. 3) {1607} PROGRAMMING Codeforces Round #753 (Div. 3) Editorial
7350 Game Master data structures dfs and similar dp graphs greedy two pointers Statement C Codeforces Round 758 (Div.1 + Div. 2) {1608} PROGRAMMING 1000.0 Editorial of Codeforces Round #758 (Div.1 + Div. 2)
702 Mashtali: a Space Oddysey constructive algorithms dfs and similar graphs implementation Statement F Codeforces Global Round 17 {1610} PROGRAMMING 2750.0 Codeforces Global Round 17 Editorial
5879 Crazy Robot constructive algorithms dfs and similar graphs Statement E Educational Codeforces Round 118 (Rated for Div. 2) {1613} PROGRAMMING 97467
2129 X(or)-mas Tree 2-sat bitmasks dfs and similar graphs trees Statement D Codeforces Global Round 18 {1615} PROGRAMMING 2250.0 Global Round 18 Editorial
424 Just Add an Edge dfs and similar dp graphs Statement G Good Bye 2021: 2022 is NEAR {1616} PROGRAMMING 3500.0 Good Bye 2021 -- Editorial 3500
1008 Christmas Chocolates dfs and similar dp games graphs implementation math number theory shortest paths trees Statement E Codeforces Round 761 (Div. 2) {1617} PROGRAMMING 3000.0 Editorial for Codeforces Round #761 (Div. 2)
1148 Cats on the Upgrade (easy version) data structures dfs and similar divide and conquer dp graphs trees Statement E1 Codeforces Round 765 (Div. 2) {1625} PROGRAMMING 2000.0 Editorial of Codeforces Round #765 (Div. 2)
659 Cats on the Upgrade (hard version) data structures dfs and similar graphs trees Statement E2 Codeforces Round 765 (Div. 2) {1625} PROGRAMMING 1250.0 Editorial of Codeforces Round #765 (Div. 2)
2087 Fair Share constructive algorithms data structures dfs and similar graph matchings graphs Statement E Codeforces Round 770 (Div. 2) {1634} PROGRAMMING 2500.0 Codeforces Round #770 (Div. 2) editorial
2720 Cars constructive algorithms dfs and similar dsu graphs greedy sortings Statement E Codeforces Round 772 (Div. 2) {1635} PROGRAMMING 2250.0 Codeforces Round #772 Editorial
504 Air Reform data structures dfs and similar divide and conquer dsu graphs implementation trees Statement E Codeforces Round 775 (Div. 1, based on Moscow Open Olympiad in Informatics) {1648} PROGRAMMING 2500.0 Codeforces Round #775 Editorial
185 Two Avenues data structures dfs and similar graphs Statement F Codeforces Round 775 (Div. 1, based on Moscow Open Olympiad in Informatics) {1648} PROGRAMMING 3750.0 Codeforces Round #775 Editorial
2918 Counting Shortcuts dfs and similar dp graphs shortest paths Statement G Codeforces Round 776 (Div. 3) {1650} PROGRAMMING 100712
6462 Nearest Excluded Points binary search data structures dfs and similar graphs shortest paths Statement D Educational Codeforces Round 124 (Rated for Div. 2) {1651} PROGRAMMING Educational Codeforces Round 124 Editorial
1962 AND-MEX Walk bitmasks brute force data structures dfs and similar dsu graphs greedy Statement E Codeforces Round 782 (Div. 2) {1659} PROGRAMMING 2250.0 Codeforces Round #782 (Div. 2) Editorial
20576 Getting Zero brute force dfs and similar graphs greedy shortest paths Statement B Educational Codeforces Round 126 (Rated for Div. 2) {1661} PROGRAMMING Educational Codeforces Round 126 Editorial
1226 Antennas data structures dfs and similar graphs graphs implementation implementation shortest paths shortest paths Statement F SWERC 2021-2022 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1662} PROGRAMMING 102042
1586 Circular Maze dfs and similar graphs implementation Statement O SWERC 2021-2022 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1662} PROGRAMMING 102042
3689 Labyrinth dfs and similar graphs Statement L 2021-2022 ICPC, NERC, Northern Eurasia Onsite (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1666} PROGRAMMING Tutorial (PDF)
10978 Where is the Pizza? data structures dfs and similar dsu graphs implementation math Statement C Codeforces Round 788 (Div. 2) {1670} PROGRAMMING 1750.0 Tutorial 1400
934 Checker for Array Shuffling constructive algorithms dfs and similar graphs Statement F2 Codeforces Global Round 20 {1672} PROGRAMMING 1250.0 Global Round 20 Editorial 2800
2891 Remove Directed Edges dfs and similar dp graphs Statement G Codeforces Round 786 (Div. 3) {1674} PROGRAMMING 102482
23784 White-Black Balanced Subtrees dfs and similar dp graphs trees Statement G Codeforces Round 790 (Div. 4) {1676} PROGRAMMING Codeforces Round #790 (Div. 4) Editorial
4073 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
5806 Toss a Coin to Your Graph... binary search dfs and similar dp graphs Statement D Codeforces Round 791 (Div. 2) {1679} PROGRAMMING 1750.0 Codeforces Round #791 (Div. 2) Editorial
895 Lenient Vertex Cover data structures dfs and similar divide and conquer dsu graphs Statement F Educational Codeforces Round 128 (Rated for Div. 2) {1680} PROGRAMMING 102852
745 Unordered Swaps constructive algorithms dfs and similar graphs greedy math sortings Statement E Codeforces Round 793 (Div. 2) {1682} PROGRAMMING 2500.0 Codeforces Round #793 (Div. 2) Editorial
1357 ANDfinity bitmasks brute force constructive algorithms dfs and similar dsu graphs Statement E Codeforces Round 798 (Div. 2) {1689} PROGRAMMING 2500.0 Editorial for Codeforces Round #798 (Div. 2)
2091 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)
512 Ambiguous Dominoes constructive algorithms dfs and similar graphs Statement E Codeforces Round 801 (Div. 2) and EPIC Institute of Technology Round {1695} PROGRAMMING 3000.0 Editorial for Codeforces Round #801 (Div. 2) and EPIC Institute of Technology Round
1127 Tree Recovery bitmasks brute force constructive algorithms dfs and similar dsu graphs trees Statement F Codeforces Global Round 21 {1696} PROGRAMMING 2500.0 Editorial of Codeforces Global Round 21
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
17724 Split Into Two Sets dfs and similar dsu graph matchings graphs Statement E Codeforces Round 805 (Div. 3) {1702} PROGRAMMING 104763
1893 DFS Trees data structures dfs and similar dsu graphs greedy trees Statement C Codeforces Round 808 (Div. 1) {1707} PROGRAMMING 1250.0 104930
632 Madoka and The First Session constructive algorithms dfs and similar flows graph matchings graphs Statement F Codeforces Round 818 (Div. 2) {1717} PROGRAMMING 3000.0 Codeforces Round #818 (Div. 2) Editorial. 2500
4145 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
10906 Phase Shift dfs and similar dsu graphs greedy strings Statement C Codeforces Round 824 (Div. 2) {1735} PROGRAMMING 1250.0 Codeforces Round #824 — editorial
3740 Permutation Addicts constructive algorithms dfs and similar dsu graphs trees Statement D Codeforces Global Round 22 {1738} PROGRAMMING 2000.0 Editorial of Codeforces Global Round <strong>22</strong>
6216 Reset K Edges binary search data structures dfs and similar graphs greedy trees Statement D Educational Codeforces Round 136 (Rated for Div. 2) {1739} PROGRAMMING Educational Codeforces Round 136 Editorial
18260 Masha and a Beautiful Tree dfs and similar divide and conquer graphs sortings trees Statement D Codeforces Round 826 (Div. 3) {1741} PROGRAMMING 107908
2062 Cactus Wall dfs and similar graphs shortest paths Statement E Educational Codeforces Round 138 (Rated for Div. 2) {1749} PROGRAMMING 108269
1007 Tick, Tock 2-sat combinatorics dfs and similar dsu graphs Statement E Codeforces Round 836 (Div. 2) {1758} PROGRAMMING 2250.0 Codeforces Round #836 (Div. 2) Editorial
10240 SlavicG's Favorite Problem bitmasks brute force constructive algorithms data structures dfs and similar graphs greedy Statement G Codeforces Round 835 (Div. 4) {1760} PROGRAMMING 109348
10709 Set Construction constructive algorithms dfs and similar graphs greedy Statement C Pinely Round 1 (Div. 1 + Div. 2) {1761} PROGRAMMING 1250.0 Pinely Round 1 (Div. 1 + Div. 2) Editorial
8955 Lucky Permutation dfs and similar dsu graphs greedy Statement D Codeforces Round 842 (Div. 2) {1768} PROGRAMMING 1750.0 Codeforces Round #842 (Div. 2) Editorial
4388 Koxia and Game data structures dfs and similar dsu games graph matchings graphs implementation Statement D Good Bye 2022: 2023 is NEAR {1770} PROGRAMMING 1500.0 Good Bye 2022 -- Editorial
8406 Friendly Spiders dfs and similar graphs math number theory shortest paths Statement D Codeforces Round 843 (Div. 2) {1775} PROGRAMMING 2000.0 Codeforces Round #843 (Div. 2) Editorial
2324 Edge Reverse binary search dfs and similar dsu graphs Statement E Codeforces Round 845 (Div. 2) and ByteRace 2023 {1777} PROGRAMMING 2250.0 Codeforces Round #845 (Div. 2) and ByteRace 2023 Editorial
862 Maximizing Root dfs and similar dp graphs math trees Statement F Codeforces Round 848 (Div. 2) {1778} PROGRAMMING 2750.0 Codeforces Round #848 (Div. 2) Editorial
1311 Double Sort II dfs and similar flows graphs greedy Statement F Educational Codeforces Round 141 (Rated for Div. 2) {1783} PROGRAMMING Educational Codeforces Round 141 Editorial
1146 XOR, Tree, and Queries constructive algorithms dfs and similar dsu graphs trees Statement F Codeforces Round 851 (Div. 2) {1788} PROGRAMMING 3000.0 Codeforces Round #851 (Div. 2) Editorial
3983 Timofey and Black-White Tree brute force dfs and similar divide and conquer graphs greedy math shortest paths trees Statement F Codeforces Round 847 (Div. 3) {1790} PROGRAMMING 111948
1311 Tokens on Graph constructive algorithms dfs and similar graphs shortest paths Statement G Codeforces Round 847 (Div. 3) {1790} PROGRAMMING 111948
1902 There Should Be a Lot of Maximums data structures dfs and similar dsu graphs trees Statement E Codeforces Round 862 (Div. 2) {1805} PROGRAMMING 2250.0 Editorial of Codeforces Round #862 (Div. 2)
3896 Monsters brute force data structures dfs and similar dsu graphs implementation trees Statement E CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!) {1810} PROGRAMMING 2000.0 Editorial of CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!)
2156 Is It Flower? dfs and similar dsu graphs implementation Statement F Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
2349 Between constructive algorithms dfs and similar graphs greedy shortest paths Statement C Codeforces Round 865 (Div. 1) {1815} PROGRAMMING 1750.0 Editorial of Codeforces Round #865 2200
5074 Fish Graph brute force constructive algorithms dfs and similar graphs trees Statement B Codeforces Round 869 (Div. 1) {1817} PROGRAMMING 1000.0 Codeforces Round #869 (Div.1, Div.2) Editorial
7599 Gardening Friends brute force dfs and similar dp graphs trees Statement F Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
556 Bus Routes binary search constructive algorithms dfs and similar greedy trees Statement E Codeforces Round 873 (Div. 1) {1827} PROGRAMMING 2500.0 Codeforces Round #873 (Div. 1 & 2) Editorial 3400
26456 The Lakes dfs and similar dsu graphs implementation Statement E Codeforces Round 871 (Div. 4) {1829} PROGRAMMING Codeforces Round 871 (Div. 4) Editorial 1100
21667 Forever Winter dfs and similar graphs math Statement F Codeforces Round 871 (Div. 4) {1829} PROGRAMMING Codeforces Round 871 (Div. 4) Editorial 1300
20182 Copil Copac Draws Trees dfs and similar dp graphs trees Statement A Codeforces Round 875 (Div. 1) {1830} PROGRAMMING 500.0 Codeforces Round #875 (Div.1 + Div. 2) Editorial
656 Doctor's Brown Hypothesis dfs and similar graphs math number theory Statement D Codeforces Round 880 (Div. 1) {1835} PROGRAMMING 1750.0 Codeforces Round 880 Editorial
2104 Railguns dfs and similar dp graphs implementation Statement F Codeforces Round 878 (Div. 3) {1840} PROGRAMMING Codeforces Round #878 (Div.3) Editorial
2151 Great Grids constructive algorithms dfs and similar dsu graphs math Statement E Codeforces Round 884 (Div. 1 + Div. 2) {1844} PROGRAMMING 2000.0 Codeforces Round #884 (Div. 1 + Div. 2) Editorial
9938 The Third Letter dfs and similar graphs greedy implementation Statement H Codeforces Round 886 (Div. 4) {1850} PROGRAMMING Codeforces Round #886 (Div. 4) Editorial
13247 Nastya and Potions dfs and similar dp graphs greedy shortest paths sortings Statement E Codeforces Round 888 (Div. 3) {1851} PROGRAMMING 118667
1800 Fast Travel Text Editor dfs and similar graphs shortest paths Statement E Educational Codeforces Round 153 (Rated for Div. 2) {1860} PROGRAMMING Educational Codeforces Round 153 Editorial
3181 Speedrun brute force data structures dfs and similar dp graphs sortings Statement E Pinely Round 2 (Div. 1 + Div. 2) {1863} PROGRAMMING 1750.0
3420 Completely Searching for Inversions dfs and similar dp graphs Statement C COMPFEST 15 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1866} PROGRAMMING COMPFEST 15 Preliminary — Editorial
6863 Cyclic Operations constructive algorithms dfs and similar graphs greedy implementation Statement D Codeforces Round 897 (Div. 2) {1867} PROGRAMMING 2000.0
7516 Selling a Menagerie dfs and similar dsu graphs implementation math Statement F Codeforces Round 895 (Div. 3) {1872} PROGRAMMING Codeforces Round 895 (Div. 3) Editorial
9465 Mad City dfs and similar dsu graphs shortest paths Statement H Codeforces Round 898 (Div. 4) {1873} PROGRAMMING 120634
2712 Autosynthesis 2-sat constructive algorithms dfs and similar dp flows graphs trees Statement C Codeforces Round 902 (Div. 1, based on COMPFEST 15 - Final Round) {1876} PROGRAMMING 1250.0 Codeforces Round #902 (Div. 1, Div. 2, based on COMPFEST 15 — Final Round) Editorial
1047 Lexichromatography combinatorics dfs and similar dsu graphs two pointers Statement D Codeforces Round 902 (Div. 1, based on COMPFEST 15 - Final Round) {1876} PROGRAMMING 1750.0 Codeforces Round #902 (Div. 1, Div. 2, based on COMPFEST 15 — Final Round) Editorial
9504 Minimum Maximum Distance dfs and similar dp graphs shortest paths trees Statement F Codeforces Round 903 (Div. 3) {1881} PROGRAMMING 121327
900 Game of Stacks dfs and similar graphs implementation trees Statement D Codeforces Round 906 (Div. 1) {1889} PROGRAMMING 2000.0 Codeforces Round 906 Editorial
150 Doremy's Swapping Trees dfs and similar graphs trees Statement E Codeforces Round 906 (Div. 1) {1889} PROGRAMMING 3500.0 Codeforces Round 906 Editorial
276 Cacti Symphony combinatorics dfs and similar dp graphs Statement E Codeforces Round 908 (Div. 1) {1893} PROGRAMMING 2750.0 Codeforces Round 908 (Div. 1, Div, 2) Editorial
1854 Infinite Card Game brute force dfs and similar games graphs greedy sortings Statement E Educational Codeforces Round 157 (Rated for Div. 2) {1895} PROGRAMMING Educational Codeforces Round 157 Editorial
2626 Transitive Graph constructive algorithms dfs and similar dp graphs implementation Statement E Codeforces Round 911 (Div. 2) {1900} PROGRAMMING 2250.0 Codeforces Round 911 (Div. 2) Editorial
1972 Compressed Tree dfs and similar dp graphs greedy trees Statement E Educational Codeforces Round 158 (Rated for Div. 2) {1901} PROGRAMMING Educational Codeforces Round 158 Editorial
495 Beautiful Tree data structures dfs and similar graphs trees Statement F Codeforces Round 914 (Div. 2) {1904} PROGRAMMING 3500.0 Codeforces Round 914 (Div. 2) Editorial
2323 Lights constructive algorithms dfs and similar graphs greedy implementation Statement G Codeforces Round 913 (Div. 3) {1907} PROGRAMMING Codeforces Round 913 (Div. 3) Editorial
2385 Light Bulbs (Easy Version) brute force combinatorics dfs and similar dp dsu graphs math Statement G1 Codeforces Round 916 (Div. 3) {1914} PROGRAMMING Codeforces Round 916 (Div. 3) Editorial
1805 Light Bulbs (Hard Version) combinatorics data structures dfs and similar dp dsu graphs hashing Statement G2 Codeforces Round 916 (Div. 3) {1914} PROGRAMMING Codeforces Round 916 (Div. 3) Editorial
707 Group Division constructive algorithms dfs and similar graphs Statement F Good Bye 2023 {1916} PROGRAMMING 2750.0
1095 Caterpillar on a Tree binary search dfs and similar graphs greedy implementation trees Statement F Codeforces Round 922 (Div. 2) {1918} PROGRAMMING 3000.0 Codeforces Round #922 (Div. 2) Editorial
1190 Smooth Sailing (Easy Version) binary search data structures dfs and similar dsu graphs Statement F1 Codeforces Round 919 (Div. 2) {1920} PROGRAMMING 2500.0 Editorial for Codeforces Round #919 (Div. 2)
4506 Vlad and Trouble at MIT dfs and similar dp flows graphs greedy implementation trees Statement G Codeforces Round 928 (Div. 4) {1926} PROGRAMMING 126132
5360 Microcycle data structures dfs and similar dsu graphs greedy trees Statement F Codeforces Round 923 (Div. 3) {1927} PROGRAMMING 125597
11921 Chat Screenshots combinatorics dfs and similar graphs implementation Statement F Codeforces Round 925 (Div. 3) {1931} PROGRAMMING 125878
2940 Turtle Mission: Robot and the Earthquake dfs and similar dp graphs shortest paths Statement F Codeforces Round 929 (Div. 3) {1933} PROGRAMMING Codeforces Round 929 (Div. 3) Editorial
304 Evidence Board *special constructive algorithms dfs and similar graphs trees Statement B XVIII Open Olympiad in Informatics - Final Stage, Day 1 (Unrated, Online Mirror, IOI rules) {1939} PROGRAMMING
105 Parallel Universes *special constructive algorithms dfs and similar dsu graphs Statement A XVIII Open Olympiad in Informatics - Final Stage, Day 2 (Unrated, Online Mirror, IOI rules) {1940} PROGRAMMING
43 Burenka and Pether *special data structures dfs and similar divide and conquer dsu graphs sortings trees Statement C XVIII Open Olympiad in Informatics - Final Stage, Day 2 (Unrated, Online Mirror, IOI rules) {1940} PROGRAMMING
4615 Rudolf and Subway dfs and similar graphs shortest paths Statement G Codeforces Round 933 (Div. 3) {1941} PROGRAMMING 127018
21034 Arrow Path dfs and similar graphs shortest paths Statement C Educational Codeforces Round 163 (Rated for Div. 2) {1948} PROGRAMMING Educational Codeforces Round 163 Editorial
2745 Disks dfs and similar geometry graphs Statement I European Championship 2024 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1949} PROGRAMMING European Championship 2024 (EUC) Editorial
971 Long Way to be Non-decreasing binary search dfs and similar graphs implementation shortest paths two pointers Statement D Codeforces Round 942 (Div. 1) {1967} PROGRAMMING 1750.0 Tutorial 2800
17364 Permutation Game brute force dfs and similar games graphs greedy math Statement D Codeforces Round 943 (Div. 3) {1968} PROGRAMMING 129096 1300
867 Min-Fund Prison (Medium) brute force dfs and similar dp graphs trees Statement G2 Helvetic Coding Contest 2024 online mirror (teams allowed, unrated) {1970} PROGRAMMING Helvetic Coding Contest 2024 Editorial 2200
538 Min-Fund Prison (Hard) bitmasks dfs and similar dp graphs trees Statement G3 Helvetic Coding Contest 2024 online mirror (teams allowed, unrated) {1970} PROGRAMMING Helvetic Coding Contest 2024 Editorial 2400
2709 ±1 2-sat dfs and similar graphs Statement H Codeforces Round 944 (Div. 4) {1971} PROGRAMMING Codeforces Round 944 (Div. 4) Editorial 2100
1689 Yasya and the Mysterious Tree bitmasks data structures dfs and similar graphs strings trees Statement G Codeforces Round 950 (Div. 3) {1980} PROGRAMMING 130135
2115 Turtle and Multiplication constructive algorithms dfs and similar graphs number theory Statement D Codeforces Round 949 (Div. 2) {1981} PROGRAMMING 2000.0 Simplified Chinese Tutorial
7206 Maximize the Largest Component (Easy Version) brute force data structures dfs and similar dsu graphs implementation Statement H1 Codeforces Round 952 (Div. 4) {1985} PROGRAMMING Codeforces Round 952 (Div. 4) Editorial
6390 Non-academic Problem combinatorics dfs and similar dsu graphs Statement F Codeforces Round 954 (Div. 3) {1986} PROGRAMMING 130762
602 Simultaneous Coloring dfs and similar divide and conquer graphs Statement F Educational Codeforces Round 167 (Rated for Div. 2) {1989} PROGRAMMING Educational Codeforces Round 167 Editorial
1523 Stardew Valley constructive algorithms dfs and similar graphs Statement F Codeforces Round 959 sponsored by NEAR (Div. 1 + Div. 2) {1994} PROGRAMMING 2500.0 Video Tutorial
2877 Cases bitmasks brute force combinatorics dfs and similar dp graphs greedy strings Statement D Codeforces Round 961 (Div. 2) {1995} PROGRAMMING 2250.0 Video Tutorial
4627 Turtle and a MEX Problem (Hard Version) dfs and similar dp graphs greedy implementation Statement D2 Codeforces Round 968 (Div. 2) {2003} PROGRAMMING 1250.0 sol-zh.pdf
7392 Connect the Dots brute force dfs and similar dp dsu graphs math trees Statement D Codeforces Round 976 (Div. 2) and Divide By Zero 9.0 {2020} PROGRAMMING 1500.0 Tutorial for Codeforces Round 976 (Div. 2) and Divide By Zero 9.0
754 Billetes MX (Easy Version) 2-sat binary search combinatorics dfs and similar dsu graphs Statement E1 Codeforces Round 978 (Div. 2) {2022} PROGRAMMING 2250.0 Codeforces Round 978 (Div 2) Editorial
703 Billetes MX (Hard Version) binary search combinatorics dfs and similar dsu graphs Statement E2 Codeforces Round 978 (Div. 2) {2022} PROGRAMMING 1000.0 Codeforces Round 978 (Div 2) Editorial
1369 C+K+S brute force constructive algorithms dfs and similar graphs greedy hashing math strings Statement C Codeforces Round 980 (Div. 1) {2023} PROGRAMMING 1500.0 135341
1047 Choose Your Queries dfs and similar dp graphs greedy trees Statement F Educational Codeforces Round 170 (Rated for Div. 2) {2025} PROGRAMMING Educational Codeforces Round 170 Editorial
2005 Best Subsequence bitmasks dfs and similar flows graph matchings graphs Statement E Educational Codeforces Round 171 (Rated for Div. 2) {2026} PROGRAMMING Educational Codeforces Round 171 Editorial
13608 Add Zeros data structures dfs and similar graphs sortings Statement C Codeforces Round 982 (Div. 2) {2027} PROGRAMMING 1250.0 Codeforces Round #982 (Div. 2) Editorial
3724 Alice's Adventures in Cards constructive algorithms data structures dfs and similar dp graphs greedy implementation shortest paths Statement D Codeforces Round 986 (Div. 2) {2028} PROGRAMMING 1750.0 Codeforces Round 986 (Div. 2) Editorial
3906 Cool Graph constructive algorithms data structures dfs and similar dsu graphs trees Statement D Refact.ai Match 1 (Codeforces Round 985) {2029} PROGRAMMING 2250.0 Refact.ai Match 1 (Codeforces Round 985) Editorial
9098 Trapped in the Witch's Labyrinth constructive algorithms dfs and similar graphs implementation Statement C Rayan Programming Contest 2024 - Selection (Codeforces Round 989, Div. 1 + Div. 2) {2034} PROGRAMMING 1500.0 Rayan 2024 Selection Round Editorial
2656 Control of Randomness combinatorics dfs and similar graphs greedy math probabilities trees Statement E Codeforces Round 992 (Div. 2) {2040} PROGRAMMING 2250.0 Codeforces Round #992 (Div.2) Editorial
4681 Drunken Maze dfs and similar graphs shortest paths Statement D 2024 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2041} PROGRAMMING Problem Analysis and Hints (PDF)
1816 Matrix Transformation bitmasks brute force dfs and similar graphs implementation Statement E Educational Codeforces Round 173 (Rated for Div. 2) {2043} PROGRAMMING Educational Codeforces Round 173 Editorial
3796 Medium Demon Problem (hard version) dfs and similar dp dsu graphs implementation trees Statement G2 Codeforces Round 993 (Div. 4) {2044} PROGRAMMING Codeforces Round 993 (Div. 4) Editorial
7267 Medium Demon Problem (easy version) dfs and similar graph matchings graphs Statement G1 Codeforces Round 993 (Div. 4) {2044} PROGRAMMING Codeforces Round 993 (Div. 4) Editorial
2210 Mirror Maze brute force dfs and similar graphs implementation Statement M 2024-2025 ICPC Asia Jakarta Regional Contest (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2045} PROGRAMMING raRzKDJLPHcUnqTcwvGznwEdKiDWjEkd.pdf 1800
4503 Resourceful Caterpillar Sequence dfs and similar dp games graphs implementation trees Statement E Good Bye 2024: 2025 is NEAR {2053} PROGRAMMING 2000.0 Good Bye 2024: 2025 is NEAR Editorial
17777 Find the Permutation dfs and similar graphs implementation sortings Statement B Codeforces Round 997 (Div. 2) {2056} PROGRAMMING 1250.0 Codeforces Round #997 (Div. 2) Editorial
12171 Graph Composition dfs and similar dsu graphs greedy Statement E Codeforces Round 998 (Div. 3) {2060} PROGRAMMING Codeforces Round 998 (Div. 3) Editorial
444 The Game (Hard Version) data structures dfs and similar games graphs trees Statement E2 Ethflow Round 1 (Codeforces Round 1001, Div. 1 + Div. 2) {2062} PROGRAMMING 2500.0 Ethflow Round 1 (Codeforces Round 1001, Div. 1 + Div. 2) Editorial
4313 The Game (Easy Version) dfs and similar games graphs trees Statement E1 Ethflow Round 1 (Codeforces Round 1001, Div. 1 + Div. 2) {2062} PROGRAMMING 1500.0 Ethflow Round 1 (Codeforces Round 1001, Div. 1 + Div. 2) Editorial
7049 Skibidus and Slay data structures dfs and similar graphs greedy trees Statement F Codeforces Round 1003 (Div. 4) {2065} PROGRAMMING Video Tutorial
362 Porto Vs. Benfica data structures dfs and similar dsu graphs shortest paths Statement E European Championship 2025 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {2068} PROGRAMMING 140239
133 RGB Walking bitmasks chinese remainder theorem dfs and similar graphs number theory Statement G Codeforces Round 1008 (Div. 1) {2077} PROGRAMMING 3000.0 Codeforces Round 1008 (Div. 1, Div. 2) Editorial
16043 Disappearing Permutation dfs and similar dsu graphs greedy implementation Statement C Educational Codeforces Round 177 (Rated for Div. 2) {2086} PROGRAMMING Educational Codeforces Round 177 Editorial
3960 Local Construction constructive algorithms dfs and similar graphs implementation two pointers Statement D Codeforces Round 1019 (Div. 2) {2103} PROGRAMMING 2000.0 142149
875 Spruce Dispute constructive algorithms dfs and similar graphs implementation shortest paths trees Statement E Codeforces Round 1022 (Div. 2) {2108} PROGRAMMING 2750.0 Codeforces Round 1022 Editorial
270 Penguin Steps binary search dfs and similar flows graphs shortest paths Statement F Codeforces Round 1025 (Div. 2) {2109} PROGRAMMING 3000.0 Codeforces Round 1025 (Div. 2) Editorial
5560 D/D/D dfs and similar graphs greedy shortest paths Statement D Codeforces Round 1025 (Div. 2) {2109} PROGRAMMING 1750.0 Codeforces Round 1025 (Div. 2) Editorial
8529 Fewer Batteries binary search dfs and similar dp graphs greedy Statement D Codeforces Round 1026 (Div. 2) {2110} PROGRAMMING 2000.0 Codeforces Round 1026 (Div. 2) Editorial
2658 Melody dfs and similar graphs Statement E Codeforces Round 1026 (Div. 2) {2110} PROGRAMMING 2250.0 Codeforces Round 1026 (Div. 2) Editorial
948 Two Arrays constructive algorithms dfs and similar graphs math Statement F Codeforces Round 1031 (Div. 2) {2113} PROGRAMMING 3000.0 Codeforces Round #1031 Editorial
3945 Gellyfish and Camellia Japonica constructive algorithms dfs and similar dp graphs greedy Statement B Codeforces Round 1028 (Div. 1) {2115} PROGRAMMING 1250.0 Codeforces Round 1028 (Div.1, Div.2) Editorial
2481 Red Light, Green Light (Hard version) binary search dfs and similar dp dsu graphs implementation number theory Statement D2 Codeforces Round 1030 (Div. 2) {2118} PROGRAMMING 1000.0 Codeforces Round 1030 (Div. 2) Editorial