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 ... 93 94 95 96 97 ... 100 101 102 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
23379 Fireworks math number theory Statement B Codeforces Round 935 (Div. 3) {1945} PROGRAMMING 127377
767 Cook and Porridge binary search constructive algorithms data structures implementation Statement G Codeforces Round 935 (Div. 3) {1945} PROGRAMMING 127377
8506 Binary Search binary search constructive algorithms Statement E Codeforces Round 935 (Div. 3) {1945} PROGRAMMING 127377
11459 Tree Cutting binary search dp greedy implementation trees Statement C Codeforces Round 936 (Div. 2) {1946} PROGRAMMING 1500.0 Codeforces Round #936 (Div. 2) Editorial
1041 Nobody is needed brute force data structures dp math number theory Statement F Codeforces Round 936 (Div. 2) {1946} PROGRAMMING 2750.0 Codeforces Round #936 (Div. 2) Editorial
26657 Median of an Array greedy implementation Statement A Codeforces Round 936 (Div. 2) {1946} PROGRAMMING 500.0 Codeforces Round #936 (Div. 2) Editorial
20999 Maximum Sum greedy math Statement B Codeforces Round 936 (Div. 2) {1946} PROGRAMMING 1000.0 Codeforces Round #936 (Div. 2) Editorial
2652 Girl Permutation combinatorics dp math number theory Statement E Codeforces Round 936 (Div. 2) {1946} PROGRAMMING 2250.0 Codeforces Round #936 (Div. 2) Editorial
4890 Birthday Gift bitmasks brute force constructive algorithms greedy implementation Statement D Codeforces Round 936 (Div. 2) {1946} PROGRAMMING 1750.0 Codeforces Round #936 (Div. 2) Editorial
9783 Tandem Repeats? brute force dp strings two pointers Statement D Educational Codeforces Round 163 (Rated for Div. 2) {1948} PROGRAMMING Educational Codeforces Round 163 Editorial
29239 Special Characters brute force constructive algorithms Statement A Educational Codeforces Round 163 (Rated for Div. 2) {1948} PROGRAMMING Educational Codeforces Round 163 Editorial
1376 Rare Coins combinatorics math probabilities Statement F Educational Codeforces Round 163 (Rated for Div. 2) {1948} PROGRAMMING Educational Codeforces Round 163 Editorial
721 MST with Matching bitmasks brute force trees Statement G Educational Codeforces Round 163 (Rated for Div. 2) {1948} PROGRAMMING Educational Codeforces Round 163 Editorial
3096 Clique Partition constructive algorithms graphs greedy Statement E Educational Codeforces Round 163 (Rated for Div. 2) {1948} PROGRAMMING Educational Codeforces Round 163 Editorial
17547 Arrow Path dfs and similar graphs shortest paths Statement C Educational Codeforces Round 163 (Rated for Div. 2) {1948} PROGRAMMING Educational Codeforces Round 163 Editorial
23557 Array Fix brute force dp greedy implementation Statement B Educational Codeforces Round 163 (Rated for Div. 2) {1948} PROGRAMMING Educational Codeforces Round 163 Editorial
821 Scooter graphs greedy Statement G European Championship 2024 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1949} PROGRAMMING European Championship 2024 (EUC) Editorial
339 Make Triangle constructive algorithms math Statement K European Championship 2024 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1949} PROGRAMMING European Championship 2024 (EUC) Editorial
120 Grove dp dp dp geometry Statement A European Championship 2024 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1949} PROGRAMMING European Championship 2024 (EUC) Editorial
430 Funny or Scary? constructive algorithms Statement D European Championship 2024 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1949} PROGRAMMING European Championship 2024 (EUC) Editorial
128 Division Avoidance Statement H European Championship 2024 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1949} PROGRAMMING European Championship 2024 (EUC) Editorial
1977 Disks dfs and similar geometry graphs Statement I European Championship 2024 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1949} PROGRAMMING European Championship 2024 (EUC) Editorial
1059 Dating greedy sortings trees Statement F European Championship 2024 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1949} PROGRAMMING European Championship 2024 (EUC) Editorial
109 Damage per Second Statement E European Championship 2024 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1949} PROGRAMMING European Championship 2024 (EUC) Editorial
3609 Charming Meals binary search brute force greedy sortings Statement B European Championship 2024 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1949} PROGRAMMING European Championship 2024 (EUC) Editorial
1873 Annual Ants' Gathering dfs and similar greedy trees Statement C European Championship 2024 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1949} PROGRAMMING European Championship 2024 (EUC) Editorial
416 Amanda the Amoeba graphs implementation trees two pointers Statement J European Championship 2024 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1949} PROGRAMMING European Championship 2024 (EUC) Editorial
39528 Upscaling implementation Statement B Codeforces Round 937 (Div. 4) {1950} PROGRAMMING Codeforces Round 937 (Div. 4) Editorial
56026 Stair, Peak, or Neither? implementation Statement A Codeforces Round 937 (Div. 4) {1950} PROGRAMMING Codeforces Round 937 (Div. 4) Editorial
4619 Shuffling Songs bitmasks dp graphs implementation strings Statement G Codeforces Round 937 (Div. 4) {1950} PROGRAMMING Codeforces Round 937 (Div. 4) Editorial
23949 Product of Binary Decimals dp implementation number theory Statement D Codeforces Round 937 (Div. 4) {1950} PROGRAMMING Codeforces Round 937 (Div. 4) Editorial
15085 Nearly Shortest Repeating Substring brute force implementation number theory strings Statement E Codeforces Round 937 (Div. 4) {1950} PROGRAMMING Codeforces Round 937 (Div. 4) Editorial
41456 Clock Conversion implementation math Statement C Codeforces Round 937 (Div. 4) {1950} PROGRAMMING Codeforces Round 937 (Div. 4) Editorial
9566 0, 1, 2, Tree! greedy math trees Statement F Codeforces Round 937 (Div. 4) {1950} PROGRAMMING Codeforces Round 937 (Div. 4) Editorial
12153 Ticket Hoarding greedy math sortings Statement C Codeforces Global Round 25 {1951} PROGRAMMING 1500.0 Codeforces Global Round 25 Editorial
289 Thanos Snap dp games greedy trees Statement H Codeforces Global Round 25 {1951} PROGRAMMING 3500.0 Codeforces Global Round 25 Editorial
3758 No Palindromes brute force constructive algorithms greedy hashing implementation strings Statement E Codeforces Global Round 25 {1951} PROGRAMMING 2250.0 Codeforces Global Round 25 Editorial
796 Inversion Composition binary search constructive algorithms data structures greedy Statement F Codeforces Global Round 25 {1951} PROGRAMMING 2750.0 Codeforces Global Round 25 Editorial
78 Growing Trees constructive algorithms flows graphs greedy Statement I Codeforces Global Round 25 {1951} PROGRAMMING 4000.0 Codeforces Global Round 25 Editorial
20391 Dual Trigger greedy math Statement A Codeforces Global Round 25 {1951} PROGRAMMING 500.0 Codeforces Global Round 25 Editorial
345 Clacking Balls combinatorics math probabilities Statement G Codeforces Global Round 25 {1951} PROGRAMMING 3250.0 Codeforces Global Round 25 Editorial
5577 Buying Jewels constructive algorithms greedy math Statement D Codeforces Global Round 25 {1951} PROGRAMMING 1750.0 Codeforces Global Round 25 Editorial
15169 Battle Cows binary search greedy Statement B Codeforces Global Round 25 {1951} PROGRAMMING 1000.0 Codeforces Global Round 25 Editorial
2961 They Have Fooled brute force Statement C April Fools Day Contest 2024 {1952} PROGRAMMING April Fools Day Contest 2024 Editorial
266 Sweep Line combinatorics games math Statement E April Fools Day Contest 2024 {1952} PROGRAMMING April Fools Day Contest 2024 Editorial
714 Palindrome fft meet-in-the-middle Statement H April Fools Day Contest 2024 {1952} PROGRAMMING April Fools Day Contest 2024 Editorial
1053 Mathematician Takeover math Statement G April Fools Day Contest 2024 {1952} PROGRAMMING April Fools Day Contest 2024 Editorial
11301 Is it stated? strings Statement B April Fools Day Contest 2024 {1952} PROGRAMMING April Fools Day Contest 2024 Editorial
792 Help, what does it mean to be "Based" brute force combinatorics constructive algorithms games implementation sortings Statement J April Fools Day Contest 2024 {1952} PROGRAMMING April Fools Day Contest 2024 Editorial
1777 Grid brute force divide and conquer matrices Statement F April Fools Day Contest 2024 {1952} PROGRAMMING April Fools Day Contest 2024 Editorial
550 Dark Matter Statement I April Fools Day Contest 2024 {1952} PROGRAMMING April Fools Day Contest 2024 Editorial
12711 Are You a Robot, Again? expression parsing graphs strings Statement A April Fools Day Contest 2024 {1952} PROGRAMMING April Fools Day Contest 2024 Editorial
4721 Are You a Procrastinator? binary search schedules Statement D April Fools Day Contest 2024 {1952} PROGRAMMING April Fools Day Contest 2024 Editorial
0 Accuracy-Preserving Summation Algorithm *special Statement A 2023 Post World Finals Online ICPC Challenge powered by Huawei {1953} PROGRAMMING
265 Unique Strings combinatorics dp math Statement F Educational Codeforces Round 164 (Rated for Div. 2) {1954} PROGRAMMING Educational Codeforces Round 164 Editorial
24833 Painting the Ribbon math Statement A Educational Codeforces Round 164 (Rated for Div. 2) {1954} PROGRAMMING Educational Codeforces Round 164 Editorial
19187 Make It Ugly implementation math Statement B Educational Codeforces Round 164 (Rated for Div. 2) {1954} PROGRAMMING Educational Codeforces Round 164 Editorial
20123 Long Multiplication greedy math Statement C Educational Codeforces Round 164 (Rated for Div. 2) {1954} PROGRAMMING Educational Codeforces Round 164 Editorial
6469 Colored Balls combinatorics dp greedy math sortings Statement D Educational Codeforces Round 164 (Rated for Div. 2) {1954} PROGRAMMING Educational Codeforces Round 164 Editorial
2418 Chain Reaction data structures ds greedy implementation math number theory Statement E Educational Codeforces Round 164 (Rated for Div. 2) {1954} PROGRAMMING Educational Codeforces Round 164 Editorial
45047 Yogurt Sale math Statement A Codeforces Round 938 (Div. 3) {1955} PROGRAMMING 128243
7373 Unfair Game dp games greedy math Statement F Codeforces Round 938 (Div. 3) {1955} PROGRAMMING 128243
1294 The Most Reckless Defense bitmasks brute force constructive algorithms dp flows graph matchings Statement H Codeforces Round 938 (Div. 3) {1955} PROGRAMMING 128243
28770 Progressive Square constructive algorithms data structures implementation sortings Statement B Codeforces Round 938 (Div. 3) {1955} PROGRAMMING 128243
8941 Long Inversions brute force greedy implementation sortings Statement E Codeforces Round 938 (Div. 3) {1955} PROGRAMMING 128243
21917 Inhabitant of the Deep Sea greedy implementation math Statement C Codeforces Round 938 (Div. 3) {1955} PROGRAMMING 128243
15997 Inaccurate Subsequence Search data structures two pointers Statement D Codeforces Round 938 (Div. 3) {1955} PROGRAMMING 128243
4743 GCD on a grid brute force dfs and similar dp math number theory Statement G Codeforces Round 938 (Div. 3) {1955} PROGRAMMING 128243
914 Nene vs. Monsters (Hard Version) brute force implementation math Statement E2 Codeforces Round 939 (Div. 2) {1956} PROGRAMMING 750.0 [Editorial] Codeforces Round 939 (Div. 2)
1497 Nene vs. Monsters (Easy Version) brute force implementation math Statement E1 Codeforces Round 939 (Div. 2) {1956} PROGRAMMING 1500.0 [Editorial] Codeforces Round 939 (Div. 2)
13390 Nene's Magical Matrix constructive algorithms greedy math Statement C Codeforces Round 939 (Div. 2) {1956} PROGRAMMING 1500.0 [Editorial] Codeforces Round 939 (Div. 2)
22190 Nene's Game brute force greedy Statement A Codeforces Round 939 (Div. 2) {1956} PROGRAMMING 500.0 [Editorial] Codeforces Round 939 (Div. 2)
387 Nene and the Passing Game constructive algorithms data structures ds graphs sortings Statement F Codeforces Round 939 (Div. 2) {1956} PROGRAMMING 2500.0 [Editorial] Codeforces Round 939 (Div. 2)
4069 Nene and the Mex Operator bitmasks brute force constructive algorithms divide and conquer dp greedy implementation Statement D Codeforces Round 939 (Div. 2) {1956} PROGRAMMING 1750.0 [Editorial] Codeforces Round 939 (Div. 2)
21655 Nene and the Card Game games greedy Statement B Codeforces Round 939 (Div. 2) {1956} PROGRAMMING 750.0 [Editorial] Codeforces Round 939 (Div. 2)
18376 A BIT of a Construction bitmasks constructive algorithms greedy implementation Statement B Codeforces Round 940 (Div. 2) and CodeCraft-23 {1957} PROGRAMMING 1000.0 Codeforces Round #940 and CodeCraft-23 (Div. 2) Editorial 1100
10045 How Does the Rook Move? combinatorics dp math Statement C Codeforces Round 940 (Div. 2) and CodeCraft-23 {1957} PROGRAMMING 1500.0 Codeforces Round #940 and CodeCraft-23 (Div. 2) Editorial 1600
4664 A BIT of an Inequality bitmasks brute force dp math Statement D Codeforces Round 940 (Div. 2) and CodeCraft-23 {1957} PROGRAMMING 1750.0 Codeforces Round #940 and CodeCraft-23 (Div. 2) Editorial 1900
1325 Carousel of Combinations brute force combinatorics dp math number theory Statement E Codeforces Round 940 (Div. 2) and CodeCraft-23 {1957} PROGRAMMING 2250.0 Codeforces Round #940 and CodeCraft-23 (Div. 2) Editorial 2400
520 Frequency Mismatch (Easy Version) binary search data structures divide and conquer hashing probabilities trees Statement F1 Codeforces Round 940 (Div. 2) and CodeCraft-23 {1957} PROGRAMMING 2250.0 Codeforces Round #940 and CodeCraft-23 (Div. 2) Editorial 2600
459 Frequency Mismatch (Hard Version) binary search data structures dfs and similar hashing probabilities trees Statement F2 Codeforces Round 940 (Div. 2) and CodeCraft-23 {1957} PROGRAMMING 1250.0 Codeforces Round #940 and CodeCraft-23 (Div. 2) Editorial 2700
23809 Stickogon constructive algorithms greedy Statement A Codeforces Round 940 (Div. 2) and CodeCraft-23 {1957} PROGRAMMING 500.0 Codeforces Round #940 and CodeCraft-23 (Div. 2) Editorial 800
2081 1-3-5 *special dp Statement A Kotlin Heroes: Episode 10 {1958} PROGRAMMING 129483 1100
962 Clock in the Pool *special math Statement B Kotlin Heroes: Episode 10 {1958} PROGRAMMING 129483 1400
780 Firewood *special Statement C Kotlin Heroes: Episode 10 {1958} PROGRAMMING 129483 1500
554 Staircase *special Statement D Kotlin Heroes: Episode 10 {1958} PROGRAMMING 129483 1600
278 Yet Another Permutation Constructive *special constructive algorithms Statement E Kotlin Heroes: Episode 10 {1958} PROGRAMMING 129483 1900
209 Narrow Paths *special combinatorics Statement F Kotlin Heroes: Episode 10 {1958} PROGRAMMING 129483 2000
113 Observation Towers *special Statement G Kotlin Heroes: Episode 10 {1958} PROGRAMMING 129483 2400
81 Composite Spells *special dp Statement H Kotlin Heroes: Episode 10 {1958} PROGRAMMING 129483 2600
37 Equal Trees *special graphs meet-in-the-middle Statement I Kotlin Heroes: Episode 10 {1958} PROGRAMMING 129483 3100
36 Necromancer *special Statement J Kotlin Heroes: Episode 10 {1958} PROGRAMMING 129483 3200
14264 Everything Nim games greedy math sortings Statement A Codeforces Round 941 (Div. 1) {1965} PROGRAMMING 500.0 Codeforces Round #941 (Div. 1, Div. 2) Editorial 1400
6991 Missing Subsequence Sum bitmasks constructive algorithms greedy number theory Statement B Codeforces Round 941 (Div. 1) {1965} PROGRAMMING 1250.0 Codeforces Round #941 (Div. 1, Div. 2) Editorial 1800
2027 Folding Strip constructive algorithms greedy strings Statement C Codeforces Round 941 (Div. 1) {1965} PROGRAMMING 1500.0 Codeforces Round #941 (Div. 1, Div. 2) Editorial 2300
444 Missing Subarray Sum constructive algorithms Statement D Codeforces Round 941 (Div. 1) {1965} PROGRAMMING 2000.0 Codeforces Round #941 (Div. 1, Div. 2) Editorial 2900
317 Connected Cubes constructive algorithms games Statement E Codeforces Round 941 (Div. 1) {1965} PROGRAMMING 2500.0 Codeforces Round #941 (Div. 1, Div. 2) Editorial 3100
198 Conference data structures flows Statement F Codeforces Round 941 (Div. 1) {1965} PROGRAMMING 3500.0 Codeforces Round #941 (Div. 1, Div. 2) Editorial 3300
15436 Rectangle Filling constructive algorithms implementation Statement B Codeforces Round 941 (Div. 2) {1966} PROGRAMMING 1000.0 Codeforces Round #941 (Div. 1, Div. 2) Editorial 1100
18261 Card Exchange constructive algorithms games greedy Statement A Codeforces Round 941 (Div. 2) {1966} PROGRAMMING 500.0 Codeforces Round #941 (Div. 1, Div. 2) Editorial 800