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']

< 1 2 3 ... 79 80 81 82 83 ... 100 101 102 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
2232 LCM Sum (easy version) binary search brute force combinatorics math number theory two pointers Statement E1 Codeforces Round 813 (Div. 2) {1712} PROGRAMMING 2000.0 Codeforces Round #813 (Div. 2) Editorial
4615 Empty Graph binary search data structures greedy Statement D Codeforces Round 813 (Div. 2) {1712} PROGRAMMING 2000.0 Codeforces Round #813 (Div. 2) Editorial
21599 Optimal Reduction constructive algorithms sortings Statement B Codeforces Round 812 (Div. 2) {1713} PROGRAMMING 1000.0 Codeforces Round #812 (Div. 2) Editorial 1000
17707 Build Permutation constructive algorithms dp math Statement C Codeforces Round 812 (Div. 2) {1713} PROGRAMMING 1750.0 Codeforces Round #812 (Div. 2) Editorial 1200
5784 Tournament Countdown constructive algorithms fft greedy greedy interactive number theory probabilities Statement D Codeforces Round 812 (Div. 2) {1713} PROGRAMMING 2000.0 Codeforces Round #812 (Div. 2) Editorial 1800
1754 Cross Swapping ds greedy matrices Statement E Codeforces Round 812 (Div. 2) {1713} PROGRAMMING 2500.0 Codeforces Round #812 (Div. 2) Editorial 2400
557 Lost Array bitmasks combinatorics constructive algorithms dp math Statement F Codeforces Round 812 (Div. 2) {1713} PROGRAMMING 3000.0 Codeforces Round #812 (Div. 2) Editorial 2900
22144 Traveling Salesman Problem geometry greedy implementation Statement A Codeforces Round 812 (Div. 2) {1713} PROGRAMMING 500.0 Codeforces Round #812 (Div. 2) Editorial 800
30905 Remove Prefix data structures implementation Statement B Codeforces Round 811 (Div. 3) {1714} PROGRAMMING Codeforces Round #811 (Div. 3) Editorial
7892 Path Prefixes binary search data structures dfs and similar implementation trees Statement G Codeforces Round 811 (Div. 3) {1714} PROGRAMMING Codeforces Round #811 (Div. 3) Editorial
31472 Minimum Varied Number bitmasks brute force greedy Statement C Codeforces Round 811 (Div. 3) {1714} PROGRAMMING Codeforces Round #811 (Div. 3) Editorial
30337 Everyone Loves to Sleep implementation math Statement A Codeforces Round 811 (Div. 3) {1714} PROGRAMMING Codeforces Round #811 (Div. 3) Editorial
9326 Color with Occurrences dp greedy strings Statement D Codeforces Round 811 (Div. 3) {1714} PROGRAMMING Codeforces Round #811 (Div. 3) Editorial
3319 Build a Tree and That Is It brute force constructive algorithms greedy implementation trees Statement F Codeforces Round 811 (Div. 3) {1714} PROGRAMMING Codeforces Round #811 (Div. 3) Editorial
17430 Add Modulo 10 brute force math number theory Statement E Codeforces Round 811 (Div. 3) {1714} PROGRAMMING Codeforces Round #811 (Div. 3) Editorial
8800 Monoblock brute force combinatorics data structures divide and conquer greedy implementation Statement C Codeforces Round 816 (Div. 2) {1715} PROGRAMMING 1750.0 Codeforces Round #816 (Div. 2) editorial
1796 Long Way Home data structures divide and conquer dp geometry graphs shortest paths Statement E Codeforces Round 816 (Div. 2) {1715} PROGRAMMING 2750.0 Codeforces Round #816 (Div. 2) editorial
23687 Crossmarket constructive algorithms greedy math Statement A Codeforces Round 816 (Div. 2) {1715} PROGRAMMING 500.0 Codeforces Round #816 (Div. 2) editorial
532 Crop Squares constructive algorithms geometry interactive math Statement F Codeforces Round 816 (Div. 2) {1715} PROGRAMMING 3000.0 Codeforces Round #816 (Div. 2) editorial
23033 Beautiful Array constructive algorithms greedy math Statement B Codeforces Round 816 (Div. 2) {1715} PROGRAMMING 1000.0 Codeforces Round #816 (Div. 2) editorial
5256 2+ doors 2-sat bitmasks graphs greedy schedules Statement D Codeforces Round 816 (Div. 2) {1715} PROGRAMMING 2250.0 Codeforces Round #816 (Div. 2) editorial
1116 Swap and Maximum Block bitmasks data structures divide and conquer dp Statement E Educational Codeforces Round 133 (Rated for Div. 2) {1716} PROGRAMMING 105653
4276 Robot in a Hallway data structures dp implementation Statement C Educational Codeforces Round 133 (Rated for Div. 2) {1716} PROGRAMMING 105653
21530 Permutation Chain constructive algorithms math Statement B Educational Codeforces Round 133 (Rated for Div. 2) {1716} PROGRAMMING 105653
5424 Chip Move brute force dp math Statement D Educational Codeforces Round 133 (Rated for Div. 2) {1716} PROGRAMMING 105653
1103 Bags with Balls combinatorics math number theory Statement F Educational Codeforces Round 133 (Rated for Div. 2) {1716} PROGRAMMING 105653
33454 2-3 Moves greedy math Statement A Educational Codeforces Round 133 (Rated for Div. 2) {1716} PROGRAMMING 105653
14987 Madoka and Underground Competitions constructive algorithms greedy Statement B Codeforces Round 818 (Div. 2) {1717} PROGRAMMING 1000.0 Codeforces Round #818 (Div. 2) Editorial. 1100
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
4485 Madoka and The Corruption Scheme combinatorics math Statement D Codeforces Round 818 (Div. 2) {1717} PROGRAMMING 2000.0 Codeforces Round #818 (Div. 2) Editorial. 1900
2828 Madoka and The Best University brute force math number theory Statement E Codeforces Round 818 (Div. 2) {1717} PROGRAMMING 2000.0 Codeforces Round #818 (Div. 2) Editorial. 2200
543 Madoka and The First Session constructive algorithms dfs and similar flows graph matchings graphs Statement F Codeforces Round 818 (Div. 2) {1717} PROGRAMMING 3000.0 Codeforces Round #818 (Div. 2) Editorial. 2500
19691 Madoka and Strange Thoughts math number theory Statement A Codeforces Round 818 (Div. 2) {1717} PROGRAMMING 500.0 Codeforces Round #818 (Div. 2) Editorial. 800
1651 Tonya and Burenka-179 brute force data structures greedy math number theory Statement C Codeforces Round 814 (Div. 1) {1718} PROGRAMMING 1250.0 Codeforces Round #814 (Div. 1, Div. 2) Editorial
318 Permutation for Burenka greedy math trees Statement D Codeforces Round 814 (Div. 1) {1718} PROGRAMMING 2250.0 Codeforces Round #814 (Div. 1, Div. 2) Editorial
121 Impressionism constructive algorithms graphs implementation math Statement E Codeforces Round 814 (Div. 1) {1718} PROGRAMMING 2250.0 Codeforces Round #814 (Div. 1, Div. 2) Editorial
3089 Fibonacci Strings brute force data structures greedy implementation math number theory Statement B Codeforces Round 814 (Div. 1) {1718} PROGRAMMING 1250.0 Codeforces Round #814 (Div. 1, Div. 2) Editorial
5400 Burenka and Traditions (hard version) data structures dp greedy math two pointers Statement A2 Codeforces Round 814 (Div. 1) {1718} PROGRAMMING 500.0 Codeforces Round #814 (Div. 1, Div. 2) Editorial
5925 Burenka and Traditions (easy version) dp greedy math Statement A1 Codeforces Round 814 (Div. 1) {1718} PROGRAMMING 500.0 Codeforces Round #814 (Div. 1, Div. 2) Editorial
165 Burenka, an Array and Queries data structures math number theory Statement F Codeforces Round 814 (Div. 1) {1718} PROGRAMMING 2750.0 Codeforces Round #814 (Div. 1, Div. 2) Editorial
18645 Mathematical Circus constructive algorithms math Statement B Codeforces Round 814 (Div. 2) {1719} PROGRAMMING 1000.0 Codeforces Round #814 (Div. 1, Div. 2) Editorial
13503 Fighting Tournament binary search data structures implementation two pointers Statement C Codeforces Round 814 (Div. 2) {1719} PROGRAMMING 1250.0 Codeforces Round #814 (Div. 1, Div. 2) Editorial
25755 Chip Game games math Statement A Codeforces Round 814 (Div. 2) {1719} PROGRAMMING 500.0 Codeforces Round #814 (Div. 1, Div. 2) Editorial
1938 Xor-Subsequence (hard version) bitmasks data structures dp strings trees Statement D2 Codeforces Round 815 (Div. 2) {1720} PROGRAMMING 1000.0 Codeforces Round #815 (Div. 2) Editorial
6141 Xor-Subsequence (easy version) bitmasks brute force dp strings trees Statement D1 Codeforces Round 815 (Div. 2) {1720} PROGRAMMING 1500.0 Codeforces Round #815 (Div. 2) Editorial
825 Misha and Paintings constructive algorithms math Statement E Codeforces Round 815 (Div. 2) {1720} PROGRAMMING 2750.0 Codeforces Round #815 (Div. 2) Editorial
21396 Interesting Sum data structures greedy math Statement B Codeforces Round 815 (Div. 2) {1720} PROGRAMMING 1000.0 Codeforces Round #815 (Div. 2) Editorial
17110 Corners greedy implementation Statement C Codeforces Round 815 (Div. 2) {1720} PROGRAMMING 1250.0 Codeforces Round #815 (Div. 2) Editorial
22726 Burenka Plays with Fractions math number theory Statement A Codeforces Round 815 (Div. 2) {1720} PROGRAMMING 500.0 Codeforces Round #815 (Div. 2) Editorial
2054 Prefix Function Queries bitmasks brute force data structures hashing string suffix structures strings trees Statement E Educational Codeforces Round 134 (Rated for Div. 2) {1721} PROGRAMMING 106416
13616 Min-Max Array Transformation binary search greedy two pointers Statement C Educational Codeforces Round 134 (Rated for Div. 2) {1721} PROGRAMMING 106416
6824 Maximum AND bitmasks brute force divide and conquer greedy math sortings Statement D Educational Codeforces Round 134 (Rated for Div. 2) {1721} PROGRAMMING 106416
413 Matching Reduction graph matchings interactive Statement F Educational Codeforces Round 134 (Rated for Div. 2) {1721} PROGRAMMING 106416
27238 Image data structures implementation Statement A Educational Codeforces Round 134 (Rated for Div. 2) {1721} PROGRAMMING 106416
22527 Deadly Laser brute force implementation Statement B Educational Codeforces Round 134 (Rated for Div. 2) {1721} PROGRAMMING 106416
23988 Line greedy sortings Statement D Codeforces Round 817 (Div. 4) {1722} PROGRAMMING 106478 1100
11908 Even-Odd XOR bitmasks constructive algorithms greedy Statement G Codeforces Round 817 (Div. 4) {1722} PROGRAMMING 106478 1500
11331 Counting Rectangles brute force data structures dp implementation Statement E Codeforces Round 817 (Div. 4) {1722} PROGRAMMING 106478 1600
7169 L-shapes dfs and similar implementation Statement F Codeforces Round 817 (Div. 4) {1722} PROGRAMMING 106478 1700
31961 Word Game data structures implementation Statement C Codeforces Round 817 (Div. 4) {1722} PROGRAMMING 106478 800
53515 Spell Check implementation Statement A Codeforces Round 817 (Div. 4) {1722} PROGRAMMING 106478 800
48111 Colourblindness implementation Statement B Codeforces Round 817 (Div. 4) {1722} PROGRAMMING 106478 800
3234 Moving Both Hands dp graphs shortest paths Statement M COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
961 Lemper Cooking Competition data structures Statement L COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
698 Kingdom of Criticism data structures ds Statement K COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
404 Journey dp trees Statement J COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
231 Imitating the Key Tree combinatorics ds trees Statement I COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
2694 Hot Black Hot White constructive algorithms math Statement H COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
6052 Garage binary search math Statement G COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
1032 Field Photography bitmasks data structures sortings Statement F COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
505 Electrical Efficiency combinatorics data structures dp number theory trees Statement E COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
164 Deducing Sortability binary search bitmasks math Statement D COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
1679 Circular Mirror binary search combinatorics math two pointers Statement C COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
15422 Basketball Together binary search greedy sortings Statement B COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
9422 Accumulation of Dominoes math Statement A COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
88 Mainak and the Bleeding Polygon geometry implementation math Statement H Codeforces Round 819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 {1726} PROGRAMMING 3500.0 Codeforces Round #819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 Editorial
15564 Mainak and Interesting Sequence bitmasks constructive algorithms math Statement B Codeforces Round 819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 {1726} PROGRAMMING 1000.0 Codeforces Round #819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 Editorial
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
131 Late For Work data structures greedy schedules shortest paths Statement F Codeforces Round 819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 {1726} PROGRAMMING 2750.0 Codeforces Round #819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 Editorial
12563 Jatayu's Balanced Bracket Sequence data structures ds graphs Statement C Codeforces Round 819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 {1726} PROGRAMMING 1500.0 Codeforces Round #819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 Editorial
3795 Edge Split brute force constructive algorithms dfs and similar graphs probabilities trees Statement D Codeforces Round 819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 {1726} PROGRAMMING 2000.0 Codeforces Round #819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 Editorial
1455 Almost Perfect combinatorics fft math Statement E Codeforces Round 819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 {1726} PROGRAMMING 2250.0 Codeforces Round #819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 Editorial
330 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
1781 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
7446 Letter Picking constructive algorithms dp games Statement D Educational Codeforces Round 135 (Rated for Div. 2) {1728} PROGRAMMING 106805
494 Illumination combinatorics dp Statement G Educational Codeforces Round 135 (Rated for Div. 2) {1728} PROGRAMMING 106805
439 Fishermen flows graph matchings Statement F Educational Codeforces Round 135 (Rated for Div. 2) {1728} PROGRAMMING 106805
16240 Digital Logarithm data structures greedy Statement C Educational Codeforces Round 135 (Rated for Div. 2) {1728} PROGRAMMING 106805
24807 Colored Balls: Revisited greedy implementation sortings Statement A Educational Codeforces Round 135 (Rated for Div. 2) {1728} PROGRAMMING 106805
20243 Best Permutation constructive algorithms greedy Statement B Educational Codeforces Round 135 (Rated for Div. 2) {1728} PROGRAMMING 106805
41441 Two Elevators math Statement A Codeforces Round 820 (Div. 3) {1729} PROGRAMMING Codeforces Round #820 (Div. 3) Editorial
4231 Kirei and the Linear Function brute force math Statement F Codeforces Round 820 (Div. 3) {1729} PROGRAMMING Codeforces Round #820 (Div. 3) Editorial
20386 Jumping on Tiles constructive algorithms strings Statement C Codeforces Round 820 (Div. 3) {1729} PROGRAMMING Codeforces Round #820 (Div. 3) Editorial
7189 Guess the Cycle Size interactive probabilities Statement E Codeforces Round 820 (Div. 3) {1729} PROGRAMMING Codeforces Round #820 (Div. 3) Editorial
21959 Friends and the Restaurant greedy two pointers Statement D Codeforces Round 820 (Div. 3) {1729} PROGRAMMING Codeforces Round #820 (Div. 3) Editorial
30645 Decode String greedy strings Statement B Codeforces Round 820 (Div. 3) {1729} PROGRAMMING Codeforces Round #820 (Div. 3) Editorial
2250 Cut Substrings combinatorics dp hashing strings two pointers Statement G Codeforces Round 820 (Div. 3) {1729} PROGRAMMING Codeforces Round #820 (Div. 3) Editorial
16813 Minimum Notation data structures greedy math sortings Statement C Codeforces Round 823 (Div. 2) {1730} PROGRAMMING 1500.0 Codeforces Round #823 — editorial 1200
13334 Meeting on the Line binary search greedy implementation math ternary search Statement B Codeforces Round 823 (Div. 2) {1730} PROGRAMMING 1000.0 Codeforces Round #823 — editorial 1600
2760 Prefixes and Suffixes constructive algorithms ds strings Statement D Codeforces Round 823 (Div. 2) {1730} PROGRAMMING 2250.0 Codeforces Round #823 — editorial 2200