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 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
2490 Ice Cream Shop sortings Statement I SWERC 2021-2022 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1662} PROGRAMMING 102042
34940 Array Cloning Technique constructive algorithms greedy sortings Statement B Codeforces Round 781 (Div. 2) {1665} PROGRAMMING 750.0 Codeforces Round #781 (Div. 2) Editorial
17993 Social Distance greedy math sortings Statement B Codeforces Round 783 (Div. 2) {1668} PROGRAMMING 500.0 Codeforces Round #783 Editorial 900
56884 Triple implementation sortings Statement B Codeforces Round 784 (Div. 4) {1669} PROGRAMMING 102101 800
16028 Prof. Slim greedy implementation sortings Statement A Codeforces Round 788 (Div. 2) {1670} PROGRAMMING 500.0 Tutorial 800
19819 Consecutive Points Segment brute force math sortings Statement B Educational Codeforces Round 127 (Rated for Div. 2) {1671} PROGRAMMING 102181
17892 A-B-C Sort constructive algorithms implementation sortings Statement D Codeforces Round 786 (Div. 3) {1674} PROGRAMMING 102482
34013 Eating Queries binary search greedy sortings Statement E Codeforces Round 790 (Div. 4) {1676} PROGRAMMING Codeforces Round #790 (Div. 4) Editorial
13454 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
20527 Longest Strike data structures greedy implementation sortings two pointers Statement F Codeforces Round 790 (Div. 4) {1676} PROGRAMMING Codeforces Round #790 (Div. 4) Editorial
61893 Equal Candies greedy math sortings Statement B Codeforces Round 790 (Div. 4) {1676} PROGRAMMING Codeforces Round #790 (Div. 4) Editorial
18837 Double Sort implementation sortings Statement C Educational Codeforces Round 129 (Rated for Div. 2) {1681} PROGRAMMING 103163 1200
27727 AND Sorting bitmasks constructive algorithms sortings Statement B Codeforces Round 793 (Div. 2) {1682} PROGRAMMING 1000.0 Codeforces Round #793 (Div. 2) Editorial
777 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
453 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
13331 Column Swapping constructive algorithms implementation sortings Statement C Codeforces Round 792 (Div. 1 + Div. 2) {1684} PROGRAMMING 1250.0 Codeforces Round #792 (Div. 1 + Div. 2) Editorial 1400
10838 Traps constructive algorithms greedy sortings Statement D Codeforces Round 792 (Div. 1 + Div. 2) {1684} PROGRAMMING 1500.0 Codeforces Round #792 (Div. 1 + Div. 2) Editorial 1700
18692 Circular Local MiniMax constructive algorithms greedy sortings Statement A Codeforces Round 794 (Div. 1) {1685} PROGRAMMING 500.0 103198 1100
4185 Railway System constructive algorithms dsu graphs greedy interactive sortings Statement B Codeforces Round 796 (Div. 1) {1687} PROGRAMMING 750.0 Editorial of Codeforces Round 796
19101 Patchouli's Magical Talisman bitmasks constructive algorithms greedy sortings Statement B Codeforces Round 796 (Div. 2) {1688} PROGRAMMING 750.0 Tutorial
17804 Lex String brute force greedy implementation sortings two pointers Statement A Codeforces Round 798 (Div. 2) {1689} PROGRAMMING 500.0 Editorial for Codeforces Round #798 (Div. 2)
4204 Count the Trains binary search data structures sortings Statement G Codeforces Round 797 (Div. 3) {1690} PROGRAMMING Codeforces Round #797 (Div. 3) Editorial 2000
7688 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)
2141 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)
27599 2^Sort data structures dp sortings two pointers Statement G Codeforces Round 799 (Div. 4) {1692} PROGRAMMING Codeforces Round #799 (Div. 4) Editorial
39899 All Distinct greedy sortings Statement B Codeforces Round 799 (Div. 4) {1692} PROGRAMMING Codeforces Round #799 (Div. 4) Editorial
31281 Promo greedy sortings Statement B Educational Codeforces Round 130 (Rated for Div. 2) {1697} PROGRAMMING 103835
1860 PermutationForces II binary search brute force combinatorics constructive algorithms greedy sortings Statement E Codeforces Round 803 (Div. 2) {1698} PROGRAMMING 2000.0 Codeforces Round #803 (Div. 2) Editorial
6317 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
6060 Passable Paths (hard version) bitmasks data structures dfs and similar dp sortings trees Statement G2 Codeforces Round 805 (Div. 3) {1702} PROGRAMMING 104763
6523 Passable Paths (easy version) data structures dfs and similar sortings trees Statement G1 Codeforces Round 805 (Div. 3) {1702} PROGRAMMING 104763
31524 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
26280 Virus greedy sortings Statement C CodeTON Round 2 (Div. 1 + Div. 2, Rated, Prizes!) {1704} PROGRAMMING 1250.0 CodeTON Round 2 Editorial
7214 Mark and Lightbulbs combinatorics constructive algorithms math sortings Statement D Codeforces Round 807 (Div. 2) {1705} PROGRAMMING 1750.0 Codeforces Round #807 (Div 2.) Editorial
6465 Difference Array brute force implementation math sortings Statement B Codeforces Round 808 (Div. 1) {1707} PROGRAMMING 750.0 104930
21361 Sort Zero greedy sortings two pointers Statement C Codeforces Round 813 (Div. 2) {1712} PROGRAMMING 1500.0 Codeforces Round #813 (Div. 2) Editorial
22799 Optimal Reduction constructive algorithms sortings Statement B Codeforces Round 812 (Div. 2) {1713} PROGRAMMING 1000.0 Codeforces Round #812 (Div. 2) Editorial 1000
7787 Maximum AND bitmasks brute force divide and conquer greedy math sortings Statement D Educational Codeforces Round 134 (Rated for Div. 2) {1721} PROGRAMMING 106416
26846 Line greedy sortings Statement D Codeforces Round 817 (Div. 4) {1722} PROGRAMMING 106478 1100
30553 Basketball Together binary search greedy sortings Statement B COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
1176 Field Photography bitmasks data structures sortings Statement F COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
433 A Certain Magical Party combinatorics greedy sortings Statement G Codeforces Round 819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 {1726} PROGRAMMING 3250.0 Codeforces Round #819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 Editorial
2065 Red-Black Pepper binary search brute force greedy math number theory sortings ternary search Statement E Educational Codeforces Round 135 (Rated for Div. 2) {1728} PROGRAMMING 106805
25506 Colored Balls: Revisited greedy implementation sortings Statement A Educational Codeforces Round 135 (Rated for Div. 2) {1728} PROGRAMMING 106805
18042 Minimum Notation data structures greedy math sortings Statement C Codeforces Round 823 (Div. 2) {1730} PROGRAMMING 1500.0 Codeforces Round #823 — editorial 1200
24979 Planets data structures data structures greedy sortings Statement A Codeforces Round 823 (Div. 2) {1730} PROGRAMMING 500.0 Codeforces Round #823 — editorial 800
17182 Parity Shuffle Sorting constructive algorithms sortings Statement C Codeforces Round 821 (Div. 2) {1733} PROGRAMMING 1500.0 Codeforces Round #821 (Div. 2) Editorial
21905 Consecutive Sum greedy sortings Statement A Codeforces Round 821 (Div. 2) {1733} PROGRAMMING 500.0 Codeforces Round #821 (Div. 2) Editorial
22484 Select Three Sticks greedy math sortings Statement A Codeforces Round 822 (Div. 2) {1734} PROGRAMMING 500.0 Codeforces Round #822 (Div.2) Editorial
24231 Make A Equal to B sortings Statement A Codeforces Round 825 (Div. 2) {1736} PROGRAMMING 500.0 Codeforces Round #825 (Div. 2) Editorial
1408 Connectivity Addicts constructive algorithms dsu graphs greedy interactive shortest paths sortings trees Statement F Codeforces Global Round 22 {1738} PROGRAMMING 2750.0 Editorial of Codeforces Global Round <strong>22</strong>
19044 Prefix Sum Addicts constructive algorithms math sortings Statement B Codeforces Global Round 22 {1738} PROGRAMMING 1000.0 Editorial of Codeforces Global Round <strong>22</strong>
12427 Bricks and Bags constructive algorithms games greedy sortings Statement C Codeforces Round 831 (Div. 1 + Div. 2) {1740} PROGRAMMING 1500.0 Tutorial 1400
399 Dangerous Laser Power constructive algorithms dsu sortings Statement G Codeforces Round 831 (Div. 1 + Div. 2) {1740} PROGRAMMING 2750.0 Tutorial 3100
14384 Jumbo Extra Cheese 2 geometry greedy sortings Statement B Codeforces Round 831 (Div. 1 + Div. 2) {1740} PROGRAMMING 1000.0 Tutorial 800
2965 Multi-Colored Segments binary search data structures math sortings Statement F Codeforces Round 826 (Div. 3) {1741} PROGRAMMING 107908
18642 Masha and a Beautiful Tree dfs and similar divide and conquer graphs sortings trees Statement D Codeforces Round 826 (Div. 3) {1741} PROGRAMMING 107908
62372 Increasing greedy implementation sortings Statement B Codeforces Round 827 (Div. 4) {1742} PROGRAMMING 107962
20803 Save the Magazines constructive algorithms greedy sortings string suffix structures Statement C Educational Codeforces Round 137 (Rated for Div. 2) {1743} PROGRAMMING Educational Codeforces Round 137 Editorial 1100
24764 Divisibility by 2^n greedy math sortings Statement D Codeforces Round 828 (Div. 3) {1744} PROGRAMMING Codeforces Round #828 (Div. 3) Editorial
118 Olympiad Training binary search geometry sortings Statement G Codeforces Global Round 23 {1746} PROGRAMMING 3500.0 Codeforces Global Round 23 Editorial
5155 Paths on the Tree dfs and similar dp greedy sortings trees Statement D Codeforces Global Round 23 {1746} PROGRAMMING 1500.0 Codeforces Global Round 23 Editorial
12673 The Humanoid brute force dp sortings Statement E Codeforces Round 834 (Div. 3) {1759} PROGRAMMING 109254
15147 Quests binary search greedy sortings Statement F Codeforces Round 835 (Div. 4) {1760} PROGRAMMING 109348
81650 Medium Number implementation sortings Statement A Codeforces Round 835 (Div. 4) {1760} PROGRAMMING 109348
18727 Make Array Good constructive algorithms implementation number theory sortings Statement B Codeforces Round 838 (Div. 2) {1762} PROGRAMMING 1000.0 Codeforces Round #838 (Div. 2) Editorial
154 Unequal Adjacent Elements constructive algorithms sortings Statement G Codeforces Round 838 (Div. 2) {1762} PROGRAMMING 3500.0 Codeforces Round #838 (Div. 2) Editorial
16573 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
1458 Doremy's Number Line binary search dp greedy sortings Statement E Codeforces Global Round 24 {1764} PROGRAMMING 2250.0 Codeforces Global Round 24 Editorial
1238 Doremy's Experimental Tree brute force constructive algorithms dfs and similar dsu sortings trees Statement F Codeforces Global Round 24 {1764} PROGRAMMING 2250.0 Codeforces Global Round 24 Editorial
22155 Block Towers greedy sortings Statement B Educational Codeforces Round 140 (Rated for Div. 2) {1767} PROGRAMMING 110225
15834 Elemental Decompress constructive algorithms greedy implementation sortings Statement C Codeforces Round 842 (Div. 2) {1768} PROGRAMMING 1500.0 Codeforces Round #842 (Div. 2) Editorial
25561 Hossam and Combinatorics combinatorics math sortings Statement A Codeforces Round 837 (Div. 2) {1771} PROGRAMMING 500.0 Codeforces Round #837 (Div. 2) Editorial
1633 Gaining Rating binary search greedy math sortings Statement G Codeforces Round 839 (Div. 3) {1772} PROGRAMMING 110313
2860 Copy of a Copy of a Copy constructive algorithms sortings Statement F Codeforces Round 839 (Div. 3) {1772} PROGRAMMING 110313
6132 Easy Assembly sortings Statement E 2022-2023 ICPC, NERC, Northern Eurasia Onsite (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1773} PROGRAMMING 1400
993 Library game games greedy interactive sortings Statement C SWERC 2022-2023 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1776} PROGRAMMING
12802 Quiz Master math sortings two pointers Statement C Codeforces Round 845 (Div. 2) and ByteRace 2023 {1777} PROGRAMMING 1500.0 Codeforces Round #845 (Div. 2) and ByteRace 2023 Editorial
2079 Anya's Simultaneous Exhibition constructive algorithms data structures graphs greedy interactive sortings Statement E Hello 2023 {1779} PROGRAMMING 2250.0
1968 Three Chairs bitmasks brute force combinatorics data structures number theory sortings Statement F Codeforces Round 846 (Div. 2) {1780} PROGRAMMING 2000.0 111841
14959 Going to the Cinema binary search math sortings two pointers Statement B VK Cup 2022 - Отборочный раунд (Engine) {1781} PROGRAMMING 1000.0 Tutorial
11018 Yet Another Tournament binary search greedy sortings Statement C Educational Codeforces Round 141 (Rated for Div. 2) {1783} PROGRAMMING Educational Codeforces Round 141 Editorial
52049 Make it Beautiful constructive algorithms sortings Statement A Educational Codeforces Round 141 (Rated for Div. 2) {1783} PROGRAMMING Educational Codeforces Round 141 Editorial
9887 Cake Assembly Line brute force sortings Statement B Codeforces Round 850 (Div. 2, based on VK Cup 2022 - Final Round) {1786} PROGRAMMING 1000.0 Codeforces Round #850 Editorial
33369 Matryoshkas data structures greedy sortings Statement D Codeforces Round 847 (Div. 3) {1790} PROGRAMMING 111948
6118 Teleporters (Hard Version) binary search greedy sortings Statement G2 Codeforces Round 849 (Div. 4) {1791} PROGRAMMING 112282
43151 Negatives and Positives greedy sortings Statement E Codeforces Round 849 (Div. 4) {1791} PROGRAMMING 112282
35658 Teleporters (Easy Version) greedy sortings Statement G1 Codeforces Round 849 (Div. 4) {1791} PROGRAMMING 112282
8313 Fixed Prefix Permutations binary search data structures math sortings strings Statement D Educational Codeforces Round 142 (Rated for Div. 2) {1792} PROGRAMMING 111835
31216 GamingForces greedy sortings Statement A Educational Codeforces Round 142 (Rated for Div. 2) {1792} PROGRAMMING 111835
1361 Velepin and Marketing data structures dp greedy sortings Statement E Codeforces Round 852 (Div. 2) {1793} PROGRAMMING 2500.0 Codeforces Round #852 Editorial
21141 Showstopper greedy implementation sortings Statement A Codeforces Round 860 (Div. 2) {1798} PROGRAMMING 500.0 Editorial of Codeforces Round 860 (Div. 2) 800
1102 Halve or Subtract brute force flows greedy sortings Statement F Codeforces Round 854 by cybercats (Div. 1 + Div. 2) {1799} PROGRAMMING 2500.0 Codeforces Round #854 Editorial
4153 Music Festival binary search data structures dp greedy sortings Statement C Codeforces Round 857 (Div. 1) {1801} PROGRAMMING 1250.0 Codeforces Round #857 Editorial
7697 Buying gifts data structures dp greedy sortings Statement B Codeforces Round 857 (Div. 1) {1801} PROGRAMMING 1000.0 Codeforces Round #857 Editorial
2929 The way home dp graphs greedy shortest paths sortings Statement D Codeforces Round 857 (Div. 1) {1801} PROGRAMMING 1750.0 Codeforces Round #857 Editorial
14326 Place for a Selfie binary search geometry math sortings Statement C Codeforces Round 862 (Div. 2) {1805} PROGRAMMING 1250.0 Editorial of Codeforces Round #862 (Div. 2)
1408 Survival of the Weakest (easy version) brute force math sortings Statement F1 Codeforces Round 862 (Div. 2) {1805} PROGRAMMING 1750.0 Editorial of Codeforces Round #862 (Div. 2)
532 Survival of the Weakest (hard version) greedy sortings two pointers Statement F2 Codeforces Round 862 (Div. 2) {1805} PROGRAMMING 1750.0 Editorial of Codeforces Round #862 (Div. 2)
482 GCD Master (easy version) greedy math number theory sortings Statement F1 Codeforces Round 858 (Div. 2) {1806} PROGRAMMING 2500.0 Codeforces Round #858 (Div. 2) Editorial
487 GCD Master (hard version) greedy math sortings Statement F2 Codeforces Round 858 (Div. 2) {1806} PROGRAMMING 1500.0 Codeforces Round #858 (Div. 2) Editorial
22685 Subsequence Addition (Easy Version) brute force dp greedy implementation sortings Statement G1 Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
29251 Subsequence Addition (Hard Version) dp greedy implementation math sortings Statement G2 Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
31585 Playing in a Casino math sortings Statement B Codeforces Round 861 (Div. 2) {1808} PROGRAMMING 1000.0 Codeforces Round #861 (Div. 2) editorial 1200
16716 Make It Permutation brute force greedy sortings Statement C CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!) {1810} PROGRAMMING 1000.0 Editorial of CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!)
12590 Search in Parallel greedy math sortings Statement C Educational Codeforces Round 146 (Rated for Div. 2) {1814} PROGRAMMING Educational Codeforces Round 146 Editorial
4299 The Butcher greedy implementation sortings two pointers Statement B Codeforces Round 866 (Div. 1) {1819} PROGRAMMING 1250.0 Codeforces Round #866 (Div.1, Div.2, based on Lipetsk Team Olympiad) Editorial
2757 Rearrange Brackets dp greedy math sortings Statement E Educational Codeforces Round 147 (Rated for Div. 2) {1821} PROGRAMMING 115296
26135 TubeTube Feed brute force implementation sortings Statement A Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
18280 Sort with Step brute force math sortings Statement B Codeforces Round 868 (Div. 2) {1823} PROGRAMMING 1000.0 115465
17477 Trust Nobody brute force greedy implementation sortings Statement A Codeforces Round 870 (Div. 2) {1826} PROGRAMMING 500.0 Codeforces Round #870 (Div. 2) Editorial 1200
1995 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
30382 Counting Orders combinatorics math sortings two pointers Statement A Codeforces Round 873 (Div. 1) {1827} PROGRAMMING 500.0 Codeforces Round #873 (Div. 1 & 2) Editorial 1100
2313 Hyperregular Bracket Strings combinatorics hashing number theory sortings two pointers Statement C Codeforces Round 875 (Div. 1) {1830} PROGRAMMING 1750.0 Codeforces Round #875 (Div.1 + Div. 2) Editorial
37780 Maximum Sum brute force sortings two pointers Statement B Educational Codeforces Round 148 (Rated for Div. 2) {1832} PROGRAMMING 116454 1100
10551 Ira and Flamenco combinatorics data structures implementation sortings Statement F Codeforces Round 874 (Div. 3) {1833} PROGRAMMING 116636
29846 Restore the Weather greedy sortings Statement B Codeforces Round 874 (Div. 3) {1833} PROGRAMMING 116636
5622 Survey in Class constructive algorithms data structures greedy implementation sortings Statement D Codeforces Round 879 (Div. 2) {1834} PROGRAMMING 1750.0 Codeforces Round #879 Editorial
1116 Lottery binary search brute force greedy math sortings two pointers Statement B Codeforces Round 880 (Div. 1) {1835} PROGRAMMING 1250.0 Codeforces Round 880 Editorial
21518 Destroyer sortings Statement A Codeforces Round 880 (Div. 2) {1836} PROGRAMMING 750.0 Codeforces Round 880 Editorial
3751 Bracket Walk constructive algorithms data structures implementation sortings strings Statement D Codeforces Round 877 (Div. 2) {1838} PROGRAMMING 1750.0 Codeforces Round #877 (Div. 2) Editorial
2742 Ball Sorting data structures dp sortings Statement D Codeforces Round 876 (Div. 2) {1839} PROGRAMMING 2250.0 Codeforces Round #876 (Div. 2) Editorial
16652 Lamps data structures greedy sortings two pointers Statement B Codeforces Round 876 (Div. 2) {1839} PROGRAMMING 1000.0 Codeforces Round #876 (Div. 2) Editorial
16626 Wooden Toy Festival binary search greedy sortings Statement D Codeforces Round 878 (Div. 3) {1840} PROGRAMMING Codeforces Round #878 (Div.3) Editorial
5372 Pairs of Segments data structures dp greedy sortings Statement D Educational Codeforces Round 150 (Rated for Div. 2) {1841} PROGRAMMING 117262
640 Monocarp and a Strategic Game dp geometry sortings Statement F Educational Codeforces Round 150 (Rated for Div. 2) {1841} PROGRAMMING 117262
37593 Sasha and Array Coloring greedy sortings Statement A Codeforces Round 881 (Div. 3) {1843} PROGRAMMING Codeforces Round #881 (Div. 3) Editorial
500 Min Cost Permutation (Hard Version) binary search data structures graphs greedy sortings Statement F2 Codeforces Round 884 (Div. 1 + Div. 2) {1844} PROGRAMMING 1000.0 Codeforces Round #884 (Div. 1 + Div. 2) Editorial
21783 Rudolf and the Another Competition constructive algorithms greedy implementation sortings Statement C Codeforces Round 883 (Div. 3) {1846} PROGRAMMING
1102 The Boss's Identity binary search bitmasks data structures dfs and similar greedy math sortings Statement F Codeforces Round 882 (Div. 2) {1847} PROGRAMMING 3000.0 Tutorial
4303 Professor Higashikata brute force data structures dsu greedy implementation sortings Statement D Codeforces Round 882 (Div. 2) {1847} PROGRAMMING 2000.0 Tutorial
22956 The Man who became a God greedy sortings Statement A Codeforces Round 882 (Div. 2) {1847} PROGRAMMING 500.0 Tutorial
25950 Vika and the Bridge binary search data structures greedy implementation math sortings Statement B Codeforces Round 885 (Div. 2) {1848} PROGRAMMING 1000.0 Codeforces Round #885 (Div.2) Editorial
47064 Monsters greedy sortings Statement B Educational Codeforces Round 152 (Rated for Div. 2) {1849} PROGRAMMING 118752
64233 Balanced Round brute force greedy implementation sortings Statement D Codeforces Round 886 (Div. 4) {1850} PROGRAMMING Codeforces Round #886 (Div. 4) Editorial
15746 The Morning Star combinatorics data structures geometry implementation math sortings Statement G Codeforces Round 886 (Div. 4) {1850} PROGRAMMING Codeforces Round #886 (Div. 4) Editorial
75637 To My Critics implementation sortings Statement A Codeforces Round 886 (Div. 4) {1850} PROGRAMMING Codeforces Round #886 (Div. 4) Editorial
51125 Ten Words of Wisdom implementation sortings Statement B Codeforces Round 886 (Div. 4) {1850} PROGRAMMING Codeforces Round #886 (Div. 4) Editorial
7750 Lisa and the Martians bitmasks data structures greedy math sortings strings trees Statement F Codeforces Round 888 (Div. 3) {1851} PROGRAMMING 118667
4162 Vlad and the Mountains data structures dsu graphs implementation sortings trees two pointers Statement G Codeforces Round 888 (Div. 3) {1851} PROGRAMMING 118667
13526 Nastya and Potions dfs and similar dp graphs greedy shortest paths sortings Statement E Codeforces Round 888 (Div. 3) {1851} PROGRAMMING 118667
32795 Parity Sort sortings two pointers Statement B Codeforces Round 888 (Div. 3) {1851} PROGRAMMING 118667
5533 Imbalanced Arrays constructive algorithms greedy sortings two pointers Statement B Codeforces Round 887 (Div. 1) {1852} PROGRAMMING 750.0 Codeforces Round 887 (Div 1, Div 2) Tutorial
5607 Counting Graphs combinatorics divide and conquer dsu graphs greedy sortings Statement G Codeforces Round 891 (Div. 3) {1857} PROGRAMMING 119134
44017 Assembly via Minimums greedy sortings Statement C Codeforces Round 891 (Div. 3) {1857} PROGRAMMING 119134
15026 Power of Points math sortings Statement E Codeforces Round 891 (Div. 3) {1857} PROGRAMMING 119134
30761 Strong Vertices math sortings trees Statement D Codeforces Round 891 (Div. 3) {1857} PROGRAMMING 119134
8064 Andrey and Escape from Capygrad binary search data structures dp dsu greedy sortings two pointers Statement D Codeforces Round 892 (Div. 2) {1859} PROGRAMMING 1750.0 Video solutions from Geothermal.
46398 Olya and Game with Arrays constructive algorithms greedy math sortings Statement B Codeforces Round 892 (Div. 2) {1859} PROGRAMMING 1000.0 Video solutions from Geothermal.
345 Evaluate RBS data structures geometry sortings Statement F Educational Codeforces Round 153 (Rated for Div. 2) {1860} PROGRAMMING Educational Codeforces Round 153 Editorial
3511 The Great Equalizer data structures math sortings Statement G Codeforces Round 894 (Div. 3) {1862} PROGRAMMING Tutorial
3238 Speedrun brute force data structures dfs and similar dp graphs sortings Statement E Pinely Round 2 (Div. 1 + Div. 2) {1863} PROGRAMMING 1750.0
16903 Split Sort greedy math sortings Statement B Pinely Round 2 (Div. 1 + Div. 2) {1863} PROGRAMMING 750.0
1677 Exotic Queries brute force data structures implementation sortings Statement F Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) {1864} PROGRAMMING 2500.0 Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) Editorial
16764 Swap and Reverse greedy sortings strings Statement B Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) {1864} PROGRAMMING 1000.0 Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) Editorial
186 Freak Joker Process binary search data structures sortings Statement F COMPFEST 15 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1866} PROGRAMMING COMPFEST 15 Preliminary — Editorial
21208 green_gold_dog, array and permutation constructive algorithms sortings Statement A Codeforces Round 897 (Div. 2) {1867} PROGRAMMING 500.0
13250 Colorful Table binary search data structures dp implementation math sortings two pointers Statement C CodeTON Round 6 (Div. 1 + Div. 2, Rated, Prizes!) {1870} PROGRAMMING 1500.0 CodeTON Round 6 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
46179 Building an Aquarium binary search sortings Statement E Codeforces Round 898 (Div. 4) {1873} PROGRAMMING 120634
10163 Effects of Anti Pimples combinatorics number theory sortings Statement B Codeforces Round 902 (Div. 1, based on COMPFEST 15 - Final Round) {1876} PROGRAMMING 1000.0 Codeforces Round #902 (Div. 1, Div. 2, based on COMPFEST 15 — Final Round) Editorial
37555 Helmets in Night Light greedy sortings Statement A Codeforces Round 902 (Div. 1, based on COMPFEST 15 - Final Round) {1876} PROGRAMMING 500.0 Codeforces Round #902 (Div. 1, Div. 2, based on COMPFEST 15 — Final Round) Editorial
4243 Counting Rhyme brute force combinatorics dp math number theory sortings Statement D Codeforces Round 904 (Div. 2) {1884} PROGRAMMING 2500.0 Codeforces Round #904 (Div. 2) Editorial
7436 Medium Design data structures dp sortings Statement C Codeforces Round 904 (Div. 2) {1884} PROGRAMMING 1750.0 Codeforces Round #904 (Div. 2) Editorial
3967 Doremy's Drying Plan (Easy Version) brute force data structures dp greedy sortings Statement C1 Codeforces Round 906 (Div. 1) {1889} PROGRAMMING 750.0 Codeforces Round 906 Editorial
8712 Doremy's Connecting Plan greedy sortings Statement B Codeforces Round 906 (Div. 1) {1889} PROGRAMMING 1250.0 Codeforces Round 906 Editorial
1111 Brukhovich and Exams brute force greedy math sortings Statement E Codeforces Round 907 (Div. 2) {1891} PROGRAMMING 2000.0
21405 Smilo and Monsters constructive algorithms greedy sortings two pointers Statement C Codeforces Round 907 (Div. 2) {1891} PROGRAMMING 1000.0
20631 Sorting with Twos constructive algorithms sortings Statement A Codeforces Round 907 (Div. 2) {1891} PROGRAMMING 500.0
30713 Deja Vu math sortings Statement B Codeforces Round 907 (Div. 2) {1891} PROGRAMMING 750.0
11798 Neutral Tonality constructive algorithms greedy sortings two pointers Statement B Codeforces Round 908 (Div. 1) {1893} PROGRAMMING 1000.0 Codeforces Round 908 (Div. 1, Div, 2) Editorial
1902 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
21721 Points and Minimum Distance greedy math sortings Statement B Educational Codeforces Round 157 (Rated for Div. 2) {1895} PROGRAMMING Educational Codeforces Round 157 Editorial
11810 Matching Arrays binary search constructive algorithms greedy sortings Statement C CodeTON Round 7 (Div. 1 + Div. 2, Rated, Prizes!) {1896} PROGRAMMING 1500.0 CodeTON Round 7 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
436 Pepe Racing constructive algorithms interactive sortings Statement G CodeTON Round 7 (Div. 1 + Div. 2, Rated, Prizes!) {1896} PROGRAMMING 3250.0 CodeTON Round 7 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
2778 Permutation Sorting data structures divide and conquer sortings Statement E CodeTON Round 7 (Div. 1 + Div. 2, Rated, Prizes!) {1896} PROGRAMMING 2250.0 CodeTON Round 7 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
62122 Jagged Swaps sortings Statement A CodeTON Round 7 (Div. 1 + Div. 2, Rated, Prizes!) {1896} PROGRAMMING 500.0 CodeTON Round 7 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
4089 Unusual Entertainment data structures dfs and similar dsu shortest paths sortings trees Statement G Codeforces Round 909 (Div. 3) {1899} PROGRAMMING Разбор Codeforces Round 909 (Div. 3)
18560 Queue Sort greedy implementation sortings Statement E Codeforces Round 909 (Div. 3) {1899} PROGRAMMING Разбор Codeforces Round 909 (Div. 3)
5422 Robot Queries binary search data structures geometry sortings Statement D Educational Codeforces Round 159 (Rated for Div. 2) {1902} PROGRAMMING Educational Codeforces Round 159 Editorial
25021 Array Game binary search brute force data structures sortings Statement C Codeforces Round 914 (Div. 2) {1904} PROGRAMMING 1000.0 Codeforces Round 914 (Div. 2) Editorial
5826 Set To Max (Hard Version) binary search constructive algorithms data structures dsu greedy implementation sortings two pointers Statement D2 Codeforces Round 914 (Div. 2) {1904} PROGRAMMING 750.0 Codeforces Round 914 (Div. 2) Editorial
6059 Shift and Reverse greedy sortings Statement F Codeforces Round 913 (Div. 3) {1907} PROGRAMMING Codeforces Round 913 (Div. 3) Editorial
13379 Heavy Intervals constructive algorithms data structures dsu greedy math sortings Statement C Pinely Round 3 (Div. 1 + Div. 2) {1909} PROGRAMMING 1500.0 Editorial of Pinely Round 3 (Div. 1 + Div. 2)
3116 Accumulator Apex implementation sortings Statement A 2023-2024 ICPC, NERC, Northern Eurasia Onsite (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1912} PROGRAMMING Tutorials (PDF) 1800
40421 Three Activities brute force dp implementation sortings Statement D Codeforces Round 916 (Div. 3) {1914} PROGRAMMING Codeforces Round 916 (Div. 3) Editorial
14421 Game with Marbles (Easy Version) brute force games greedy sortings Statement E1 Codeforces Round 916 (Div. 3) {1914} PROGRAMMING Codeforces Round 916 (Div. 3) Editorial
14951 Game with Marbles (Hard Version) games greedy sortings Statement E2 Codeforces Round 916 (Div. 3) {1914} PROGRAMMING Codeforces Round 916 (Div. 3) Editorial
23336 Greetings data structures divide and conquer sortings Statement F Codeforces Round 918 (Div. 4) {1915} PROGRAMMING 123952
10209 Bicycles dp graphs greedy implementation shortest paths sortings Statement G Codeforces Round 918 (Div. 4) {1915} PROGRAMMING 123952
2127 ace5 and Task Order binary search divide and conquer implementation interactive probabilities sortings Statement E Codeforces Round 922 (Div. 2) {1918} PROGRAMMING 2500.0 Codeforces Round #922 (Div. 2) Editorial
27387 Minimize Inversions constructive algorithms data structures greedy implementation sortings Statement B Codeforces Round 922 (Div. 2) {1918} PROGRAMMING 1000.0 Codeforces Round #922 (Div. 2) Editorial
4624 01 Tree data structures divide and conquer greedy implementation sortings trees Statement D Hello 2024 {1919} PROGRAMMING 1500.0 2100
23365 Summation Game dp games greedy sortings Statement B Codeforces Round 919 (Div. 2) {1920} PROGRAMMING 1000.0 Editorial for Codeforces Round #919 (Div. 2)
24513 Very Different Array greedy sortings two pointers Statement D Codeforces Round 920 (Div. 3) {1921} PROGRAMMING Editorial for Codeforces Round 920 (Div. 3)
3370 Space Harbour brute force data structures implementation math sortings Statement B Codeforces Round 921 (Div. 1) {1924} PROGRAMMING 1000.0 Codeforces Round 921 (Div. 1, Div. 2) Editorial
21051 Equalize binary search greedy sortings two pointers Statement B Codeforces Round 924 (Div. 2) {1928} PROGRAMMING 1000.0 Codeforces Round 924 Editorial
2344 Sasha and the Wedding Binary Search Tree combinatorics dfs and similar math sortings trees Statement F Codeforces Round 926 (Div. 2) {1929} PROGRAMMING 3000.0 Codeforces Round #926 (Div. 2) Editorial.
35306 Sasha and the Beautiful Array constructive algorithms greedy sortings Statement A Codeforces Round 926 (Div. 2) {1929} PROGRAMMING 500.0 Codeforces Round #926 (Div. 2) Editorial.
8226 Lexicographically Largest constructive algorithms data structures greedy sortings Statement C think-cell Round 1 {1930} PROGRAMMING 1500.0 think-cell Round 1 Editorial
20380 Maximise The Score greedy sortings Statement A think-cell Round 1 {1930} PROGRAMMING 500.0 think-cell Round 1 Editorial
27185 Anna and the Valentine's Day Gift games greedy math sortings Statement E Codeforces Round 925 (Div. 3) {1931} PROGRAMMING 125878
5831 Feed Cats data structures dp sortings Statement F Codeforces Round 927 (Div. 3) {1932} PROGRAMMING 126196
23869 Turtle Tenacity: Continual Mods constructive algorithms greedy number theory sortings Statement D Codeforces Round 929 (Div. 3) {1933} PROGRAMMING Codeforces Round 929 (Div. 3) Editorial
42455 Turtle Puzzle: Rearrange and Negate greedy math sortings Statement A Codeforces Round 929 (Div. 3) {1933} PROGRAMMING Codeforces Round 929 (Div. 3) Editorial
9898 Messenger in MAC binary search brute force constructive algorithms data structures dp sortings Statement C Codeforces Round 932 (Div. 2) {1935} PROGRAMMING 1500.0 Codeforces Round #932 (Div. 2) Editorial
177 Almost Certainly *special constructive algorithms data structures sortings Statement D XVIII Open Olympiad in Informatics - Final Stage, Day 2 (Unrated, Online Mirror, IOI rules) {1940} PROGRAMMING
275 Three Arrays *special constructive algorithms implementation sortings Statement B XVIII Open Olympiad in Informatics - Final Stage, Day 2 (Unrated, Online Mirror, IOI rules) {1940} PROGRAMMING
44 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
48115 Rudolf and the Ticket brute force math sortings two pointers Statement A Codeforces Round 933 (Div. 3) {1941} PROGRAMMING 127018
5175 Kirill and Mushrooms data structures sortings Statement F Codeforces Round 935 (Div. 3) {1945} PROGRAMMING 127377
5008 Charming Meals binary search brute force greedy sortings Statement B European Championship 2024 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1949} PROGRAMMING European Championship 2024 (EUC) Editorial
1486 Dating greedy sortings trees Statement F European Championship 2024 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1949} PROGRAMMING European Championship 2024 (EUC) Editorial
13924 Ticket Hoarding greedy math sortings Statement C Codeforces Global Round 25 {1951} PROGRAMMING 1500.0 Codeforces Global Round 25 Editorial
910 Help, what does it mean to be "Based" brute force combinatorics constructive algorithms games implementation sortings Statement J April Fools Day Contest 2024 {1952} PROGRAMMING April Fools Day Contest 2024 Editorial
8300 Colored Balls combinatorics dp greedy math sortings Statement D Educational Codeforces Round 164 (Rated for Div. 2) {1954} PROGRAMMING Educational Codeforces Round 164 Editorial
10764 Long Inversions brute force greedy implementation sortings Statement E Codeforces Round 938 (Div. 3) {1955} PROGRAMMING 128243
32727 Progressive Square constructive algorithms data structures implementation sortings Statement B Codeforces Round 938 (Div. 3) {1955} PROGRAMMING 128243
689 Nene and the Passing Game constructive algorithms data structures dsu graphs sortings Statement F Codeforces Round 939 (Div. 2) {1956} PROGRAMMING 2500.0 [Editorial] Codeforces Round 939 (Div. 2)
17120 Everything Nim games greedy math sortings Statement A Codeforces Round 941 (Div. 1) {1965} PROGRAMMING 500.0 Codeforces Round #941 (Div. 1, Div. 2) Editorial 1400
15190 Permutation Counting binary search greedy implementation math sortings Statement A Codeforces Round 942 (Div. 1) {1967} PROGRAMMING 750.0 Tutorial 1400
5779 Shop Game data structures greedy math sortings Statement D Educational Codeforces Round 165 (Rated for Div. 2) {1969} PROGRAMMING Educational Codeforces Round 165 Editorial 1900
7433 Balanced Shuffle (Easy) implementation sortings Statement A1 Helvetic Coding Contest 2024 online mirror (teams allowed, unrated) {1970} PROGRAMMING Helvetic Coding Contest 2024 Editorial 1000
30976 Binary Cut dp greedy implementation sortings strings Statement D Codeforces Round 944 (Div. 4) {1971} PROGRAMMING Codeforces Round 944 (Div. 4) Editorial 1100
11708 XOUR data structures dsu sortings Statement G Codeforces Round 944 (Div. 4) {1971} PROGRAMMING Codeforces Round 944 (Div. 4) Editorial 1400
18638 Find the Car binary search math sortings Statement E Codeforces Round 944 (Div. 4) {1971} PROGRAMMING Codeforces Round 944 (Div. 4) Editorial 1500
60619 My First Sorting Problem implementation sortings Statement A Codeforces Round 944 (Div. 4) {1971} PROGRAMMING Codeforces Round 944 (Div. 4) Editorial 800
9955 Cat, Fox and Double Maximum constructive algorithms greedy implementation math sortings Statement C Codeforces Round 945 (Div. 2) {1973} PROGRAMMING 1500.0 Editorial for Codeforces Round #945 (Div. 2) 1700
1027 Cat, Fox and Swaps graphs math sortings Statement E Codeforces Round 945 (Div. 2) {1973} PROGRAMMING 2250.0 Editorial for Codeforces Round #945 (Div. 2) 2500
4456 Cutting Game binary search brute force data structures implementation sortings two pointers Statement F Codeforces Round 946 (Div. 3) {1974} PROGRAMMING Codeforces Round #946 (Div. 3) Editorial 1900
6117 Money Buys Less Happiness Now data structures greedy sortings Statement G Codeforces Round 946 (Div. 3) {1974} PROGRAMMING Codeforces Round #946 (Div. 3) Editorial 2000
34748 Symmetric Encoding implementation sortings strings Statement B Codeforces Round 946 (Div. 3) {1974} PROGRAMMING Codeforces Round #946 (Div. 3) Editorial 800
21274 378QAQ and Mocha's Array brute force greedy math sortings Statement B Codeforces Round 947 (Div. 1 + Div. 2) {1975} PROGRAMMING 500.0 editorial_zh.pdf 1000
20897 Bazoka and Mocha's Array brute force greedy implementation sortings Statement A Codeforces Round 947 (Div. 1 + Div. 2) {1975} PROGRAMMING 250.0 editorial_zh.pdf 800
875 Remove Bridges data structures dfs and similar dp greedy sortings trees Statement F Educational Codeforces Round 166 (Rated for Div. 2) {1976} PROGRAMMING Educational Codeforces Round 166 Editorial
32840 Verify Password implementation sortings Statement A Educational Codeforces Round 166 (Rated for Div. 2) {1976} PROGRAMMING Educational Codeforces Round 166 Editorial
8146 Nikita and LCM brute force data structures dp greedy math number theory sortings Statement C Codeforces Round 948 (Div. 2) {1977} PROGRAMMING 1750.0 129858 1900
28794 Alice and Books constructive algorithms sortings Statement A Codeforces Round 953 (Div. 2) {1978} PROGRAMMING 500.0 130527
13218 Permutation of Rows and Columns constructive algorithms data structures hashing math matrices sortings Statement E Codeforces Round 950 (Div. 3) {1980} PROGRAMMING 130135
4442 Field Division (easy version) data structures geometry math sortings Statement F1 Codeforces Round 950 (Div. 3) {1980} PROGRAMMING 130135
1264 Field Division (hard version) math sortings Statement F2 Codeforces Round 950 (Div. 3) {1980} PROGRAMMING 130135
38750 Choosing Cubes sortings sortings Statement B Codeforces Round 950 (Div. 3) {1980} PROGRAMMING 130135
27641 Soccer greedy implementation math sortings Statement A Codeforces Round 955 (Div. 2, with prizes from NEAR!) {1982} PROGRAMMING 500.0 130839
11453 Swap Dilemma constructive algorithms divide and conquer greedy math sortings Statement D Codeforces Round 956 (Div. 2) and ByteRace 2024 {1983} PROGRAMMING 1750.0
305 Magic Trick II constructive algorithms implementation sortings Statement G Codeforces Global Round 26 {1984} PROGRAMMING 4000.0 Codeforces Global Round 26 Editorial
30409 Matrix Stabilization brute force greedy sortings Statement B Codeforces Round 954 (Div. 3) {1986} PROGRAMMING 130762
48485 X Axis brute force math sortings Statement A Codeforces Round 954 (Div. 3) {1986} PROGRAMMING 130762
26303 Update Queries data structures greedy sortings Statement C Codeforces Round 954 (Div. 3) {1986} PROGRAMMING 130762
11043 Beautiful Array dp math sortings Statement E Codeforces Round 954 (Div. 3) {1986} PROGRAMMING 130762
7219 Smithing Skill brute force dp greedy math sortings two pointers Statement D Educational Codeforces Round 167 (Rated for Div. 2) {1989} PROGRAMMING Educational Codeforces Round 167 Editorial
27177 Submission Bait brute force games greedy sortings Statement A Codeforces Round 960 (Div. 2) {1990} PROGRAMMING 500.0 Video Tutorial