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.

Get exact match for tags using this format, eg: [u'brute force', 'dp']

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
27521 Donut Shops greedy implementation math Statement A Educational Codeforces Round 90 (Rated for Div. 2) {1373} PROGRAMMING Educational Codeforces Round 90 Editorial
22384 Captain Flint and a Long Voyage greedy math Statement B Codeforces Round 660 (Div. 2) {1388} PROGRAMMING 1000.0 Codeforces Round #660 Editorial 1000
20591 Rainbow Dash, Fluttershy and Chess Coloring greedy math Statement A Codeforces Round 662 (Div. 2) {1393} PROGRAMMING 500.0 Codeforces Round #662 Editorial
21732 Subset Mex greedy implementation math Statement A Codeforces Round 670 (Div. 2) {1406} PROGRAMMING 500.0 Codeforces Round #670 (Div. 2) Editorial
19770 Decrease the Sum of Digits greedy math Statement D Codeforces Round 667 (Div. 3) {1409} PROGRAMMING Codeforces Round #667 (Div. 3) Editorial
1675 Poman Numbers greedy implementation math Statement E Technocup 2021 - Elimination Round 3 {1411} PROGRAMMING 2250.0 Technocup 2021 Elimination Round 3 and Round #692 (Div. 1 + Div. 2) Editorial
18345 Copy-paste greedy math Statement A Codeforces Round 673 (Div. 2) {1417} PROGRAMMING 500.0 Codeforces Round #673 Editorial 800
15601 Killjoy greedy implementation math Statement C Codeforces Round 671 (Div. 2) {1419} PROGRAMMING 1250.0 Codeforces Round #671 Editorial
19920 Sum of Medians greedy math Statement B Codeforces Round 684 (Div. 2) {1440} PROGRAMMING 1000.0 Codeforces Round #684[Div1 and Div2] Editorial
17557 Numbers Box greedy math Statement B Codeforces Round 683 (Div. 2, by Meet IT) {1447} PROGRAMMING 1000.0 Meet IT Codeforces Round Editorial
24418 Subtract or Divide greedy math Statement A Codeforces Round 685 (Div. 2) {1451} PROGRAMMING 500.0 Editorial — Codeforces Round #685
24565 Wizard of Orz greedy math Statement A Codeforces Round 695 (Div. 2) {1467} PROGRAMMING 500.0 Codeforces Round #695 (Div. 2) Editorial 900
42645 Cards for Friends greedy math Statement A Codeforces Round 693 (Div. 3) {1472} PROGRAMMING Codeforces Round #693 (Div. 3) Editorial
31463 Dense Array greedy math Statement A Codeforces Round 702 (Div. 3) {1490} PROGRAMMING Codeforces Round #702 (Div. 3) Editorial
10661 Permutation by Sum greedy math Statement E Codeforces Round 713 (Div. 3) {1512} PROGRAMMING Codeforces Round #713 (Div. 3) Editorial
25758 Sum of 2050 greedy math Statement A Contest 2050 and Codeforces Round 718 (Div. 1 + Div. 2) {1517} PROGRAMMING 500.0 Contest 2050 and Codeforces Round #718 (Div.1 + Div.2) Editorial
12572 Histogram Ugliness greedy implementation math Statement B Codeforces LATOKEN Round 1 (Div. 1 + Div. 2) {1534} PROGRAMMING 1000.0 Codeforces LATOKEN Round 1 (Div. 1 + Div. 2) Editorial
28208 Challenging Cliffs greedy implementation math Statement C Codeforces Round 726 (Div. 2) {1537} PROGRAMMING 1000.0 Codeforces Round #726 (Div.2) Editorial
37992 Arithmetic Array greedy math Statement A Codeforces Round 726 (Div. 2) {1537} PROGRAMMING 500.0 Codeforces Round #726 (Div.2) Editorial
28406 Find The Array greedy math Statement A Educational Codeforces Round 111 (Rated for Div. 2) {1550} PROGRAMMING Educational Codeforces Round 111 Editorial
26908 Maximum Cost Deletion greedy math Statement B Educational Codeforces Round 111 (Rated for Div. 2) {1550} PROGRAMMING Educational Codeforces Round 111 Editorial
25775 The Miracle and the Sleeper greedy math Statement A Codeforces Round 741 (Div. 2) {1562} PROGRAMMING 500.0 Editorial of Codeforces Round 741 (Div. 2)
23757 Median Maximization greedy math Statement A Codeforces Global Round 16 {1566} PROGRAMMING 500.0 Codeforces Global Round 16 Editorial
14839 Swaps greedy math Statement B Codeforces Round 743 (Div. 2) {1573} PROGRAMMING 1000.0 Tutorial 1400
5097 Minimize Distance greedy math Statement C Codeforces Round 759 (Div. 2, based on Technocup 2022 Elimination Round 3) {1591} PROGRAMMING 1500.0 Codeforces Round #759 (Div. 2, based on Technocup 2022 Elimination Round 3) Editorial
20913 Closing The Gap greedy math Statement A Codeforces Global Round 18 {1615} PROGRAMMING 250.0 Global Round 18 Editorial
15220 Paprika and Permutation greedy math Statement C Codeforces Round 761 (Div. 2) {1617} PROGRAMMING 1500.0 Editorial for Codeforces Round #761 (Div. 2)
21617 Reverse greedy math Statement A Codeforces Round 771 (Div. 2) {1638} PROGRAMMING 500.0 Codeforces Round #771 Editorial
18515 Array Balancing greedy math Statement A Educational Codeforces Round 126 (Rated for Div. 2) {1661} PROGRAMMING Educational Codeforces Round 126 Editorial
36265 Odd/Even Increments greedy greedy implementation math Statement C Codeforces Round 784 (Div. 4) {1669} PROGRAMMING 102101 800
21898 Difference Operations greedy math Statement A Codeforces Round 808 (Div. 2) {1708} PROGRAMMING 500.0 104930
33454 2-3 Moves greedy math Statement A Educational Codeforces Round 133 (Rated for Div. 2) {1716} PROGRAMMING 105653
14869 Madoka and Formal Statement greedy math Statement C Codeforces Round 818 (Div. 2) {1717} PROGRAMMING 1500.0 Codeforces Round #818 (Div. 2) Editorial. 1300
23276 Mainak and Array greedy math Statement A Codeforces Round 819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 {1726} PROGRAMMING 500.0 Codeforces Round #819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 Editorial
22798 Joey Takes Money greedy math Statement A Codeforces Round 841 (Div. 2) and Divide by Zero 2022 {1731} PROGRAMMING 500.0 Codeforces Round #841 (Div. 2) and Divide By Zero 2022 Editorial
19216 Kill Demodogs greedy math Statement B Codeforces Round 841 (Div. 2) and Divide by Zero 2022 {1731} PROGRAMMING 1000.0 Codeforces Round #841 (Div. 2) and Divide By Zero 2022 Editorial
19802 Removing Smallest Multiples greedy math Statement C Codeforces Round 822 (Div. 2) {1734} PROGRAMMING 1250.0 Codeforces Round #822 (Div.2) Editorial
18423 Tea with Tangerines greedy math Statement B Codeforces Round 824 (Div. 2) {1735} PROGRAMMING 750.0 Codeforces Round #824 — editorial
13175 Factorial Divisibility greedy math Statement B Codeforces Round 829 (Div. 1) {1753} PROGRAMMING 750.0 Tutorial 1600
23664 Quick Sort greedy math Statement B Codeforces Round 842 (Div. 2) {1768} PROGRAMMING 1000.0 Codeforces Round #842 (Div. 2) Editorial
24306 Different Differences greedy math Statement C Codeforces Round 839 (Div. 3) {1772} PROGRAMMING 110313
26485 Everybody Likes Good Arrays! greedy math Statement A Codeforces Round 845 (Div. 2) and ByteRace 2023 {1777} PROGRAMMING 500.0 Codeforces Round #845 (Div. 2) and ByteRace 2023 Editorial
17860 Emordnilap greedy math Statement B Codeforces Round 845 (Div. 2) and ByteRace 2023 {1777} PROGRAMMING 1000.0 Codeforces Round #845 (Div. 2) and ByteRace 2023 Editorial
13542 The Forbidden Permutation greedy math Statement B Codeforces Round 848 (Div. 2) {1778} PROGRAMMING 1000.0 Codeforces Round #848 (Div. 2) Editorial
27762 Taisia and Dice greedy greedy math Statement B Codeforces Round 847 (Div. 3) {1790} PROGRAMMING 111948
21944 Stand-up Comedian greedy math Statement B Educational Codeforces Round 142 (Rated for Div. 2) {1792} PROGRAMMING 111835
18211 Yet Another Promotion greedy math Statement A Codeforces Round 852 (Div. 2) {1793} PROGRAMMING 500.0 Codeforces Round #852 Editorial
18084 Lame King greedy math Statement A Nebius Welcome Round (Div. 1 + Div. 2) {1804} PROGRAMMING 500.0 Nebius Welcome Round Editorial
14526 Ian and Array Sorting greedy implementation math Statement A Codeforces Round 865 (Div. 1) {1815} PROGRAMMING 500.0 Editorial of Codeforces Round #865 1300
25309 Karina and Array greedy math Statement B Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
14980 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
26609 Unit Array greedy math Statement A Codeforces Round 879 (Div. 2) {1834} PROGRAMMING 500.0 Codeforces Round #879 Editorial
15629 Maximum Strength greedy math Statement B Codeforces Round 879 (Div. 2) {1834} PROGRAMMING 1000.0 Codeforces Round #879 Editorial
12848 Astrophysicists greedy math Statement B Codeforces Round 880 (Div. 2) {1836} PROGRAMMING 1000.0 Codeforces Round 880 Editorial
17666 The Good Array greedy math Statement A Codeforces Round 876 (Div. 2) {1839} PROGRAMMING 500.0 Codeforces Round #876 (Div. 2) Editorial
29604 Long Long greedy math Statement B Codeforces Round 881 (Div. 3) {1843} PROGRAMMING Codeforces Round #881 (Div. 3) Editorial
23385 Maximum Rounding greedy implementation math Statement B Codeforces Round 891 (Div. 3) {1857} PROGRAMMING 119134
51521 Array Coloring greedy math Statement A Codeforces Round 891 (Div. 3) {1857} PROGRAMMING 119134
39893 Two Vessels greedy math Statement A Codeforces Round 895 (Div. 3) {1872} PROGRAMMING Codeforces Round 895 (Div. 3) Editorial
12469 Milena and Admirer greedy math Statement B Codeforces Round 910 (Div. 2) {1898} PROGRAMMING 1250.0 Editorial for Codeforces Round #910 (Div. 2)
5469 Absolute Beauty greedy math Statement D Codeforces Round 910 (Div. 2) {1898} PROGRAMMING 1750.0 Editorial for Codeforces Round #910 (Div. 2)
15371 Chip and Ribbon greedy math Statement B Educational Codeforces Round 158 (Rated for Div. 2) {1901} PROGRAMMING Educational Codeforces Round 158 Editorial
25897 Quests greedy math Statement C Codeforces Round 916 (Div. 3) {1914} PROGRAMMING Codeforces Round 916 (Div. 3) Editorial
44495 Square greedy math Statement A Codeforces Round 920 (Div. 3) {1921} PROGRAMMING Editorial for Codeforces Round 920 (Div. 3)
30058 Sending Messages greedy math Statement C Codeforces Round 920 (Div. 3) {1921} PROGRAMMING Editorial for Codeforces Round 920 (Div. 3)
30915 Rudolf and 121 greedy math Statement B Codeforces Round 933 (Div. 3) {1941} PROGRAMMING 127018
28308 Setting up Camp greedy math Statement A Codeforces Round 935 (Div. 3) {1945} PROGRAMMING 127377
21010 Maximum Sum greedy math Statement B Codeforces Round 936 (Div. 2) {1946} PROGRAMMING 1000.0 Codeforces Round #936 (Div. 2) Editorial
20400 Dual Trigger greedy math Statement A Codeforces Global Round 25 {1951} PROGRAMMING 500.0 Codeforces Global Round 25 Editorial
20134 Long Multiplication greedy math Statement C Educational Codeforces Round 164 (Rated for Div. 2) {1954} PROGRAMMING Educational Codeforces Round 164 Editorial
21929 Inhabitant of the Deep Sea greedy implementation math Statement C Codeforces Round 938 (Div. 3) {1955} PROGRAMMING 128243
34028 Phone Desktop greedy math Statement A Codeforces Round 946 (Div. 3) {1974} PROGRAMMING Codeforces Round #946 (Div. 3) Editorial 800
25994 Upload More RAM greedy math Statement A EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) {1987} PROGRAMMING 250.0 EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) Editorial
11585 Turtle and a MEX Problem (Easy Version) greedy math Statement D1 Codeforces Round 968 (Div. 2) {2003} PROGRAMMING 1000.0
14704 Bus to Pénjamo greedy implementation math Statement A Codeforces Round 978 (Div. 2) {2022} PROGRAMMING 750.0
11054 Kar Salesman greedy math Statement B Codeforces Round 978 (Div. 2) {2022} PROGRAMMING 1000.0
33529 Hard Problem greedy math Statement C Codeforces Round 993 (Div. 4) {2044} PROGRAMMING
2670 Joker greedy math Statement F Codeforces Round 995 (Div. 3) {2051} PROGRAMMING