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
27206 Donut Shops greedy implementation math Statement A Educational Codeforces Round 90 (Rated for Div. 2) {1373} PROGRAMMING Educational Codeforces Round 90 Editorial
22329 Captain Flint and a Long Voyage greedy math Statement B Codeforces Round 660 (Div. 2) {1388} PROGRAMMING 1000.0 Codeforces Round #660 Editorial 1000
20540 Rainbow Dash, Fluttershy and Chess Coloring greedy math Statement A Codeforces Round 662 (Div. 2) {1393} PROGRAMMING 500.0 Codeforces Round #662 Editorial
21556 Subset Mex greedy implementation math Statement A Codeforces Round 670 (Div. 2) {1406} PROGRAMMING 500.0 Codeforces Round #670 (Div. 2) Editorial
19538 Decrease the Sum of Digits greedy math Statement D Codeforces Round 667 (Div. 3) {1409} PROGRAMMING Codeforces Round #667 (Div. 3) Editorial
1662 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
18300 Copy-paste greedy math Statement A Codeforces Round 673 (Div. 2) {1417} PROGRAMMING 500.0 Codeforces Round #673 Editorial 800
15469 Killjoy greedy implementation math Statement C Codeforces Round 671 (Div. 2) {1419} PROGRAMMING 1250.0 Codeforces Round #671 Editorial
19274 Sum of Medians greedy math Statement B Codeforces Round 684 (Div. 2) {1440} PROGRAMMING 1000.0 Codeforces Round #684[Div1 and Div2] Editorial
16962 Numbers Box greedy math Statement B Codeforces Round 683 (Div. 2, by Meet IT) {1447} PROGRAMMING 1000.0 Meet IT Codeforces Round Editorial
24322 Subtract or Divide greedy math Statement A Codeforces Round 685 (Div. 2) {1451} PROGRAMMING 500.0 Editorial — Codeforces Round #685
24402 Wizard of Orz greedy math Statement A Codeforces Round 695 (Div. 2) {1467} PROGRAMMING 500.0 Codeforces Round #695 (Div. 2) Editorial 900
42199 Cards for Friends greedy math Statement A Codeforces Round 693 (Div. 3) {1472} PROGRAMMING Codeforces Round #693 (Div. 3) Editorial
31287 Dense Array greedy math Statement A Codeforces Round 702 (Div. 3) {1490} PROGRAMMING Codeforces Round #702 (Div. 3) Editorial
10561 Permutation by Sum greedy math Statement E Codeforces Round 713 (Div. 3) {1512} PROGRAMMING Codeforces Round #713 (Div. 3) Editorial
25613 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
12528 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
27861 Challenging Cliffs greedy implementation math Statement C Codeforces Round 726 (Div. 2) {1537} PROGRAMMING 1000.0 Codeforces Round #726 (Div.2) Editorial
37517 Arithmetic Array greedy math Statement A Codeforces Round 726 (Div. 2) {1537} PROGRAMMING 500.0 Codeforces Round #726 (Div.2) Editorial
28220 Find The Array greedy math Statement A Educational Codeforces Round 111 (Rated for Div. 2) {1550} PROGRAMMING Educational Codeforces Round 111 Editorial
26581 Maximum Cost Deletion greedy math Statement B Educational Codeforces Round 111 (Rated for Div. 2) {1550} PROGRAMMING Educational Codeforces Round 111 Editorial
25676 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)
23512 Median Maximization greedy math Statement A Codeforces Global Round 16 {1566} PROGRAMMING 500.0 Codeforces Global Round 16 Editorial
14648 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
20809 Closing The Gap greedy math Statement A Codeforces Global Round 18 {1615} PROGRAMMING 250.0 Global Round 18 Editorial
15060 Paprika and Permutation greedy math Statement C Codeforces Round 761 (Div. 2) {1617} PROGRAMMING 1500.0 Editorial for Codeforces Round #761 (Div. 2)
21508 Reverse greedy math Statement A Codeforces Round 771 (Div. 2) {1638} PROGRAMMING 500.0 Codeforces Round #771 Editorial
18421 Array Balancing greedy math Statement A Educational Codeforces Round 126 (Rated for Div. 2) {1661} PROGRAMMING Educational Codeforces Round 126 Editorial
35166 Odd/Even Increments greedy greedy implementation math Statement C Codeforces Round 784 (Div. 4) {1669} PROGRAMMING 102101 800
21831 Difference Operations greedy math Statement A Codeforces Round 808 (Div. 2) {1708} PROGRAMMING 500.0 104930
33159 2-3 Moves greedy math Statement A Educational Codeforces Round 133 (Rated for Div. 2) {1716} PROGRAMMING 105653
14735 Madoka and Formal Statement greedy math Statement C Codeforces Round 818 (Div. 2) {1717} PROGRAMMING 1500.0 Codeforces Round #818 (Div. 2) Editorial. 1300
22359 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
22683 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
18585 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
19031 Removing Smallest Multiples greedy math Statement C Codeforces Round 822 (Div. 2) {1734} PROGRAMMING 1250.0 Codeforces Round #822 (Div.2) Editorial
18295 Tea with Tangerines greedy math Statement B Codeforces Round 824 (Div. 2) {1735} PROGRAMMING 750.0 Codeforces Round #824 — editorial
12974 Factorial Divisibility greedy math Statement B Codeforces Round 829 (Div. 1) {1753} PROGRAMMING 750.0 Tutorial 1600
23254 Quick Sort greedy math Statement B Codeforces Round 842 (Div. 2) {1768} PROGRAMMING 1000.0 Codeforces Round #842 (Div. 2) Editorial
23970 Different Differences greedy math Statement C Codeforces Round 839 (Div. 3) {1772} PROGRAMMING 110313
25085 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
17613 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
13385 The Forbidden Permutation greedy math Statement B Codeforces Round 848 (Div. 2) {1778} PROGRAMMING 1000.0 Codeforces Round #848 (Div. 2) Editorial
27558 Taisia and Dice greedy greedy math Statement B Codeforces Round 847 (Div. 3) {1790} PROGRAMMING 111948
21580 Stand-up Comedian greedy math Statement B Educational Codeforces Round 142 (Rated for Div. 2) {1792} PROGRAMMING 111835
18118 Yet Another Promotion greedy math Statement A Codeforces Round 852 (Div. 2) {1793} PROGRAMMING 500.0 Codeforces Round #852 Editorial
18004 Lame King greedy math Statement A Nebius Welcome Round (Div. 1 + Div. 2) {1804} PROGRAMMING 500.0 Nebius Welcome Round Editorial
14273 Ian and Array Sorting greedy implementation math Statement A Codeforces Round 865 (Div. 1) {1815} PROGRAMMING 500.0 Editorial of Codeforces Round #865 1300
24912 Karina and Array greedy math Statement B Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
14775 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
25207 Unit Array greedy math Statement A Codeforces Round 879 (Div. 2) {1834} PROGRAMMING 500.0 Codeforces Round #879 Editorial
15372 Maximum Strength greedy math Statement B Codeforces Round 879 (Div. 2) {1834} PROGRAMMING 1000.0 Codeforces Round #879 Editorial
12709 Astrophysicists greedy math Statement B Codeforces Round 880 (Div. 2) {1836} PROGRAMMING 1000.0 Codeforces Round 880 Editorial
17540 The Good Array greedy math Statement A Codeforces Round 876 (Div. 2) {1839} PROGRAMMING 500.0 Codeforces Round #876 (Div. 2) Editorial
29263 Long Long greedy math Statement B Codeforces Round 881 (Div. 3) {1843} PROGRAMMING Codeforces Round #881 (Div. 3) Editorial
23172 Maximum Rounding greedy implementation math Statement B Codeforces Round 891 (Div. 3) {1857} PROGRAMMING 119134
49541 Array Coloring greedy math Statement A Codeforces Round 891 (Div. 3) {1857} PROGRAMMING 119134
39441 Two Vessels greedy math Statement A Codeforces Round 895 (Div. 3) {1872} PROGRAMMING Codeforces Round 895 (Div. 3) Editorial
12107 Milena and Admirer greedy math Statement B Codeforces Round 910 (Div. 2) {1898} PROGRAMMING 1250.0 Editorial for Codeforces Round #910 (Div. 2)
5319 Absolute Beauty greedy math Statement D Codeforces Round 910 (Div. 2) {1898} PROGRAMMING 1750.0 Editorial for Codeforces Round #910 (Div. 2)
15118 Chip and Ribbon greedy math Statement B Educational Codeforces Round 158 (Rated for Div. 2) {1901} PROGRAMMING Educational Codeforces Round 158 Editorial
24637 Quests greedy math Statement C Codeforces Round 916 (Div. 3) {1914} PROGRAMMING Codeforces Round 916 (Div. 3) Editorial
43704 Square greedy math Statement A Codeforces Round 920 (Div. 3) {1921} PROGRAMMING Editorial for Codeforces Round 920 (Div. 3)
29553 Sending Messages greedy math Statement C Codeforces Round 920 (Div. 3) {1921} PROGRAMMING Editorial for Codeforces Round 920 (Div. 3)
30000 Rudolf and 121 greedy math Statement B Codeforces Round 933 (Div. 3) {1941} PROGRAMMING 127018
27792 Setting up Camp greedy math Statement A Codeforces Round 935 (Div. 3) {1945} PROGRAMMING 127377
20534 Maximum Sum greedy math Statement B Codeforces Round 936 (Div. 2) {1946} PROGRAMMING 1000.0 Codeforces Round #936 (Div. 2) Editorial
19794 Dual Trigger greedy math Statement A Codeforces Global Round 25 {1951} PROGRAMMING 500.0 Codeforces Global Round 25 Editorial
19514 Long Multiplication greedy math Statement C Educational Codeforces Round 164 (Rated for Div. 2) {1954} PROGRAMMING Educational Codeforces Round 164 Editorial
21353 Inhabitant of the Deep Sea greedy implementation math Statement C Codeforces Round 938 (Div. 3) {1955} PROGRAMMING 128243
33261 Phone Desktop greedy math Statement A Codeforces Round 946 (Div. 3) {1974} PROGRAMMING Codeforces Round #946 (Div. 3) Editorial 800
25347 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
11097 Turtle and a MEX Problem (Easy Version) greedy math Statement D1 Codeforces Round 968 (Div. 2) {2003} PROGRAMMING 1000.0
13568 Bus to Pénjamo greedy implementation math Statement A Codeforces Round 978 (Div. 2) {2022} PROGRAMMING 750.0
9775 Kar Salesman greedy math Statement B Codeforces Round 978 (Div. 2) {2022} PROGRAMMING 1000.0