Codeforces problemset search & solutions
Exclude tags.

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

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

< 1 2 3 4 5 6 7 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
355 Jumping Through the Array data structures graphs two pointers Statement F Codeforces Round 755 (Div. 1, based on Technocup 2022 Elimination Round 2) {1588} PROGRAMMING 3750.0 Editorial for Technocup 2022 — Elimination Round 2 and Codeforces Round #755 (Div. 1, Div. 2) 3500
336 Non-equal Neighbours combinatorics data structures dp math Statement F Codeforces Round 759 (Div. 2, based on Technocup 2022 Elimination Round 3) {1591} PROGRAMMING 3000.0 Codeforces Round #759 (Div. 2, based on Technocup 2022 Elimination Round 3) Editorial
293 Frequency Queries data structures dfs and similar Statement E Codeforces Round 759 (Div. 2, based on Technocup 2022 Elimination Round 3) {1591} PROGRAMMING 2500.0 Codeforces Round #759 (Div. 2, based on Technocup 2022 Elimination Round 3) Editorial
1410 Yet Another Sorting Problem data structures math sortings Statement D Codeforces Round 759 (Div. 2, based on Technocup 2022 Elimination Round 3) {1591} PROGRAMMING 2000.0 Codeforces Round #759 (Div. 2, based on Technocup 2022 Elimination Round 3) Editorial
1905 Changing Brackets data structures greedy Statement G Codeforces Round 748 (Div. 3) {1593} PROGRAMMING Editorial for Codeforces Round #748 (Div.3)
1637 RBS binary search bitmasks data structures dp Statement F Educational Codeforces Round 115 (Rated for Div. 2) {1598} PROGRAMMING 95890
2506 Staircases brute force combinatorics data structures dfs and similar dp Statement E Educational Codeforces Round 115 (Rated for Div. 2) {1598} PROGRAMMING 95890
23747 Delete Two Elements data structures math Statement C Educational Codeforces Round 115 (Rated for Div. 2) {1598} PROGRAMMING 95890
132 Desert data structures graphs Statement I Bubble Cup 14 - Finals Online Mirror (Unrated, ICPC Rules, Teams Preferred, Div. 1) {1599} PROGRAMMING Tutorial
91 Two Arrays data structures matrices Statement E Bubble Cup 14 - Finals Online Mirror (Unrated, ICPC Rules, Teams Preferred, Div. 1) {1599} PROGRAMMING BubbleCup2021.pdf
5518 Frog Traveler data structures dp graphs shortest paths Statement B Codeforces Round 751 (Div. 1) {1601} PROGRAMMING 1250.0 95865 1900
2352 Optimal Insertion data structures divide and conquer greedy sortings Statement C Codeforces Round 751 (Div. 1) {1601} PROGRAMMING 2000.0 95865 2300
1946 Difficult Mountain data structures dp greedy sortings Statement D Codeforces Round 751 (Div. 1) {1601} PROGRAMMING 2250.0 95865 2700
598 Phys Ed Online data structures dp greedy trees Statement E Codeforces Round 751 (Div. 1) {1601} PROGRAMMING 2250.0 95865 2900
669 Tree Queries binary search data structures dp dsu geometry trees Statement F Educational Codeforces Round 116 (Rated for Div. 2) {1606} PROGRAMMING 96454
1580 Red-Blue Matrix constructive algorithms data structures hashing implementation sortings two pointers Statement D Educational Codeforces Round 116 (Rated for Div. 2) {1606} PROGRAMMING 96454
247 Alphabetic Tree binary search data structures dfs and similar hashing string suffix structures strings trees Statement G Codeforces Round 758 (Div.1 + Div. 2) {1608} PROGRAMMING 2750.0 Editorial of Codeforces Round #758 (Div.1 + Div. 2)
492 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)
7398 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)
2471 William The Oblivious data structures divide and conquer dp matrices Statement E Deltix Round, Autumn 2021 (open for everyone, rated, Div. 1 + Div. 2) {1609} PROGRAMMING 2750.0 Deltix Round, Autumn 2021. Editorial 2400
964 Interesting Sections binary search data structures divide and conquer geometry meet-in-the-middle Statement F Deltix Round, Autumn 2021 (open for everyone, rated, Div. 1 + Div. 2) {1609} PROGRAMMING 3000.0 Deltix Round, Autumn 2021. Editorial 2800
485 A Stroll Around the Matrix data structures greedy math Statement G Deltix Round, Autumn 2021 (open for everyone, rated, Div. 1 + Div. 2) {1609} PROGRAMMING 3250.0 Deltix Round, Autumn 2021. Editorial 3000
629 Squid Game data structures dfs and similar divide and conquer greedy trees Statement H Codeforces Global Round 17 {1610} PROGRAMMING 3500.0 Codeforces Global Round 17 Editorial
655 AmShZ Wins a Bet data structures hashing Statement G Codeforces Global Round 17 {1610} PROGRAMMING 3250.0 Codeforces Global Round 17 Editorial
7420 ATM and Students binary search data structures two pointers Statement F Codeforces Round 756 (Div. 3) {1611} PROGRAMMING Tutorial 1700
741 Robot and Candies data structures greedy Statement G Codeforces Round 756 (Div. 3) {1611} PROGRAMMING Tutorial 2500
2722 Lexicographically Small Enough data structures greedy strings Statement E Good Bye 2021: 2022 is NEAR {1616} PROGRAMMING 2500.0 Good Bye 2021 -- Editorial 2200
1944 Trader Problem binary search data structures dsu greedy math sortings Statement G Codeforces Round 760 (Div. 3) {1618} PROGRAMMING Codeforces Round #760 (Div. 3) Editorial
10247 MEX and Increments constructive algorithms data structures dp greedy math sortings Statement E Codeforces Round 762 (Div. 3) {1619} PROGRAMMING Tutorial
9722 Replace the Numbers data structures dsu greedy trees Statement E Educational Codeforces Round 119 (Rated for Div. 2) {1620} PROGRAMMING 98061
1926 New School binary search data structures greedy implementation sortings Statement E Hello 2022 {1621} PROGRAMMING 2250.0
781 Weighted Increasing Subsequences data structures dp Statement G Hello 2022 {1621} PROGRAMMING 3000.0
14586 Integers Shop data structures greedy implementation Statement B Hello 2022 {1621} PROGRAMMING 1000.0
145 Two Sequences data structures hashing string suffix structures Statement I Hello 2022 {1621} PROGRAMMING 4500.0
1268 Middle Duplication data structures dfs and similar greedy strings trees Statement E Codeforces Round 763 (Div. 2) {1623} PROGRAMMING 2750.0 Codeforces Round #763 (Div. 2) Editorial
2329 Binary Spiders bitmasks data structures implementation sortings trees Statement D Codeforces Round 765 (Div. 2) {1625} PROGRAMMING 2000.0 Editorial of Codeforces Round #765 (Div. 2)
1155 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)
664 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)
13435 Road Optimization data structures dp Statement C Codeforces Round 765 (Div. 2) {1625} PROGRAMMING 1500.0 Editorial of Codeforces Round #765 (Div. 2)
11868 Monsters And Spells data structures dp fft greedy implementation two pointers Statement C Educational Codeforces Round 121 (Rated for Div. 2) {1626} PROGRAMMING 99136
2804 Not Escaping data structures dp implementation shortest paths sortings two pointers Statement E Codeforces Round 766 (Div. 2) {1627} PROGRAMMING 2000.0 Codeforces Round #766 (Div. 2) Editorial
98 Spaceship Crisis Management binary search data structures geometry sortings Statement F Codeforces Round 767 (Div. 1) {1628} PROGRAMMING 3000.0 99276
1238 Groceries in Meteor Town data structures trees Statement E Codeforces Round 767 (Div. 1) {1628} PROGRAMMING 2250.0 99276
6502 Range and Partition binary search data structures greedy two pointers Statement B Codeforces Round 768 (Div. 1) {1630} PROGRAMMING 1250.0 Editorial of Codeforces Round #768
3336 Paint the Middle data structures dp greedy sortings Statement C Codeforces Round 768 (Div. 1) {1630} PROGRAMMING 1250.0 Editorial of Codeforces Round #768
5359 New Year Concert binary search data structures dp greedy math number theory two pointers Statement D Codeforces Round 769 (Div. 2) {1632} PROGRAMMING 2000.0 Editorial of Codeforces Round #769
1760 Spanning Tree Queries binary search data structures dsu graphs implementation math sortings Statement E Educational Codeforces Round 122 (Rated for Div. 2) {1633} PROGRAMMING 99539
379 Perfect Matching data structures interactive trees Statement F Educational Codeforces Round 122 (Rated for Div. 2) {1633} PROGRAMMING 99539
2213 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
1397 Closest Pair data structures greedy Statement F Codeforces Round 772 (Div. 2) {1635} PROGRAMMING 3000.0 Codeforces Round #772 Editorial
573 Minimize Inversions Number data structures math sortings Statement H Codeforces Global Round 19 {1637} PROGRAMMING 4000.0 Tutorial
2387 Colorful Operations data structures implementation Statement E Codeforces Round 771 (Div. 2) {1638} PROGRAMMING 2500.0 Codeforces Round #771 Editorial
22601 Odd Swap Sort data structures math sortings Statement B Codeforces Round 771 (Div. 2) {1638} PROGRAMMING 750.0 Codeforces Round #771 Editorial
261 Two Posters data structures two pointers Statement F Codeforces Round 771 (Div. 2) {1638} PROGRAMMING 3250.0 Codeforces Round #771 Editorial
2851 Anonymity Is Important binary search data structures dsu sortings Statement C Codeforces Round 773 (Div. 1) {1641} PROGRAMMING 1250.0 Codeforces Round #773 editorial
7314 Integral Array brute force constructive algorithms data structures math Statement B Codeforces Round 775 (Div. 1, based on Moscow Open Olympiad in Informatics) {1648} PROGRAMMING 1000.0 Codeforces Round #775 Editorial
19094 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
3348 Tyler and Strings combinatorics data structures implementation strings Statement C Codeforces Round 775 (Div. 1, based on Moscow Open Olympiad in Informatics) {1648} PROGRAMMING 1500.0 Codeforces Round #775 Editorial
516 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
186 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
1052 Serious Business data structures divide and conquer dp shortest paths Statement D Codeforces Round 775 (Div. 1, based on Moscow Open Olympiad in Informatics) {1648} PROGRAMMING 2000.0 Codeforces Round #775 Editorial
4475 Rescheduling the Exam binary search data structures greedy implementation math sortings Statement E Codeforces Round 776 (Div. 3) {1650} PROGRAMMING 100712
6559 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
11599 Fault-tolerant Network brute force data structures implementation Statement C Educational Codeforces Round 124 (Rated for Div. 2) {1651} PROGRAMMING Educational Codeforces Round 124 Editorial
14576 Alice and the Cake constructive algorithms data structures greedy sortings Statement C Codeforces Round 778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round) {1654} PROGRAMMING 1250.0 Editorial of Codeforces Round #778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round) 1400
1489 Minimal String Xoration bitmasks data structures divide and conquer hashing strings Statement F Codeforces Round 778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round) {1654} PROGRAMMING 3000.0 Editorial of Codeforces Round #778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round) 2800
461 Snowy Mountain data structures graphs greedy shortest paths trees Statement G Codeforces Round 778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round) {1654} PROGRAMMING 3500.0 Editorial of Codeforces Round #778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round) 2900
27283 Subtract Operation constructive algorithms data structures math two pointers Statement B CodeTON Round 1 (Div. 1 + Div. 2, Rated, Prizes!) {1656} PROGRAMMING 1000.0 Tutorial
3183 388535 (Hard Version) bitmasks brute force data structures math Statement D2 Codeforces Round 779 (Div. 2) {1658} PROGRAMMING 750.0 Codeforces Round #779 (Div. 2) Editorial
10021 388535 (Easy Version) bitmasks data structures math Statement D1 Codeforces Round 779 (Div. 2) {1658} PROGRAMMING 1250.0 Codeforces Round #779 (Div. 2) Editorial
1178 Gojou and Matrix Game data structures dp games math number theory sortings Statement E Codeforces Round 779 (Div. 2) {1658} PROGRAMMING 2500.0 Codeforces Round #779 (Div. 2) Editorial
1980 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
4458 Reverse Sort Sum constructive algorithms data structures greedy implementation math two pointers Statement D Codeforces Round 782 (Div. 2) {1659} PROGRAMMING 2000.0 Codeforces Round #782 (Div. 2) Editorial
3158 Promising String (hard version) data structures implementation math strings Statement F2 Codeforces Round 780 (Div. 3) {1660} PROGRAMMING Codeforces Round #780 (Div. 3) Editorial
1124 Narrow Components data structures dfs and similar dsu trees Statement E Educational Codeforces Round 126 (Rated for Div. 2) {1661} PROGRAMMING Educational Codeforces Round 126 Editorial
5407 Progressions Covering data structures greedy implementation Statement D Educational Codeforces Round 126 (Rated for Div. 2) {1661} PROGRAMMING Educational Codeforces Round 126 Editorial
1248 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
1334 Il Derby della Madonnina data structures dp Statement L SWERC 2021-2022 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1662} PROGRAMMING 102042
1807 MinimizOR binary search bitmasks data structures dp greedy implementation Statement E Codeforces Round 781 (Div. 2) {1665} PROGRAMMING 2250.0 Codeforces Round #781 (Div. 2) Editorial
4334 Optimal Partition data structures dp Statement B Codeforces Round 783 (Div. 1) {1667} PROGRAMMING 1000.0 Codeforces Round #783 Editorial 2100
40324 Eating Candies binary search data structures greedy two pointers Statement F Codeforces Round 784 (Div. 4) {1669} PROGRAMMING 102101 1100
21407 2-Letter Strings data structures math strings Statement E Codeforces Round 784 (Div. 4) {1669} PROGRAMMING 102101 1200
11020 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
253 PermutationForces data structures greedy Statement I Codeforces Global Round 20 {1672} PROGRAMMING 4000.0 Global Round 20 Editorial 3000
5693 Desktop Rearrangement data structures greedy implementation Statement F Codeforces Round 786 (Div. 3) {1674} PROGRAMMING 102482
13339 Maximum Crossings (Hard Version) data structures divide and conquer sortings Statement H2 Codeforces Round 790 (Div. 4) {1676} PROGRAMMING Codeforces Round #790 (Div. 4) Editorial
20289 Longest Strike data structures greedy implementation sortings two pointers Statement F Codeforces Round 790 (Div. 4) {1676} PROGRAMMING Codeforces Round #790 (Div. 4) Editorial
9381 Tokitsukaze and Strange Inequality data structures dp Statement A Codeforces Round 789 (Div. 1) {1677} PROGRAMMING 500.0 Tutorial
27940 Stone Age Problem data structures implementation Statement B Codeforces Round 791 (Div. 2) {1679} PROGRAMMING 1000.0 Codeforces Round #791 (Div. 2) Editorial
11776 Rooks Defenders data structures implementation Statement C Codeforces Round 791 (Div. 2) {1679} PROGRAMMING 1500.0 Codeforces Round #791 (Div. 2) Editorial
908 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
2339 Unique Occurrences data structures dfs and similar divide and conquer dp dsu trees Statement F Educational Codeforces Round 129 (Rated for Div. 2) {1681} PROGRAMMING 103163 2300
956 Labyrinth Adventures data structures dp greedy matrices shortest paths Statement E Educational Codeforces Round 129 (Rated for Div. 2) {1681} PROGRAMMING 103163 2600
395 MCMF? data structures flows graphs greedy sortings two pointers Statement F Codeforces Round 793 (Div. 2) {1682} PROGRAMMING 2750.0 Codeforces Round #793 (Div. 2) Editorial
3644 MEX vs DIFF brute force constructive algorithms data structures greedy two pointers Statement E Codeforces Round 792 (Div. 1 + Div. 2) {1684} PROGRAMMING 1750.0 Codeforces Round #792 (Div. 1 + Div. 2) Editorial 2100
1130 Diverse Segments data structures two pointers Statement F Codeforces Round 792 (Div. 1 + Div. 2) {1684} PROGRAMMING 2000.0 Codeforces Round #792 (Div. 1 + Div. 2) Editorial 2600
1693 Sanae and Giant Robot brute force constructive algorithms data structures dfs and similar dsu Statement C Codeforces Round 796 (Div. 1) {1687} PROGRAMMING 1500.0 Editorial of Codeforces Round 796
4767 Lena and Matrix brute force data structures dp shortest paths Statement D Codeforces Round 798 (Div. 2) {1689} PROGRAMMING 1750.0 Editorial for Codeforces Round #798 (Div. 2)
19105 Mystic Permutation data structures greedy implementation Statement B Codeforces Round 798 (Div. 2) {1689} PROGRAMMING 750.0 Editorial for Codeforces Round #798 (Div. 2)
4152 Count the Trains binary search data structures sortings Statement G Codeforces Round 797 (Div. 3) {1690} PROGRAMMING Codeforces Round #797 (Div. 3) Editorial 2000
28151 Restoring the Duration of Tasks data structures greedy implementation Statement C Codeforces Round 797 (Div. 3) {1690} PROGRAMMING Codeforces Round #797 (Div. 3) Editorial 800
7551 Max GEQ Sum binary search constructive algorithms data structures divide and conquer implementation sortings two pointers Statement D CodeCraft-22 and Codeforces Round 795 (Div. 2) {1691} PROGRAMMING 1750.0 Editorial for CodeCraft-22 and Codeforces Round #795 (Div. 2)
2105 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)
9721 Gambling data structures dp math Statement H Codeforces Round 799 (Div. 4) {1692} PROGRAMMING Codeforces Round #799 (Div. 4) Editorial
26835 2^Sort data structures dp sortings two pointers Statement G Codeforces Round 799 (Div. 4) {1692} PROGRAMMING Codeforces Round #799 (Div. 4) Editorial
1113 Decinc Dividing brute force data structures divide and conquer dp greedy Statement D Codeforces Round 800 (Div. 1) {1693} PROGRAMMING 2250.0 Codeforces Round #800 Editorial 2800
559 Outermost Maximums data structures greedy Statement E Codeforces Round 800 (Div. 1) {1693} PROGRAMMING 2500.0 Codeforces Round #800 Editorial 3400
14196 Zero Path brute force data structures dp greedy shortest paths Statement C Codeforces Round 801 (Div. 2) and EPIC Institute of Technology Round {1695} PROGRAMMING 1250.0 Editorial for Codeforces Round #801 (Div. 2) and EPIC Institute of Technology Round
6032 Permutation Graph binary search constructive algorithms data structures greedy shortest paths trees Statement D Codeforces Global Round 21 {1696} PROGRAMMING 2000.0 Editorial of Codeforces Global Round 21
15840 awoo's Favorite Problem constructive algorithms data structures dp greedy implementation strings two pointers Statement C Educational Codeforces Round 130 (Rated for Div. 2) {1697} PROGRAMMING 103835
3529 Almost Triple Deletions data structures dp greedy Statement D Codeforces Round 804 (Div. 2) {1699} PROGRAMMING 1750.0 Codeforces Round #804 (Div. 2) Editorial
6289 Permutation Restoration binary search data structures greedy math sortings Statement D Educational Codeforces Round 131 (Rated for Div. 2) {1701} PROGRAMMING Educational Codeforces Round 131 Editorial
1140 Points combinatorics data structures math matrices Statement F Educational Codeforces Round 131 (Rated for Div. 2) {1701} PROGRAMMING Educational Codeforces Round 131 Editorial
5857 Passable Paths (hard version) bitmasks data structures dfs and similar dp sortings trees Statement G2 Codeforces Round 805 (Div. 3) {1702} PROGRAMMING 104763
9523 Equate Multisets constructive algorithms data structures graph matchings greedy math number theory Statement F Codeforces Round 805 (Div. 3) {1702} PROGRAMMING 104763
6406 Passable Paths (easy version) data structures dfs and similar sortings trees Statement G1 Codeforces Round 805 (Div. 3) {1702} PROGRAMMING 104763
25274 Train and Queries data structures greedy Statement C Codeforces Round 805 (Div. 3) {1702} PROGRAMMING 104763
30549 Yet Another Problem About Pairs Satisfying an Inequality binary search data structures dp greedy sortings Statement F Codeforces Round 806 (Div. 4) {1703} PROGRAMMING 104786
29295 Double Strings brute force data structures strings Statement D Codeforces Round 806 (Div. 4) {1703} PROGRAMMING 104786
66715 ICPC Balloons data structures implementation Statement B Codeforces Round 806 (Div. 4) {1703} PROGRAMMING 104786
2467 Mark and Professor Koro binary search bitmasks combinatorics data structures greedy Statement E Codeforces Round 807 (Div. 2) {1705} PROGRAMMING 2500.0 Codeforces Round #807 (Div 2.) Editorial
3783 Qpwoeirut and Vertices binary search data structures dsu trees Statement E Codeforces Round 809 (Div. 2) {1706} PROGRAMMING 2250.0 Codeforces Round #809 Editorial
1924 DFS Trees data structures dfs and similar dsu graphs greedy trees Statement C Codeforces Round 808 (Div. 1) {1707} PROGRAMMING 1250.0 104930
3998 XOR Tree data structures dfs and similar dsu greedy trees Statement E Educational Codeforces Round 132 (Rated for Div. 2) {1709} PROGRAMMING 105164
25996 Also Try Minecraft data structures implementation Statement B Educational Codeforces Round 132 (Rated for Div. 2) {1709} PROGRAMMING 105164
2802 Rain brute force data structures math Statement B Codeforces Round 810 (Div. 1) {1710} PROGRAMMING 1000.0 Codeforces Round #810 Editorial
5125 Empty Graph binary search data structures greedy Statement D Codeforces Round 813 (Div. 2) {1712} PROGRAMMING 2000.0 Codeforces Round #813 (Div. 2) Editorial
1619 LCM Sum (hard version) combinatorics data structures math number theory two pointers Statement E2 Codeforces Round 813 (Div. 2) {1712} PROGRAMMING 750.0 Codeforces Round #813 (Div. 2) Editorial
445 Triameter data structures dfs and similar trees Statement F Codeforces Round 813 (Div. 2) {1712} PROGRAMMING 3500.0 Codeforces Round #813 (Div. 2) Editorial
9748 Path Prefixes binary search data structures dfs and similar implementation trees Statement G Codeforces Round 811 (Div. 3) {1714} PROGRAMMING Codeforces Round #811 (Div. 3) Editorial
33939 Remove Prefix data structures implementation Statement B Codeforces Round 811 (Div. 3) {1714} PROGRAMMING Codeforces Round #811 (Div. 3) Editorial
10450 Monoblock brute force combinatorics data structures divide and conquer greedy implementation Statement C Codeforces Round 816 (Div. 2) {1715} PROGRAMMING 1750.0 Codeforces Round #816 (Div. 2) editorial
2151 Long Way Home data structures divide and conquer dp geometry graphs shortest paths Statement E Codeforces Round 816 (Div. 2) {1715} PROGRAMMING 2750.0 Codeforces Round #816 (Div. 2) editorial
1322 Swap and Maximum Block bitmasks data structures divide and conquer dp Statement E Educational Codeforces Round 133 (Rated for Div. 2) {1716} PROGRAMMING 105653
4605 Robot in a Hallway data structures dp implementation Statement C Educational Codeforces Round 133 (Rated for Div. 2) {1716} PROGRAMMING 105653
3485 Fibonacci Strings brute force data structures greedy implementation math number theory Statement B Codeforces Round 814 (Div. 1) {1718} PROGRAMMING 1250.0 Codeforces Round #814 (Div. 1, Div. 2) Editorial
1864 Tonya and Burenka-179 brute force data structures greedy math number theory Statement C Codeforces Round 814 (Div. 1) {1718} PROGRAMMING 1250.0 Codeforces Round #814 (Div. 1, Div. 2) Editorial
5935 Burenka and Traditions (hard version) data structures dp greedy math two pointers Statement A2 Codeforces Round 814 (Div. 1) {1718} PROGRAMMING 500.0 Codeforces Round #814 (Div. 1, Div. 2) Editorial
218 Burenka, an Array and Queries data structures math number theory Statement F Codeforces Round 814 (Div. 1) {1718} PROGRAMMING 2750.0 Codeforces Round #814 (Div. 1, Div. 2) Editorial
14411 Fighting Tournament binary search data structures implementation two pointers Statement C Codeforces Round 814 (Div. 2) {1719} PROGRAMMING 1250.0 Codeforces Round #814 (Div. 1, Div. 2) Editorial
2220 Xor-Subsequence (hard version) bitmasks data structures dp strings trees Statement D2 Codeforces Round 815 (Div. 2) {1720} PROGRAMMING 1000.0 Codeforces Round #815 (Div. 2) Editorial
22442 Interesting Sum data structures greedy math Statement B Codeforces Round 815 (Div. 2) {1720} PROGRAMMING 1000.0 Codeforces Round #815 (Div. 2) Editorial
2562 Prefix Function Queries bitmasks brute force data structures hashing string suffix structures strings trees Statement E Educational Codeforces Round 134 (Rated for Div. 2) {1721} PROGRAMMING 106416
28341 Image data structures implementation Statement A Educational Codeforces Round 134 (Rated for Div. 2) {1721} PROGRAMMING 106416
13461 Counting Rectangles brute force data structures dp implementation Statement E Codeforces Round 817 (Div. 4) {1722} PROGRAMMING 106478 1600
36409 Word Game data structures implementation Statement C Codeforces Round 817 (Div. 4) {1722} PROGRAMMING 106478 800
1153 Field Photography bitmasks data structures sortings Statement F COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
599 Electrical Efficiency combinatorics data structures dp number theory trees Statement E COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
791 Kingdom of Criticism data structures dsu Statement K COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
13424 Jatayu's Balanced Bracket Sequence data structures dsu graphs Statement C Codeforces Round 819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 {1726} PROGRAMMING 1500.0 Codeforces Round #819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 Editorial
131 Late For Work data structures greedy schedules shortest paths Statement F Codeforces Round 819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 {1726} PROGRAMMING 2750.0 Codeforces Round #819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 Editorial
17938 Digital Logarithm data structures greedy Statement C Educational Codeforces Round 135 (Rated for Div. 2) {1728} PROGRAMMING 106805
17979 Minimum Notation data structures greedy math sortings Statement C Codeforces Round 823 (Div. 2) {1730} PROGRAMMING 1500.0 Codeforces Round #823 — editorial 1200
748 Almost Sorted bitmasks data structures dp Statement F Codeforces Round 823 (Div. 2) {1730} PROGRAMMING 3000.0 Codeforces Round #823 — editorial 2700
773 Maximums and Minimums combinatorics combinatorics data structures number theory Statement E Codeforces Round 823 (Div. 2) {1730} PROGRAMMING 2250.0 Codeforces Round #823 — editorial 2700
24862 Planets data structures data structures greedy sortings Statement A Codeforces Round 823 (Div. 2) {1730} PROGRAMMING 500.0 Codeforces Round #823 — editorial 800
8555 Valiant's New Map binary search brute force data structures dp two pointers Statement D Codeforces Round 841 (Div. 2) and Divide by Zero 2022 {1731} PROGRAMMING 1500.0 Codeforces Round #841 (Div. 2) and Divide By Zero 2022 Editorial
9947 Balance (Easy version) brute force data structures implementation Statement D1 Codeforces Round 830 (Div. 2) {1732} PROGRAMMING 1250.0 108327 1500
588 Location data structures dp Statement E Codeforces Round 830 (Div. 2) {1732} PROGRAMMING 3000.0 108327 2800
7070 Slime Escape data structures dp greedy two pointers Statement D Codeforces Round 822 (Div. 2) {1734} PROGRAMMING 2000.0 Codeforces Round #822 (Div.2) Editorial
6852 Meta-set brute force combinatorics data structures hashing math Statement D Codeforces Round 824 (Div. 2) {1735} PROGRAMMING 1750.0 Codeforces Round #824 — editorial
1247 House Planning constructive algorithms data structures flows graph matchings greedy Statement E Codeforces Round 824 (Div. 2) {1735} PROGRAMMING 2250.0 Codeforces Round #824 — editorial
255 Pebbles and Beads data structures dp geometry Statement F Codeforces Round 824 (Div. 2) {1735} PROGRAMMING 3000.0 Codeforces Round #824 — editorial
16562 Good Subarrays (Easy Version) binary search data structures two pointers Statement C1 Codeforces Round 825 (Div. 2) {1736} PROGRAMMING 1250.0 Codeforces Round #825 (Div. 2) Editorial
1473 Good Subarrays (Hard Version) binary search data structures two pointers Statement C2 Codeforces Round 825 (Div. 2) {1736} PROGRAMMING 2000.0 Codeforces Round #825 (Div. 2) Editorial
276 Palindrome Addicts data structures strings Statement H Codeforces Global Round 22 {1738} PROGRAMMING 4000.0 Editorial of Codeforces Global Round <strong>22</strong>
6289 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
639 Keyboard Design bitmasks data structures dp string suffix structures strings Statement F Educational Codeforces Round 136 (Rated for Div. 2) {1739} PROGRAMMING Educational Codeforces Round 136 Editorial
9081 Knowledge Cards constructive algorithms data structures greedy math Statement D Codeforces Round 831 (Div. 1 + Div. 2) {1740} PROGRAMMING 1750.0 Tutorial 1500
5095 Hanging Hearts constructive algorithms data structures dfs and similar dp greedy trees Statement E Codeforces Round 831 (Div. 1 + Div. 2) {1740} PROGRAMMING 2000.0 Tutorial 1800
321 MEX Tree Manipulation data structures trees Statement H Codeforces Round 831 (Div. 1 + Div. 2) {1740} PROGRAMMING 3000.0 Tutorial 3300
152 Arranging Crystal Balls data structures divide and conquer divide and conquer dp geometry graphs number theory Statement I Codeforces Round 831 (Div. 1 + Div. 2) {1740} PROGRAMMING 3500.0 Tutorial 3500
2920 Multi-Colored Segments binary search data structures math sortings Statement F Codeforces Round 826 (Div. 3) {1741} PROGRAMMING 107908
1814 Intersection and Union combinatorics data structures dp math matrices Statement F Educational Codeforces Round 137 (Rated for Div. 2) {1743} PROGRAMMING Educational Codeforces Round 137 Editorial 2300
2693 Kazaee data structures hashing probabilities Statement F Codeforces Global Round 23 {1746} PROGRAMMING 2500.0 Codeforces Global Round 23 Editorial
13109 Zero-Sum Prefixes brute force data structures dp greedy implementation Statement C Codeforces Round 833 (Div. 2) {1748} PROGRAMMING 1500.0 Codeforces Round #833 (Div. 2) Editorial 1600
2698 Yet Another Array Counting Problem data structures divide and conquer dp trees Statement E Codeforces Round 833 (Div. 2) {1748} PROGRAMMING 2250.0 Codeforces Round #833 (Div. 2) Editorial 2300
622 Distance to the Path data structures dfs and similar trees Statement F Educational Codeforces Round 138 (Rated for Div. 2) {1749} PROGRAMMING 108269
1663 Bracket Cost binary search data structures divide and conquer dp greedy strings Statement E CodeTON Round 3 (Div. 1 + Div. 2, Rated, Prizes!) {1750} PROGRAMMING 2250.0 CodeTON Round 3 (Div. 1 + Div. 2) Editorial
5533 Restore the Permutation binary search data structures greedy math Statement G Codeforces Round 834 (Div. 3) {1759} PROGRAMMING 109254
4523 All Possible Digits binary search data structures greedy math number theory Statement F Codeforces Round 834 (Div. 3) {1759} PROGRAMMING 109254
10435 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
44088 Advantage data structures data structures implementation implementation Statement C Codeforces Round 835 (Div. 4) {1760} PROGRAMMING 109348
23091 Binary Inversions data structures greedy math Statement E Codeforces Round 835 (Div. 4) {1760} PROGRAMMING 109348
892 Good Pairs binary search data structures dp Statement F Codeforces Round 838 (Div. 2) {1762} PROGRAMMING 2750.0 Codeforces Round #838 (Div. 2) Editorial
16463 Incinerate binary search brute force data structures sortings Statement B Codeforces Round 840 (Div. 2) and Enigma 2022 - Cybros LNMIIT {1763} PROGRAMMING 1000.0 Codeforces Round #840 (Div. 2) and Enigma 2022 — Cybros LNMIIT Editorial
645 Edge Queries data structures dp graphs Statement F Codeforces Round 840 (Div. 2) and Enigma 2022 - Cybros LNMIIT {1763} PROGRAMMING 3000.0 Codeforces Round #840 (Div. 2) and Enigma 2022 — Cybros LNMIIT Editorial
434 Two Subtrees data structures trees Statement F Educational Codeforces Round 140 (Rated for Div. 2) {1767} PROGRAMMING 110225
4408 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
1572 Hossam and Range Minimum Query binary search bitmasks data structures hashing probabilities strings trees Statement F Codeforces Round 837 (Div. 2) {1771} PROGRAMMING 3500.0 Codeforces Round #837 (Div. 2) Editorial
615 Segment Covering brute force combinatorics constructive algorithms data structures trees Statement G Polynomial Round 2022 (Div. 1 + Div. 2, Rated, Prizes!) {1774} PROGRAMMING 3250.0 Polynomial Round 2022 (Div. 1 + Div. 2) Editorial
3887 The Human Equation data structures dp dsu greedy Statement E Codeforces Round 843 (Div. 2) {1775} PROGRAMMING 2250.0 Codeforces Round #843 (Div. 2) Editorial
114 Crossing the Railways data structures dp Statement E SWERC 2022-2023 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1776} PROGRAMMING
1384 Comfortably Numb binary search bitmasks data structures divide and conquer dsu strings trees two pointers Statement F Codeforces Round 845 (Div. 2) and ByteRace 2023 {1777} PROGRAMMING 2750.0 Codeforces Round #845 (Div. 2) and ByteRace 2023 Editorial
9087 Boris and His Amazing Haircut constructive algorithms data structures dp dsu greedy Statement D Hello 2023 {1779} PROGRAMMING 1500.0
2048 Anya's Simultaneous Exhibition constructive algorithms data structures graphs greedy interactive sortings Statement E Hello 2023 {1779} PROGRAMMING 2250.0
14499 Least Prefix Sum data structures greedy Statement C Hello 2023 {1779} PROGRAMMING 1250.0
1737 Josuke and Complete Graph binary search brute force data structures number theory Statement E Codeforces Round 846 (Div. 2) {1780} PROGRAMMING 1750.0 111841
1921 Three Chairs bitmasks brute force combinatorics data structures number theory sortings Statement F Codeforces Round 846 (Div. 2) {1780} PROGRAMMING 2000.0 111841
1436 Rectangle Shrinking binary search data structures greedy implementation two pointers Statement E VK Cup 2022 - Отборочный раунд (Engine) {1781} PROGRAMMING 2750.0 Tutorial
589 Weighed Tree Radius data structures divide and conquer trees Statement G Educational Codeforces Round 141 (Rated for Div. 2) {1783} PROGRAMMING Educational Codeforces Round 141 Editorial
340 Codeforces Scoreboard data structures dp ternary search Statement H TypeDB Forces 2023 (Div. 1 + Div. 2, Rated, Prizes!) {1787} PROGRAMMING 3500.0 TypeDB Forces 2023 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
3308 Sum Over Zero data structures dp Statement E Codeforces Round 851 (Div. 2) {1788} PROGRAMMING 2500.0 Codeforces Round #851 (Div. 2) Editorial
32248 Matryoshkas data structures greedy sortings Statement D Codeforces Round 847 (Div. 3) {1790} PROGRAMMING 111948
8155 Fixed Prefix Permutations binary search data structures math sortings strings Statement D Educational Codeforces Round 142 (Rated for Div. 2) {1792} PROGRAMMING 111835
1637 Rebrending brute force data structures dp implementation Statement F Codeforces Round 852 (Div. 2) {1793} PROGRAMMING 3250.0 Codeforces Round #852 Editorial
33825 Dora and Search constructive algorithms data structures two pointers Statement C Codeforces Round 852 (Div. 2) {1793} PROGRAMMING 1250.0 Codeforces Round #852 Editorial
1335 Velepin and Marketing data structures dp greedy sortings Statement E Codeforces Round 852 (Div. 2) {1793} PROGRAMMING 2500.0 Codeforces Round #852 Editorial
1537 Labeling the Tree with Distances data structures dp hashing implementation trees Statement E Codeforces Round 856 (Div. 2) {1794} PROGRAMMING 2750.0 Codeforces Round 856 (Div. 2) Editorial
2395 Explosions? binary search data structures dp math Statement E Educational Codeforces Round 143 (Rated for Div. 2) {1795} PROGRAMMING 112963
18320 Tea Tasting binary search data structures implementation Statement C Educational Codeforces Round 143 (Rated for Div. 2) {1795} PROGRAMMING 112963
5489 Maximum Subarray data structures dp greedy Statement D Educational Codeforces Round 144 (Rated for Div. 2) {1796} PROGRAMMING Educational Codeforces Round 144 Editorial
1037 Colored Subgraphs data structures dp greedy trees Statement E Educational Codeforces Round 144 (Rated for Div. 2) {1796} PROGRAMMING Educational Codeforces Round 144 Editorial
4663 Li Hua and Tree brute force data structures dfs and similar dp implementation trees Statement D Codeforces Round 864 (Div. 2) {1797} PROGRAMMING 1750.0 Codeforces Round 864 (Div. 2) Editorial
1645 Li Hua and Array brute force data structures math number theory Statement E Codeforces Round 864 (Div. 2) {1797} PROGRAMMING 2250.0 Codeforces Round 864 (Div. 2) Editorial
567 Li Hua and Path data structures dfs and similar divide and conquer dsu trees Statement F Codeforces Round 864 (Div. 2) {1797} PROGRAMMING 3000.0 Codeforces Round 864 (Div. 2) Editorial
18858 Three Sevens brute force data structures greedy implementation Statement B Codeforces Round 860 (Div. 2) {1798} PROGRAMMING 750.0 Editorial of Codeforces Round 860 (Div. 2) 1000
3098 Hot Start Up (hard version) data structures dp Statement D2 Codeforces Round 854 by cybercats (Div. 1 + Div. 2) {1799} PROGRAMMING 750.0 Codeforces Round #854 Editorial
12347 Recent Actions data structures greedy implementation math Statement A Codeforces Round 854 by cybercats (Div. 1 + Div. 2) {1799} PROGRAMMING 500.0 Codeforces Round #854 Editorial
27184 Powering the Hero (easy version) data structures greedy Statement C1 Codeforces Round 855 (Div. 3) {1800} PROGRAMMING Codeforces Round 855 (Div. 3) Editorial
27329 Powering the Hero (hard version) data structures greedy Statement C2 Codeforces Round 855 (Div. 3) {1800} PROGRAMMING Codeforces Round 855 (Div. 3) Editorial
29664 Remove Two Letters data structures greedy hashing strings Statement D Codeforces Round 855 (Div. 3) {1800} PROGRAMMING Codeforces Round 855 (Div. 3) Editorial
4116 Music Festival binary search data structures dp greedy sortings Statement C Codeforces Round 857 (Div. 1) {1801} PROGRAMMING 1250.0 Codeforces Round #857 Editorial
619 Gasoline prices data structures divide and conquer dsu trees Statement E Codeforces Round 857 (Div. 1) {1801} PROGRAMMING 2500.0 Codeforces Round #857 Editorial
7590 Buying gifts data structures dp greedy sortings Statement B Codeforces Round 857 (Div. 1) {1801} PROGRAMMING 1000.0 Codeforces Round #857 Editorial
722 A task for substrings data structures string suffix structures strings Statement G Codeforces Round 857 (Div. 1) {1801} PROGRAMMING 3500.0 Codeforces Round #857 Editorial
239 Flow Control data structures implementation Statement G Nebius Welcome Round (Div. 1 + Div. 2) {1804} PROGRAMMING 3500.0 Nebius Welcome Round Editorial
1923 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)
3463 Tree Master brute force data structures dfs and similar hashing trees Statement E Codeforces Round 858 (Div. 2) {1806} PROGRAMMING 2250.0 Codeforces Round #858 (Div. 2) Editorial
57965 Odd Queries data structures implementation Statement D Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
2734 Petya, Petya, Petr, and Palindromes binary search data structures two pointers Statement D Codeforces Round 861 (Div. 2) {1808} PROGRAMMING 1750.0 Codeforces Round #861 (Div. 2) editorial 2100
936 Traveling in Berland binary search data structures graphs greedy implementation Statement F Educational Codeforces Round 145 (Rated for Div. 2) {1809} PROGRAMMING 114300
567 Prediction combinatorics data structures dp Statement G Educational Codeforces Round 145 (Rated for Div. 2) {1809} PROGRAMMING 114300
3944 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!)
2145 Vlad and the Nice Paths (hard version) binary search combinatorics data structures dp math two pointers Statement G2 Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
1755 Chain Chips data structures dp Statement E Educational Codeforces Round 146 (Rated for Div. 2) {1814} PROGRAMMING Educational Codeforces Round 146 Editorial
12801 Almost Increasing Subsequence data structures greedy Statement A Codeforces Round 869 (Div. 1) {1817} PROGRAMMING 500.0 Codeforces Round #869 (Div.1, Div.2) Editorial
843 Misha and Apples data structures dp Statement D Codeforces Round 866 (Div. 1) {1819} PROGRAMMING 2000.0 Codeforces Round #866 (Div.1, Div.2, based on Lipetsk Team Olympiad) Editorial
175 Willy-nilly, Crack, Into Release! data structures dp Statement F Codeforces Round 866 (Div. 1) {1819} PROGRAMMING 3000.0 Codeforces Round #866 (Div.1, Div.2, based on Lipetsk Team Olympiad) Editorial
1693 LuoTianyi and XOR-Tree data structures dfs and similar dp dsu greedy trees Statement C Codeforces Round 872 (Div. 1) {1824} PROGRAMMING 1750.0 CodeForces Round 872(Div. 1&2) Editorial 2500
188 LuoTianyi and Cartridge data structures trees Statement E Codeforces Round 872 (Div. 1) {1824} PROGRAMMING 3000.0 CodeForces Round 872(Div. 1&2) Editorial 3500
1966 Walk the Runway bitmasks brute force data structures dp graphs implementation sortings Statement E Codeforces Round 870 (Div. 2) {1826} PROGRAMMING 2500.0 Codeforces Round #870 (Div. 2) Editorial 2400
2327 Range Sorting (Hard Version) binary search data structures dp greedy Statement B2 Codeforces Round 873 (Div. 1) {1827} PROGRAMMING 750.0 Codeforces Round #873 (Div. 1 & 2) Editorial 2400
1669 Palindrome Partition binary search brute force data structures dp hashing strings Statement C Codeforces Round 873 (Div. 1) {1827} PROGRAMMING 1500.0 Codeforces Round #873 (Div. 1 & 2) Editorial 2600
995 Two Centroids data structures dfs and similar greedy trees Statement D Codeforces Round 873 (Div. 1) {1827} PROGRAMMING 1750.0 Codeforces Round #873 (Div. 1 & 2) Editorial 2800
135 Copium Permutation constructive algorithms data structures greedy Statement F Codeforces Round 873 (Div. 1) {1827} PROGRAMMING 3500.0 Codeforces Round #873 (Div. 1 & 2) Editorial 3500
15399 Hits Different data structures dp implementation math Statement G Codeforces Round 871 (Div. 4) {1829} PROGRAMMING Codeforces Round 871 (Div. 4) Editorial 1600
5883 The BOSS Can Count Pairs brute force data structures math Statement B Codeforces Round 875 (Div. 1) {1830} PROGRAMMING 1000.0 Codeforces Round #875 (Div.1 + Div. 2) Editorial
394 The Third Grace data structures dp Statement F Codeforces Round 875 (Div. 1) {1830} PROGRAMMING 3500.0 Codeforces Round #875 (Div.1 + Div. 2) Editorial
10289 Ira and Flamenco combinatorics data structures implementation sortings Statement F Codeforces Round 874 (Div. 3) {1833} PROGRAMMING 116636