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
47771 Magical Sticks math Statement A Codeforces Round 654 (Div. 2) {1371} PROGRAMMING 500.0 Codeforces Round #654 (Div. 2) Editorial
56904 Required Remainder math Statement A Codeforces Round 653 (Div. 3) {1374} PROGRAMMING 79517
55764 Multiply by 2, divide by 6 math Statement B Codeforces Round 653 (Div. 3) {1374} PROGRAMMING 79517
40483 Three Pairwise Maximums math Statement A Codeforces Round 656 (Div. 3) {1385} PROGRAMMING Codeforces Round #656 (Div. 3) Editorial 800
70931 Yet Another Two Integers Problem math Statement A Codeforces Round 667 (Div. 3) {1409} PROGRAMMING Codeforces Round #667 (Div. 3) Editorial
25369 Buying Torches math Statement A Educational Codeforces Round 95 (Rated for Div. 2) {1418} PROGRAMMING Unofficial Editorial for Educational Round 95 (Div. 2)
397 Coins math Statement F Bubble Cup 13 - Finals [Online Mirror, unrated, Div. 1] {1423} PROGRAMMING FinalsEditorial2020.pdf
43 Captain of Knights math Statement C 2020 ICPC, COMPFEST 12, Indonesia Multi-Provincial Contest (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1425} PROGRAMMING Tutorial 3100
16473 Box is Pull math Statement A Codeforces Raif Round 1 (Div. 1 + Div. 2) {1428} PROGRAMMING 500.0 Codeforces Raif Round 1 Editorial
22944 Reorder math Statement A Codeforces Round 678 (Div. 2) {1436} PROGRAMMING 500.0 Codeforces Round #678 (Div. 2). Editorial
15512 Elimination math Statement B Codeforces Round 680 (Div. 2, based on Moscow Team Olympiad) {1445} PROGRAMMING 1000.0 Codeforces Round #680 Editorial
22402 Robot Program math Statement A Educational Codeforces Round 98 (Rated for Div. 2) {1452} PROGRAMMING 84847
26398 Dungeon math Statement A Educational Codeforces Round 100 (Rated for Div. 2) {1463} PROGRAMMING Educational Codeforces Round 100 Editorial
22987 Three swimmers math Statement A Codeforces Round 704 (Div. 2) {1492} PROGRAMMING 500.0 Codeforces Round #704 Editorial
31195 Strange Table math Statement A Codeforces Round 710 (Div. 3) {1506} PROGRAMMING Editorial
29473 Red and Blue Beans math Statement A Educational Codeforces Round 108 (Rated for Div. 2) {1519} PROGRAMMING Educational Codeforces Round 108 Editorial
21304 Binary Decimal math Statement A Codeforces Round 733 (Div. 1 + Div. 2, based on VK Cup 2021 - Elimination (Engine)) {1530} PROGRAMMING 500.0 Codeforces Round #733 Editorial (all problems)
32204 Friends and Candies math Statement B Codeforces Round 725 (Div. 3) {1538} PROGRAMMING Codeforces Round #725 (Div. 3) Editorial
47117 Odd Set math Statement A Codeforces Round 729 (Div. 2) {1542} PROGRAMMING 500.0
53858 Polycarp and Coins math Statement A Codeforces Round 734 (Div. 3) {1551} PROGRAMMING Editorial for Codeforces Round #734 (Div.3)
18195 A Variety of Operations math Statement A Deltix Round, Summer 2021 (open for everyone, rated, Div. 1 + Div. 2) {1556} PROGRAMMING 500.0 94384 800
36889 Who's Opposite? math Statement B Codeforces Round 739 (Div. 3) {1560} PROGRAMMING 94009 800
129 Finding Expected Value math Statement F COMPFEST 13 - Finals Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1575} PROGRAMMING COMPFEST 13 — Editorial
751 GCD Festival math Statement G COMPFEST 13 - Finals Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1575} PROGRAMMING COMPFEST 13 — Editorial
13661 CQXYM Count Permutations math Statement A Codeforces Round 745 (Div. 2) {1581} PROGRAMMING 500.0 Codeforces Round #745 Editorial 800
18852 Luntik and Concerts math Statement A Codeforces Round 750 (Div. 2) {1582} PROGRAMMING 500.0 Codeforces Round #750 (Div.2) Editorial
15082 Mathematical Addition math Statement A Technocup 2022 - Elimination Round 2 {1584} PROGRAMMING 500.0 Editorial for Technocup 2022 — Elimination Round 2 and Codeforces Round #755 (Div. 1, Div. 2) 800
4025 Yet Another Sorting Problem math Statement D Technocup 2022 - Elimination Round 3 {1585} PROGRAMMING 2000.0 Codeforces Round #759 (Div. 2, based on Technocup 2022 Elimination Round 3) Editorial
25454 Consecutive Sum Riddle math Statement A Codeforces Round 747 (Div. 2) {1594} PROGRAMMING 500.0 95525 800
29190 Odd Grasshopper math Statement B Codeforces Round 753 (Div. 3) {1607} PROGRAMMING Codeforces Round #753 (Div. 3) Editorial
32996 Polycarp and Sums of Subsequences math Statement A Codeforces Round 760 (Div. 3) {1618} PROGRAMMING Codeforces Round #760 (Div. 3) Editorial
25213 Paint the Array math Statement C Codeforces Round 760 (Div. 3) {1618} PROGRAMMING Codeforces Round #760 (Div. 3) Editorial
30839 Construct a Rectangle math Statement A Educational Codeforces Round 120 (Rated for Div. 2) {1622} PROGRAMMING Educational Codeforces Round 120 Editorial
54800 Plus One on the Subset math Statement A Codeforces Round 764 (Div. 3) {1624} PROGRAMMING Codeforces Round #764 (Div. 3) Editorial
24613 Square Counting math Statement A Codeforces Round 774 (Div. 2) {1646} PROGRAMMING 750.0 Codeforces Round #774 (Div. 2) Editorial 800
28533 DIV + MOD math Statement B Codeforces Round 776 (Div. 3) {1650} PROGRAMMING 100712
24309 Integer Moves math Statement A Educational Codeforces Round 125 (Rated for Div. 2) {1657} PROGRAMMING 101161
37127 Vasya and Coins math Statement A Codeforces Round 780 (Div. 3) {1660} PROGRAMMING Codeforces Round #780 (Div. 3) Editorial
28626 Vlad and Candies math Statement B Codeforces Round 780 (Div. 3) {1660} PROGRAMMING Codeforces Round #780 (Div. 3) Editorial
155 Round Table math Statement E SWERC 2021-2022 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1662} PROGRAMMING 102042
3149 Boundary math Statement H SWERC 2021-2022 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1662} PROGRAMMING 102042
3465 Mike's Sequence math Statement B April Fools Day Contest 2022 {1663} PROGRAMMING April Fools Day Contest 2022 Editorial
74 Heroes of Might math Statement H 2021-2022 ICPC, NERC, Northern Eurasia Onsite (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1666} PROGRAMMING
34393 Food for Animals math Statement A Codeforces Round 787 (Div. 3) {1675} PROGRAMMING 102550
21867 Minimums and Maximums math Statement A Educational Codeforces Round 128 (Rated for Div. 2) {1680} PROGRAMMING 102852
9534 Accumulation of Dominoes math Statement A COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
42307 Two Elevators math Statement A Codeforces Round 820 (Div. 3) {1729} PROGRAMMING Codeforces Round #820 (Div. 3) Editorial
24543 The Ultimate Square math Statement A Codeforces Round 833 (Div. 2) {1748} PROGRAMMING 500.0 Codeforces Round #833 (Div. 2) Editorial 800
22731 Lost Permutation math Statement B Codeforces Round 834 (Div. 3) {1759} PROGRAMMING 109254
10713 Exchange math Statement E 2022-2023 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Preferably Teams) {1765} PROGRAMMING 109642 1000
19416 Minimum LCM math Statement M 2022-2023 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Preferably Teams) {1765} PROGRAMMING 109642 1000
16842 Absolute Sorting math Statement D Codeforces Round 839 (Div. 3) {1772} PROGRAMMING 110313
89 Count Permutations math Statement N SWERC 2022-2023 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1776} PROGRAMMING
15353 Parallel Projection math Statement A VK Cup 2022 - Отборочный раунд (Engine) {1781} PROGRAMMING 500.0 Tutorial
190 Strange Triples math Statement F Educational Codeforces Round 144 (Rated for Div. 2) {1796} PROGRAMMING Educational Codeforces Round 144 Editorial
150 Last Number math Statement H CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!) {1810} PROGRAMMING 3500.0 Editorial of CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!)
21323 Conveyor Belts math Statement B Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
33908 Coins math Statement A Educational Codeforces Round 146 (Rated for Div. 2) {1814} PROGRAMMING Educational Codeforces Round 146 Editorial
1085 Similar Polynomials math Statement C Codeforces Round 869 (Div. 1) {1817} PROGRAMMING 1250.0 Codeforces Round #869 (Div.1, Div.2) Editorial
23713 Bun Lover math Statement C Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
21999 Blackboard List math Statement A Codeforces Round 877 (Div. 2) {1838} PROGRAMMING 500.0 Codeforces Round #877 (Div. 2) Editorial
28703 Dalton the Teacher math Statement A Codeforces Round 889 (Div. 2) {1855} PROGRAMMING 500.0 Editorial of Codeforces Round 889 (Div. 1 + Div. 2)
28807 Ambitious Kid math Statement A COMPFEST 15 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1866} PROGRAMMING COMPFEST 15 Preliminary — Editorial
27790 Plus Minus Permutation math Statement D Codeforces Round 895 (Div. 3) {1872} PROGRAMMING Codeforces Round 895 (Div. 3) Editorial
30059 Goals of Victory math Statement A Codeforces Round 902 (Div. 2, based on COMPFEST 15 - Final Round) {1877} PROGRAMMING 500.0 Codeforces Round #902 (Div. 1, Div. 2, based on COMPFEST 15 — Final Round) Editorial
38958 Vasilije in Cacak math Statement C Codeforces Round 900 (Div. 3) {1878} PROGRAMMING Codeforces round #900 (Div.3) Editorial
26598 Three Threadlets math Statement B Codeforces Round 903 (Div. 3) {1881} PROGRAMMING 121327
26831 Morning math Statement A Codeforces Round 905 (Div. 3) {1883} PROGRAMMING 500.0 Codeforces Round #905 (Div. 1, Div. 2, Div. 3) Editorial
33061 Raspberries math Statement C Codeforces Round 905 (Div. 3) {1883} PROGRAMMING 1500.0 Codeforces Round #905 (Div. 1, Div. 2, Div. 3) Editorial
24962 Treasure Chest math Statement A Educational Codeforces Round 157 (Rated for Div. 2) {1895} PROGRAMMING Educational Codeforces Round 157 Editorial
42137 Line Trip math Statement A Educational Codeforces Round 158 (Rated for Div. 2) {1901} PROGRAMMING Educational Codeforces Round 158 Editorial
23567 Constructive Problems math Statement A Codeforces Round 915 (Div. 2) {1905} PROGRAMMING 500.0 Codeforces Round 915 (Div. 2) Editorial
1690 Divisibility Test math Statement D 2023-2024 ICPC, NERC, Northern Eurasia Onsite (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1912} PROGRAMMING Tutorials (PDF) 1900
25351 Destroying Bridges math Statement A Codeforces Round 934 (Div. 2) {1944} PROGRAMMING 500.0 Codeforces Round #934 (Div1, Div2) Editorial
1117 Mathematician Takeover math Statement G April Fools Day Contest 2024 {1952} PROGRAMMING April Fools Day Contest 2024 Editorial
25452 Painting the Ribbon math Statement A Educational Codeforces Round 164 (Rated for Div. 2) {1954} PROGRAMMING Educational Codeforces Round 164 Editorial
46895 Yogurt Sale math Statement A Codeforces Round 938 (Div. 3) {1955} PROGRAMMING 128243
35809 Little Nikita math Statement A Codeforces Round 948 (Div. 2) {1977} PROGRAMMING 500.0 129858 800
47906 Legs math Statement A Codeforces Round 962 (Div. 3) {1996} PROGRAMMING Codeforces Round 962 (Div. 3) Editorial
30408 Robin Hood and the Major Oak math Statement B Codeforces Round 974 (Div. 3) {2014} PROGRAMMING
21144 Profitable Interest Rate math Statement A Codeforces Round 980 (Div. 2) {2024} PROGRAMMING 500.0
137 The Destruction of the Universe (Hard Version) math Statement G2 Codeforces Round 979 (Div. 2) {2030} PROGRAMMING 1500.0
16759 Sliding math Statement A Codeforces Global Round 27 {2035} PROGRAMMING 250.0
24686 Shape Perimeter math Statement A Codeforces Round 997 (Div. 2) {2056} PROGRAMMING 500.0
28126 Minimal Coprime math Statement A Codeforces Round 1000 (Div. 2) {2063} PROGRAMMING 500.0
47 Hard Formula math Statement G1 Codeforces Round 1010 (Div. 1, Unrated) {2081} PROGRAMMING 1500.0
23 Hard Formula (Hard Version) math Statement G2 Codeforces Round 1010 (Div. 1, Unrated) {2081} PROGRAMMING 1500.0
24373 Cloudberry Jam math Statement A Educational Codeforces Round 177 (Rated for Div. 2) {2086} PROGRAMMING