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 ... 8 9 10 11 12 13 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
28340 Count the Number of Pairs greedy strings Statement B Codeforces Round 855 (Div. 3) {1800} PROGRAMMING Codeforces Round 855 (Div. 3) Editorial
4086 Music Festival binary search data structures dp greedy sortings Statement C Codeforces Round 857 (Div. 1) {1801} PROGRAMMING 1250.0 Codeforces Round #857 Editorial
7522 Buying gifts data structures dp greedy sortings Statement B Codeforces Round 857 (Div. 1) {1801} PROGRAMMING 1000.0 Codeforces Round #857 Editorial
2853 The way home dp graphs greedy shortest paths sortings Statement D Codeforces Round 857 (Div. 1) {1801} PROGRAMMING 1750.0 Codeforces Round #857 Editorial
16648 Likes greedy implementation Statement A Codeforces Round 857 (Div. 2) {1802} PROGRAMMING 500.0 Codeforces Round #857 Editorial
13808 Pull Your Luck brute force greedy math number theory Statement C Nebius Welcome Round (Div. 1 + Div. 2) {1804} PROGRAMMING 1000.0 Nebius Welcome Round Editorial
5260 Accommodation dp greedy Statement D Nebius Welcome Round (Div. 1 + Div. 2) {1804} PROGRAMMING 1500.0 Nebius Welcome Round Editorial
15591 Vaccination greedy implementation two pointers Statement B Nebius Welcome Round (Div. 1 + Div. 2) {1804} PROGRAMMING 1000.0 Nebius Welcome Round Editorial
18651 Lame King greedy math Statement A Nebius Welcome Round (Div. 1 + Div. 2) {1804} PROGRAMMING 500.0 Nebius Welcome Round Editorial
8917 A Wide, Wide Graph dfs and similar dp dsu greedy trees Statement D Codeforces Round 862 (Div. 2) {1805} PROGRAMMING 1750.0 Editorial of Codeforces Round #862 (Div. 2)
509 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)
19849 The String Has a Target greedy strings Statement B Codeforces Round 862 (Div. 2) {1805} PROGRAMMING 750.0 Editorial of Codeforces Round #862 (Div. 2)
19679 Mex Master constructive algorithms greedy Statement B Codeforces Round 858 (Div. 2) {1806} PROGRAMMING 1000.0 Codeforces Round #858 (Div. 2) Editorial
42992 Walking Master geometry greedy math Statement A Codeforces Round 858 (Div. 2) {1806} PROGRAMMING 500.0 Codeforces Round #858 (Div. 2) Editorial
463 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
465 GCD Master (hard version) greedy math sortings Statement F2 Codeforces Round 858 (Div. 2) {1806} PROGRAMMING 1500.0 Codeforces Round #858 (Div. 2) Editorial
22192 Subsequence Addition (Easy Version) brute force dp greedy implementation sortings Statement G1 Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
27659 Subsequence Addition (Hard Version) dp greedy implementation math sortings Statement G2 Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
49218 Grab the Candies greedy Statement B Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
34253 Find and Replace greedy implementation strings Statement C Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
4314 Unlucky Numbers brute force greedy implementation Statement C Codeforces Round 861 (Div. 2) {1808} PROGRAMMING 1500.0 Codeforces Round #861 (Div. 2) editorial 1900
930 Traveling in Berland binary search data structures graphs greedy implementation Statement F Educational Codeforces Round 145 (Rated for Div. 2) {1809} PROGRAMMING 114300
7258 Binary String Sorting binary search dp greedy Statement D Educational Codeforces Round 145 (Rated for Div. 2) {1809} PROGRAMMING 114300
22309 Points on Plane binary search greedy math Statement B Educational Codeforces Round 145 (Rated for Div. 2) {1809} PROGRAMMING 114300
15129 Sum on Subarrays constructive algorithms greedy math Statement C Educational Codeforces Round 145 (Rated for Div. 2) {1809} PROGRAMMING 114300
21884 Beautiful Sequence brute force greedy Statement A CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!) {1810} PROGRAMMING 500.0 Editorial of CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!)
16520 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!)
22194 Restore the Array constructive algorithms greedy Statement C Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
34572 Insert Digit greedy math strings Statement A Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
12447 Search in Parallel greedy math sortings Statement C Educational Codeforces Round 146 (Rated for Div. 2) {1814} PROGRAMMING Educational Codeforces Round 146 Editorial
15935 Ian and Array Sorting greedy implementation math Statement A Codeforces Round 865 (Div. 1) {1815} PROGRAMMING 500.0 Editorial of Codeforces Round #865 1300
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
16667 Grid Reconstruction constructive algorithms greedy Statement B Codeforces Round 865 (Div. 2) {1816} PROGRAMMING 1000.0 Editorial of Codeforces Round #865 1000
12735 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
319 Half-sum divide and conquer greedy Statement E Codeforces Round 869 (Div. 1) {1817} PROGRAMMING 2500.0 Codeforces Round #869 (Div.1, Div.2) Editorial
14367 Politics greedy implementation Statement A Codeforces Round 869 (Div. 2) {1818} PROGRAMMING 500.0 Codeforces Round #869 (Div.1, Div.2) Editorial
14562 Constructive Problem brute force greedy implementation Statement A Codeforces Round 866 (Div. 1) {1819} PROGRAMMING 750.0 Codeforces Round #866 (Div.1, Div.2, based on Lipetsk Team Olympiad) Editorial
4193 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
5525 Black Cells binary search brute force greedy math Statement D Educational Codeforces Round 147 (Rated for Div. 2) {1821} PROGRAMMING 115296
28132 Sort the Subarray brute force greedy Statement B Educational Codeforces Round 147 (Rated for Div. 2) {1821} PROGRAMMING 115296
2696 Rearrange Brackets dp greedy math sortings Statement E Educational Codeforces Round 147 (Rated for Div. 2) {1821} PROGRAMMING 115296
26555 Karina and Array greedy math Statement B Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
12314 Making Anti-Palindromes greedy math strings Statement E Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
4300 Unique Palindromes binary search constructive algorithms greedy math strings Statement D Codeforces Round 868 (Div. 2) {1823} PROGRAMMING 2000.0 115465
13816 Strongly Composite greedy math number theory Statement C Codeforces Round 868 (Div. 2) {1823} PROGRAMMING 1250.0 115465
12502 LuoTianyi and the Show greedy implementation Statement A Codeforces Round 872 (Div. 1) {1824} PROGRAMMING 500.0 CodeForces Round 872(Div. 1&2) Editorial 1400
1679 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
16072 LuoTianyi and the Table greedy math Statement B Codeforces Round 872 (Div. 2) {1825} PROGRAMMING 1000.0 CodeForces Round 872(Div. 1&2) Editorial 1000
20731 LuoTianyi and the Palindrome String greedy strings Statement A Codeforces Round 872 (Div. 2) {1825} PROGRAMMING 500.0 CodeForces Round 872(Div. 1&2) Editorial 800
17242 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
15643 Dreaming of Freedom greedy math number theory Statement C Codeforces Round 870 (Div. 2) {1826} PROGRAMMING 1500.0 Codeforces Round #870 (Div. 2) Editorial 1300
14825 Running Miles brute force dp greedy Statement D Codeforces Round 870 (Div. 2) {1826} PROGRAMMING 2000.0 Codeforces Round #870 (Div. 2) Editorial 1700
4522 Range Sorting (Easy Version) binary search dp dsu greedy trees two pointers Statement B1 Codeforces Round 873 (Div. 1) {1827} PROGRAMMING 750.0 Codeforces Round #873 (Div. 1 & 2) Editorial 2000
2304 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
965 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
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
134 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
32391 Mr. Perfectly Fine bitmasks greedy implementation Statement C Codeforces Round 871 (Div. 4) {1829} PROGRAMMING Codeforces Round 871 (Div. 4) Editorial 800
34750 Array merging constructive algorithms greedy Statement B Codeforces Round 875 (Div. 2) {1831} PROGRAMMING 750.0 Codeforces Round #875 (Div.1 + Div. 2) Editorial
34102 Contrast Value greedy implementation Statement C Educational Codeforces Round 148 (Rated for Div. 2) {1832} PROGRAMMING 116454 1200
3372 Red-Blue Operations (Easy Version) binary search greedy implementation math Statement D1 Educational Codeforces Round 148 (Rated for Div. 2) {1832} PROGRAMMING 116454 2100
2332 Red-Blue Operations (Hard Version) binary search constructive algorithms greedy implementation math Statement D2 Educational Codeforces Round 148 (Rated for Div. 2) {1832} PROGRAMMING 116454 2400
6364 Ksyusha and Chinchilla dfs and similar dp dsu greedy implementation trees Statement G Codeforces Round 874 (Div. 3) {1833} PROGRAMMING 116636
27851 Vlad Building Beautiful Array greedy Statement C Codeforces Round 874 (Div. 3) {1833} PROGRAMMING 116636
29564 Restore the Weather greedy sortings Statement B Codeforces Round 874 (Div. 3) {1833} PROGRAMMING 116636
5535 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
45125 Unit Array greedy math Statement A Codeforces Round 879 (Div. 2) {1834} PROGRAMMING 500.0 Codeforces Round #879 Editorial
16975 Maximum Strength greedy math Statement B Codeforces Round 879 (Div. 2) {1834} PROGRAMMING 1000.0 Codeforces Round #879 Editorial
1071 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
13574 Astrophysicists greedy math Statement B Codeforces Round 880 (Div. 2) {1836} PROGRAMMING 1000.0 Codeforces Round 880 Editorial
2653 Editorial for Two binary search data structures greedy implementation Statement F Educational Codeforces Round 149 (Rated for Div. 2) {1837} PROGRAMMING 116752
21820 Bracket Coloring constructive algorithms data structures greedy Statement D Educational Codeforces Round 149 (Rated for Div. 2) {1837} PROGRAMMING 116752
24539 Best Binary String constructive algorithms greedy Statement C Educational Codeforces Round 149 (Rated for Div. 2) {1837} PROGRAMMING 116752
49672 Comparison String greedy Statement B Educational Codeforces Round 149 (Rated for Div. 2) {1837} PROGRAMMING 116752
17787 Minimize Permutation Subarrays constructive algorithms greedy math Statement B Codeforces Round 877 (Div. 2) {1838} PROGRAMMING 1000.0 Codeforces Round #877 (Div. 2) Editorial
1533 Decreasing Game constructive algorithms dp greedy interactive Statement E Codeforces Round 876 (Div. 2) {1839} PROGRAMMING 2750.0 Codeforces Round #876 (Div. 2) Editorial
13421 Insert Zero and Invert Prefix constructive algorithms greedy Statement C Codeforces Round 876 (Div. 2) {1839} PROGRAMMING 1500.0 Codeforces Round #876 (Div. 2) Editorial
16530 Lamps data structures greedy sortings two pointers Statement B Codeforces Round 876 (Div. 2) {1839} PROGRAMMING 1000.0 Codeforces Round #876 (Div. 2) Editorial
18319 The Good Array greedy math Statement A Codeforces Round 876 (Div. 2) {1839} PROGRAMMING 500.0 Codeforces Round #876 (Div. 2) Editorial
16243 Wooden Toy Festival binary search greedy sortings Statement D Codeforces Round 878 (Div. 3) {1840} PROGRAMMING Codeforces Round #878 (Div.3) Editorial
9032 Ranom Numbers brute force dp greedy math strings Statement C Educational Codeforces Round 150 (Rated for Div. 2) {1841} PROGRAMMING 117262
5271 Pairs of Segments data structures dp greedy sortings Statement D Educational Codeforces Round 150 (Rated for Div. 2) {1841} PROGRAMMING 117262
2422 Fill the Matrix data structures greedy math Statement E Educational Codeforces Round 150 (Rated for Div. 2) {1841} PROGRAMMING 117262
25342 Tenzing and Books bitmasks greedy math Statement B CodeTON Round 5 (Div. 1 + Div. 2, Rated, Prizes!) {1842} PROGRAMMING 500.0 CodeTON Round 5 Editorial
4715 Tenzing and His Animal Friends brute force constructive algorithms graphs greedy shortest paths Statement D CodeTON Round 5 (Div. 1 + Div. 2, Rated, Prizes!) {1842} PROGRAMMING 1500.0 CodeTON Round 5 Editorial
1801 Tenzing and Tree brute force dfs and similar greedy trees Statement F CodeTON Round 5 (Div. 1 + Div. 2, Rated, Prizes!) {1842} PROGRAMMING 2500.0 CodeTON Round 5 Editorial
1825 Tenzing and Triangle data structures dp greedy Statement E CodeTON Round 5 (Div. 1 + Div. 2, Rated, Prizes!) {1842} PROGRAMMING 2000.0 CodeTON Round 5 Editorial
169 Tenzing and Necklace divide and conquer dp greedy Statement I CodeTON Round 5 (Div. 1 + Div. 2, Rated, Prizes!) {1842} PROGRAMMING 5000.0 CodeTON Round 5 Editorial
16418 Tenzing and Balls dp greedy Statement C CodeTON Round 5 (Div. 1 + Div. 2, Rated, Prizes!) {1842} PROGRAMMING 1000.0 CodeTON Round 5 Editorial
6329 Omsk Metro (simple version) data structures dfs and similar dp greedy math trees Statement F1 Codeforces Round 881 (Div. 3) {1843} PROGRAMMING Codeforces Round #881 (Div. 3) Editorial
32050 Long Long greedy math Statement B Codeforces Round 881 (Div. 3) {1843} PROGRAMMING Codeforces Round #881 (Div. 3) Editorial
37264 Sasha and Array Coloring greedy sortings Statement A Codeforces Round 881 (Div. 3) {1843} PROGRAMMING Codeforces Round #881 (Div. 3) Editorial
475 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
17822 Particles constructive algorithms greedy implementation math Statement C Codeforces Round 884 (Div. 1 + Div. 2) {1844} PROGRAMMING 1250.0 Codeforces Round #884 (Div. 1 + Div. 2) Editorial
20225 Permutations & Primes constructive algorithms greedy math Statement B Codeforces Round 884 (Div. 1 + Div. 2) {1844} PROGRAMMING 1000.0 Codeforces Round #884 (Div. 1 + Div. 2) Editorial
904 Min Cost Permutation (Easy Version) greedy Statement F1 Codeforces Round 884 (Div. 1 + Div. 2) {1844} PROGRAMMING 2000.0 Codeforces Round #884 (Div. 1 + Div. 2) Editorial
16741 Strong Password binary search dp greedy strings Statement C Educational Codeforces Round 151 (Rated for Div. 2) {1845} PROGRAMMING 117791
8991 Rating System brute force data structures dp greedy implementation math Statement D Educational Codeforces Round 151 (Rated for Div. 2) {1845} PROGRAMMING 117791
5617 Rudolf and CodeVid-23 bitmasks dp graphs greedy shortest paths Statement G Codeforces Round 883 (Div. 3) {1846} PROGRAMMING
3709 Rudolph and Mimic constructive algorithms greedy implementation interactive Statement F Codeforces Round 883 (Div. 3) {1846} PROGRAMMING
21439 Rudolf and the Another Competition constructive algorithms greedy implementation sortings Statement C Codeforces Round 883 (Div. 3) {1846} PROGRAMMING
1026 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
14730 Vampiric Powers, anyone? bitmasks brute force data structures dp greedy Statement C Codeforces Round 882 (Div. 2) {1847} PROGRAMMING 1500.0 Tutorial
22257 Hamon Odyssey bitmasks greedy implementation Statement B Codeforces Round 882 (Div. 2) {1847} PROGRAMMING 1000.0 Tutorial
4254 Professor Higashikata brute force data structures dsu greedy implementation sortings Statement D Codeforces Round 882 (Div. 2) {1847} PROGRAMMING 2000.0 Tutorial
22890 The Man who became a God greedy sortings Statement A Codeforces Round 882 (Div. 2) {1847} PROGRAMMING 500.0 Tutorial
24201 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
7147 Vika and Price Tags greedy math number theory Statement C Codeforces Round 885 (Div. 2) {1848} PROGRAMMING 1500.0 Codeforces Round #885 (Div.2) Editorial
877 XOR Partition binary search bitmasks data structures divide and conquer greedy trees Statement F Educational Codeforces Round 152 (Rated for Div. 2) {1849} PROGRAMMING 118752
10281 Array Painting brute force constructive algorithms dp greedy Statement D Educational Codeforces Round 152 (Rated for Div. 2) {1849} PROGRAMMING 118752
44011 Monsters greedy sortings Statement B Educational Codeforces Round 152 (Rated for Div. 2) {1849} PROGRAMMING 118752
60275 Balanced Round brute force greedy implementation sortings Statement D Codeforces Round 886 (Div. 4) {1850} PROGRAMMING Codeforces Round #886 (Div. 4) 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
7373 Lisa and the Martians bitmasks data structures greedy math sortings strings trees Statement F Codeforces Round 888 (Div. 3) {1851} PROGRAMMING 118667
13247 Nastya and Potions dfs and similar dp graphs greedy shortest paths sortings Statement E Codeforces Round 888 (Div. 3) {1851} PROGRAMMING 118667
25840 Tiles Comeback greedy implementation Statement C Codeforces Round 888 (Div. 3) {1851} PROGRAMMING 118667
600 Miriany and Matchstick constructive algorithms dp greedy Statement D Codeforces Round 887 (Div. 1) {1852} PROGRAMMING 2000.0 Codeforces Round 887 (Div 1, Div 2) Tutorial
5445 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
2088 Ina of the Mountain data structures dp greedy math Statement C Codeforces Round 887 (Div. 1) {1852} PROGRAMMING 1250.0 Codeforces Round 887 (Div 1, Div 2) Tutorial
55512 Desorting brute force greedy Statement A Codeforces Round 887 (Div. 2) {1853} PROGRAMMING 500.0 Codeforces Round 887 (Div 1, Div 2) Tutorial
44554 Longest Divisors Interval brute force combinatorics greedy math number theory Statement B Codeforces Round 889 (Div. 2) {1855} PROGRAMMING 1000.0 Editorial of Codeforces Round 889 (Div. 1 + Div. 2)
5448 Counting Graphs combinatorics divide and conquer dsu graphs greedy sortings Statement G Codeforces Round 891 (Div. 3) {1857} PROGRAMMING 119134
24684 Maximum Rounding greedy implementation math Statement B Codeforces Round 891 (Div. 3) {1857} PROGRAMMING 119134
78162 Array Coloring greedy math Statement A Codeforces Round 891 (Div. 3) {1857} PROGRAMMING 119134
41427 Assembly via Minimums greedy sortings Statement C Codeforces Round 891 (Div. 3) {1857} PROGRAMMING 119134
12999 The Walkway brute force greedy implementation math number theory Statement B Codeforces Round 893 (Div. 2) {1858} PROGRAMMING 1250.0 Codeforces Round #893 (Div. 2) Editorial 1500
3185 Trees and Segments binary search brute force constructive algorithms data structures dp greedy two pointers Statement D Codeforces Round 893 (Div. 2) {1858} PROGRAMMING 2000.0 Codeforces Round #893 (Div. 2) Editorial 2200
65597 Buttons games greedy math Statement A Codeforces Round 893 (Div. 2) {1858} PROGRAMMING 500.0 Codeforces Round #893 (Div. 2) Editorial 800
7977 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.
18616 Another Permutation Problem brute force dp greedy math Statement C Codeforces Round 892 (Div. 2) {1859} PROGRAMMING 1250.0 Video solutions from Geothermal.
43578 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.
18834 Fancy Coins binary search brute force greedy math Statement B Educational Codeforces Round 153 (Rated for Div. 2) {1860} PROGRAMMING Educational Codeforces Round 153 Editorial
15526 Game on Permutation data structures games greedy Statement C Educational Codeforces Round 153 (Rated for Div. 2) {1860} PROGRAMMING Educational Codeforces Round 153 Editorial
23970 Two Binary Strings constructive algorithms dfs and similar greedy Statement B Educational Codeforces Round 154 (Rated for Div. 2) {1861} PROGRAMMING Educational Codeforces Round 154 Editorial
7928 Sorting By Multiplication dp greedy math Statement D Educational Codeforces Round 154 (Rated for Div. 2) {1861} PROGRAMMING Educational Codeforces Round 154 Editorial
12750 Kolya and Movie Theatre constructive algorithms data structures greedy Statement E Codeforces Round 894 (Div. 3) {1862} PROGRAMMING Tutorial
36201 Gift Carpet greedy implementation strings Statement A Codeforces Round 894 (Div. 3) {1862} PROGRAMMING Tutorial
10750 Two-Colored Dominoes constructive algorithms greedy Statement D Pinely Round 2 (Div. 1 + Div. 2) {1863} PROGRAMMING 1250.0
18865 Channel greedy implementation Statement A Pinely Round 2 (Div. 1 + Div. 2) {1863} PROGRAMMING 500.0
16796 Split Sort greedy math sortings Statement B Pinely Round 2 (Div. 1 + Div. 2) {1863} PROGRAMMING 750.0
7614 Matrix Cascade brute force constructive algorithms dp greedy Statement D Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) {1864} PROGRAMMING 1500.0 Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) Editorial
105 Future Dominators graphs greedy Statement I Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) {1864} PROGRAMMING 4250.0 Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) Editorial
16586 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
2164 Grouped Carriages binary search data structures greedy Statement G COMPFEST 15 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1866} PROGRAMMING COMPFEST 15 Preliminary — Editorial
1561 Digital Wallet dp greedy Statement D COMPFEST 15 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1866} PROGRAMMING COMPFEST 15 Preliminary — Editorial
508 Most Different Tree brute force constructive algorithms dfs and similar greedy hashing Statement F Codeforces Round 897 (Div. 2) {1867} PROGRAMMING 4000.0
12654 Salyg1n and the MEX Game constructive algorithms data structures games greedy interactive Statement C Codeforces Round 897 (Div. 2) {1867} PROGRAMMING 1250.0
6863 Cyclic Operations constructive algorithms dfs and similar graphs greedy implementation Statement D Codeforces Round 897 (Div. 2) {1867} PROGRAMMING 2000.0
2739 Candy Party (Hard Version) bitmasks constructive algorithms dp graphs greedy implementation math Statement B2 Codeforces Round 896 (Div. 1) {1868} PROGRAMMING 750.0 Codeforces Round 896 (Div. 1, Div. 2) Editorial
8299 Candy Party (Easy Version) bitmasks constructive algorithms graphs greedy implementation math Statement B1 Codeforces Round 896 (Div. 1) {1868} PROGRAMMING 500.0 Codeforces Round 896 (Div. 1, Div. 2) Editorial
96 LIS? data structures greedy implementation Statement F Codeforces Round 896 (Div. 1) {1868} PROGRAMMING 3000.0 Codeforces Round 896 (Div. 1, Div. 2) Editorial
111 Min-Sum-Max dp greedy Statement E Codeforces Round 896 (Div. 1) {1868} PROGRAMMING 2500.0 Codeforces Round 896 (Div. 1, Div. 2) Editorial
8010 Prefix Purchase binary search data structures greedy Statement D CodeTON Round 6 (Div. 1 + Div. 2, Rated, Prizes!) {1870} PROGRAMMING 1750.0 CodeTON Round 6 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
16065 Friendly Arrays bitmasks greedy math Statement B CodeTON Round 6 (Div. 1 + Div. 2, Rated, Prizes!) {1870} PROGRAMMING 750.0 CodeTON Round 6 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
20190 MEXanized Array constructive algorithms greedy math Statement A CodeTON Round 6 (Div. 1 + Div. 2, Rated, Prizes!) {1870} PROGRAMMING 500.0 CodeTON Round 6 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
121 Standard Graph Problem data structures graphs greedy trees Statement H CodeTON Round 6 (Div. 1 + Div. 2, Rated, Prizes!) {1870} PROGRAMMING 4000.0 CodeTON Round 6 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
43067 Two Vessels greedy math Statement A Codeforces Round 895 (Div. 3) {1872} PROGRAMMING Codeforces Round 895 (Div. 3) Editorial
62329 Good Kid brute force brute force brute force greedy math Statement B Codeforces Round 898 (Div. 4) {1873} PROGRAMMING 120634
16765 ABBC or BACB greedy Statement G Codeforces Round 898 (Div. 4) {1873} PROGRAMMING 120634
19617 Money Trees greedy greedy greedy math two pointers Statement F Codeforces Round 898 (Div. 4) {1873} PROGRAMMING 120634
42854 1D Eraser greedy implementation Statement D Codeforces Round 898 (Div. 4) {1873} PROGRAMMING 120634
19343 Jellyfish and Game brute force greedy implementation Statement A Codeforces Round 901 (Div. 1) {1874} PROGRAMMING 500.0 Codeforces Round 901 (Div. 1, Div. 2) Editorial
2169 Jellyfish and EVA dp graphs greedy math probabilities Statement C Codeforces Round 901 (Div. 1) {1874} PROGRAMMING 1500.0 Codeforces Round 901 (Div. 1, Div. 2) Editorial
13852 Jellyfish and Green Apple bitmasks greedy math number theory Statement C Codeforces Round 901 (Div. 2) {1875} PROGRAMMING 1000.0 Codeforces Round 901 (Div. 1, Div. 2) Editorial
46553 Jellyfish and Undertale greedy Statement A Codeforces Round 901 (Div. 2) {1875} PROGRAMMING 500.0 Codeforces Round 901 (Div. 1, Div. 2) Editorial
276 Clubstep binary search brute force data structures greedy trees Statement G Codeforces Round 902 (Div. 1, based on COMPFEST 15 - Final Round) {1876} PROGRAMMING 3250.0 Codeforces Round #902 (Div. 1, Div. 2, based on COMPFEST 15 — Final Round) Editorial
34620 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
20662 Iva & Pav binary search bitmasks data structures greedy Statement E Codeforces Round 900 (Div. 3) {1878} PROGRAMMING Codeforces round #900 (Div.3) Editorial
10058 Reverse Madness data structures greedy Statement D Codeforces Round 900 (Div. 3) {1878} PROGRAMMING Codeforces round #900 (Div.3) Editorial
77850 How Much Does Daytona Cost? greedy Statement A Codeforces Round 900 (Div. 3) {1878} PROGRAMMING Codeforces round #900 (Div.3) Editorial
26890 Make it Alternating combinatorics dp greedy Statement C Educational Codeforces Round 155 (Rated for Div. 2) {1879} PROGRAMMING 120773 1300
24487 Rigged! greedy Statement A Educational Codeforces Round 155 (Rated for Div. 2) {1879} PROGRAMMING 120773 800
25033 Chips on the Board constructive algorithms greedy Statement B Educational Codeforces Round 155 (Rated for Div. 2) {1879} PROGRAMMING 120773 900
17390 Sets and Union bitmasks brute force constructive algorithms greedy Statement B Codeforces Round 899 (Div. 2) {1882} PROGRAMMING 1000.0 Codeforces Round 899 (Div. 2) Editorial
7063 Tree XOR bitmasks dfs and similar dp greedy trees Statement D Codeforces Round 899 (Div. 2) {1882} PROGRAMMING 2000.0 Codeforces Round 899 (Div. 2) Editorial
1209 Two Permutations (Easy Version) brute force constructive algorithms greedy number theory Statement E1 Codeforces Round 899 (Div. 2) {1882} PROGRAMMING 2000.0 Codeforces Round 899 (Div. 2) Editorial
14426 Card Game dp greedy Statement C Codeforces Round 899 (Div. 2) {1882} PROGRAMMING 1500.0 Codeforces Round 899 (Div. 2) Editorial
27304 Increasing Sequence greedy Statement A Codeforces Round 899 (Div. 2) {1882} PROGRAMMING 500.0 Codeforces Round 899 (Div. 2) Editorial
9888 Look Back bitmasks greedy Statement E Codeforces Round 905 (Div. 3) {1883} PROGRAMMING 2500.0 Codeforces Round #905 (Div. 1, Div. 2, Div. 3) Editorial
19131 Simple Design brute force constructive algorithms greedy math Statement A Codeforces Round 904 (Div. 2) {1884} PROGRAMMING 500.0 Codeforces Round #904 (Div. 2) Editorial
14673 Haunted House greedy math two pointers Statement B Codeforces Round 904 (Div. 2) {1884} PROGRAMMING 1000.0 Codeforces Round #904 (Div. 2) Editorial
245 Diamond Theft data structures greedy Statement F Educational Codeforces Round 156 (Rated for Div. 2) {1886} PROGRAMMING Educational Codeforces Round 156 Editorial
3901 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
15269 Qingshan Loves Strings 2 constructive algorithms greedy Statement A Codeforces Round 906 (Div. 1) {1889} PROGRAMMING 750.0 Codeforces Round 906 Editorial
8598 Doremy's Connecting Plan greedy sortings Statement B Codeforces Round 906 (Div. 1) {1889} PROGRAMMING 1250.0 Codeforces Round 906 Editorial
1079 Brukhovich and Exams brute force greedy math sortings Statement E Codeforces Round 907 (Div. 2) {1891} PROGRAMMING 2000.0
20201 Smilo and Monsters constructive algorithms greedy sortings two pointers Statement C Codeforces Round 907 (Div. 2) {1891} PROGRAMMING 1000.0
3186 Freedom of Choice brute force greedy implementation Statement C Codeforces Round 908 (Div. 1) {1893} PROGRAMMING 1250.0 Codeforces Round 908 (Div. 1, Div, 2) Editorial
1086 Colorful Constructive constructive algorithms greedy math Statement D Codeforces Round 908 (Div. 1) {1893} PROGRAMMING 2250.0 Codeforces Round 908 (Div. 1, Div, 2) Editorial
11409 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
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
21557 Points and Minimum Distance greedy math sortings Statement B Educational Codeforces Round 157 (Rated for Div. 2) {1895} PROGRAMMING Educational Codeforces Round 157 Editorial
11571 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
18359 AB Flipping greedy strings Statement B CodeTON Round 7 (Div. 1 + Div. 2, Rated, Prizes!) {1896} PROGRAMMING 1000.0 CodeTON Round 7 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
2710 Sofia and Strings data structures greedy strings Statement E Codeforces Round 910 (Div. 2) {1898} PROGRAMMING 2000.0 Editorial for Codeforces Round #910 (Div. 2)
14577 Milena and Admirer greedy math Statement B Codeforces Round 910 (Div. 2) {1898} PROGRAMMING 1250.0 Editorial for Codeforces Round #910 (Div. 2)
6600 Absolute Beauty greedy math Statement D Codeforces Round 910 (Div. 2) {1898} PROGRAMMING 1750.0 Editorial for Codeforces Round #910 (Div. 2)
18202 Queue Sort greedy implementation sortings Statement E Codeforces Round 909 (Div. 3) {1899} PROGRAMMING Разбор Codeforces Round 909 (Div. 3)
34553 Yarik and Array greedy two pointers Statement C Codeforces Round 909 (Div. 3) {1899} PROGRAMMING Разбор Codeforces Round 909 (Div. 3)
8561 Yet Another Monster Fight binary search greedy implementation math Statement D Educational Codeforces Round 158 (Rated for Div. 2) {1901} PROGRAMMING Educational Codeforces Round 158 Editorial
14198 Add, Divide and Floor constructive algorithms greedy math Statement C Educational Codeforces Round 158 (Rated for Div. 2) {1901} PROGRAMMING Educational Codeforces Round 158 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
16901 Chip and Ribbon greedy math Statement B Educational Codeforces Round 158 (Rated for Div. 2) {1901} PROGRAMMING Educational Codeforces Round 158 Editorial
16915 Insert and Equalize brute force constructive algorithms greedy math number theory Statement C Educational Codeforces Round 159 (Rated for Div. 2) {1902} PROGRAMMING Educational Codeforces Round 159 Editorial
7083 Maximum And Queries (easy version) binary search bitmasks brute force greedy Statement D1 Codeforces Round 912 (Div. 2) {1903} PROGRAMMING 1500.0 Codeforces Round #912 (Div. 2) Editorial
14805 StORage room bitmasks brute force constructive algorithms greedy Statement B Codeforces Round 912 (Div. 2) {1903} PROGRAMMING 1000.0 Codeforces Round #912 (Div. 2) Editorial
78513 Halloumi Boxes brute force greedy Statement A Codeforces Round 912 (Div. 2) {1903} PROGRAMMING 500.0 Codeforces Round #912 (Div. 2) Editorial
2503 Geo Game constructive algorithms dp games greedy interactive math Statement E Codeforces Round 912 (Div. 2) {1903} PROGRAMMING 2250.0 Codeforces Round #912 (Div. 2) Editorial
14426 Theofanis' Nightmare constructive algorithms dp greedy Statement C Codeforces Round 912 (Div. 2) {1903} PROGRAMMING 1500.0 Codeforces Round #912 (Div. 2) Editorial
5666 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
27636 Collecting Game binary search dp greedy two pointers Statement B Codeforces Round 914 (Div. 2) {1904} PROGRAMMING 750.0 Codeforces Round 914 (Div. 2) Editorial
8586 Set To Max (Easy Version) brute force constructive algorithms greedy Statement D1 Codeforces Round 914 (Div. 2) {1904} PROGRAMMING 1250.0 Codeforces Round 914 (Div. 2) Editorial
14175 Largest Subsequence data structures greedy strings Statement C Codeforces Round 915 (Div. 2) {1905} PROGRAMMING 1500.0 Codeforces Round 915 (Div. 2) Editorial
18554 Begginer's Zelda greedy trees Statement B Codeforces Round 915 (Div. 2) {1905} PROGRAMMING 1000.0 Codeforces Round 915 (Div. 2) Editorial
3444 Triangle Construction greedy Statement M 2023-2024 ICPC, Asia Jakarta Regional Contest (Online Mirror, Unrated, ICPC Rules, Teams Preferred) {1906} PROGRAMMING problem_analysis.pdf
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
23083 Removal of Unattractive Pairs constructive algorithms greedy math strings Statement C Codeforces Round 913 (Div. 3) {1907} PROGRAMMING Codeforces Round 913 (Div. 3) Editorial
5981 Shift and Reverse greedy sortings Statement F Codeforces Round 913 (Div. 3) {1907} PROGRAMMING Codeforces Round 913 (Div. 3) Editorial
13137 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)
5108 Split Plus K greedy math number theory Statement D Pinely Round 3 (Div. 1 + Div. 2) {1909} PROGRAMMING 2000.0 Editorial of Pinely Round 3 (Div. 1 + Div. 2)
802 Security Guard *special greedy Statement B Kotlin Heroes: Episode 9 (Unrated, T-Shirts + Prizes!) {1910} PROGRAMMING 123261
406 Remove and Add *special greedy Statement D Kotlin Heroes: Episode 9 (Unrated, T-Shirts + Prizes!) {1910} PROGRAMMING 123261
71 Pool Records *special greedy Statement G Kotlin Heroes: Episode 9 (Unrated, T-Shirts + Prizes!) {1910} PROGRAMMING 123261
217 Build Railway Stations *special greedy trees Statement F Kotlin Heroes: Episode 9 (Unrated, T-Shirts + Prizes!) {1910} PROGRAMMING 123261
17451 Game with Multiset binary search bitmasks greedy Statement C Educational Codeforces Round 160 (Rated for Div. 2) {1913} PROGRAMMING 123493
14204 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
4979 Programming Competition dfs and similar greedy trees Statement F Codeforces Round 916 (Div. 3) {1914} PROGRAMMING Codeforces Round 916 (Div. 3) Editorial
14707 Game with Marbles (Hard Version) games greedy sortings Statement E2 Codeforces Round 916 (Div. 3) {1914} PROGRAMMING Codeforces Round 916 (Div. 3) Editorial
39186 Quests greedy math Statement C Codeforces Round 916 (Div. 3) {1914} PROGRAMMING Codeforces Round 916 (Div. 3) Editorial
34259 Romantic Glasses data structures greedy math Statement E Codeforces Round 918 (Div. 4) {1915} PROGRAMMING 123952
9594 Bicycles dp graphs greedy implementation shortest paths sortings Statement G Codeforces Round 918 (Div. 4) {1915} PROGRAMMING 123952
34985 Unnatural Language Processing dp greedy implementation strings Statement D Codeforces Round 918 (Div. 4) {1915} PROGRAMMING 123952
12341 Watering an Array brute force greedy implementation math Statement C Codeforces Round 917 (Div. 2) {1917} PROGRAMMING 1500.0 Editorial of Codeforces Round 917 (Div. 2)
6142 Blocking Elements binary search data structures dp greedy implementation two pointers Statement D Codeforces Round 922 (Div. 2) {1918} PROGRAMMING 2000.0 Codeforces Round #922 (Div. 2) Editorial
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
16586 XOR-distance bitmasks dp greedy implementation math Statement C Codeforces Round 922 (Div. 2) {1918} PROGRAMMING 1250.0 Codeforces Round #922 (Div. 2) Editorial
26939 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
32303 Brick Wall constructive algorithms greedy implementation math Statement A Codeforces Round 922 (Div. 2) {1918} PROGRAMMING 500.0 Codeforces Round #922 (Div. 2) Editorial
28383 Grouping Increases data structures dp greedy Statement C Hello 2024 {1919} PROGRAMMING 1000.0 1400
4555 01 Tree data structures divide and conquer greedy implementation sortings trees Statement D Hello 2024 {1919} PROGRAMMING 1500.0 2100
31627 Plus-Minus Split greedy Statement B Hello 2024 {1919} PROGRAMMING 500.0 800
29517 Satisfying Constraints brute force greedy math schedules Statement A Codeforces Round 919 (Div. 2) {1920} PROGRAMMING 500.0 Editorial for Codeforces Round #919 (Div. 2)
23083 Summation Game dp games greedy sortings Statement B Codeforces Round 919 (Div. 2) {1920} PROGRAMMING 1000.0 Editorial for Codeforces Round #919 (Div. 2)
11378 Eat the Chip brute force games greedy Statement E Codeforces Round 920 (Div. 3) {1921} PROGRAMMING Editorial for Codeforces Round 920 (Div. 3)
36507 Arranging Cats greedy implementation Statement B Codeforces Round 920 (Div. 3) {1921} PROGRAMMING Editorial for Codeforces Round 920 (Div. 3)
49442 Square greedy math Statement A Codeforces Round 920 (Div. 3) {1921} PROGRAMMING Editorial for Codeforces Round 920 (Div. 3)
32546 Sending Messages greedy math Statement C Codeforces Round 920 (Div. 3) {1921} PROGRAMMING Editorial for Codeforces Round 920 (Div. 3)
24178 Very Different Array greedy sortings two pointers Statement D Codeforces Round 920 (Div. 3) {1921} PROGRAMMING Editorial for Codeforces Round 920 (Div. 3)
6755 Berserk Monsters data structures dfs and similar greedy implementation Statement D Educational Codeforces Round 161 (Rated for Div. 2) {1922} PROGRAMMING Educational Codeforces Round 161 Editorial
21940 Closest Cities greedy Statement C Educational Codeforces Round 161 (Rated for Div. 2) {1922} PROGRAMMING Educational Codeforces Round 161 Editorial