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.

Search on plain tags, ratings, names, and problem text. Example: brute force or binary search

< 1 2 3 ... 10 11 12 13 14 15 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
19239 LR-remainders brute force data structures implementation math Statement C Codeforces Round 927 (Div. 3) {1932} PROGRAMMING 126196
1406 Moving Platforms graphs math number theory shortest paths Statement G Codeforces Round 927 (Div. 3) {1932} PROGRAMMING 126196
10421 Final Countdown implementation math number theory Statement E Codeforces Round 927 (Div. 3) {1932} PROGRAMMING 126196
13834 Turtle vs. Rabbit Race: Optimal Trainings binary search math ternary search Statement E Codeforces Round 929 (Div. 3) {1933} PROGRAMMING Codeforces Round 929 (Div. 3) Editorial
1214 Turtle Magic: Royal Turtle Shell Pattern bitmasks brute force combinatorics math Statement G Codeforces Round 929 (Div. 3) {1933} PROGRAMMING Codeforces Round 929 (Div. 3) Editorial
42455 Turtle Puzzle: Rearrange and Negate greedy math sortings Statement A Codeforces Round 929 (Div. 3) {1933} PROGRAMMING Codeforces Round 929 (Div. 3) Editorial
36873 Turtle Math: Fast Three Task implementation number theory Statement B Codeforces Round 929 (Div. 3) {1933} PROGRAMMING Codeforces Round 929 (Div. 3) Editorial
22339 Yet Another Coin Problem brute force dp greedy math Statement B Codeforces Round 931 (Div. 2) {1934} PROGRAMMING 1000.0 Tutorial
8229 Find a Mine constructive algorithms geometry greedy interactive math Statement C Codeforces Round 931 (Div. 2) {1934} PROGRAMMING 1500.0 Tutorial
27459 Too Min Too Max constructive algorithms greedy math Statement A Codeforces Round 931 (Div. 2) {1934} PROGRAMMING 500.0 Tutorial
1682 Distance Learning Courses in MAC binary search bitmasks data structures greedy implementation math Statement E Codeforces Round 932 (Div. 2) {1935} PROGRAMMING 2500.0 Codeforces Round #932 (Div. 2) Editorial
11000 Exam in MAC binary search combinatorics math Statement D Codeforces Round 932 (Div. 2) {1935} PROGRAMMING 1750.0 Codeforces Round #932 (Div. 2) Editorial
3620 Pinball binary search implementation math Statement B Codeforces Round 930 (Div. 1) {1936} PROGRAMMING 1000.0 Codeforces Round 930 (Div. 1, Div. 2) Editorial
8751 Bitwise Operation Wizard bitmasks constructive algorithms greedy interactive math Statement A Codeforces Round 930 (Div. 1) {1936} PROGRAMMING 500.0 Codeforces Round 930 (Div. 1, Div. 2) Editorial
154 Yet Yet Another Permutation Problem divide and conquer fft math Statement E Codeforces Round 930 (Div. 1) {1936} PROGRAMMING 2500.0 Codeforces Round 930 (Div. 1, Div. 2) Editorial
17520 Binary Path greedy implementation Statement B Codeforces Round 930 (Div. 2) {1937} PROGRAMMING 1000.0 Codeforces Round 930 (Div. 1, Div. 2) Editorial
24845 Shuffle Party implementation math Statement A Codeforces Round 930 (Div. 2) {1937} PROGRAMMING 500.0 Codeforces Round 930 (Div. 1, Div. 2) Editorial
48115 Rudolf and the Ticket brute force math sortings two pointers Statement A Codeforces Round 933 (Div. 3) {1941} PROGRAMMING 127018
39743 Rudolf and the Ugly String dp strings Statement C Codeforces Round 933 (Div. 3) {1941} PROGRAMMING 127018
35224 Rudolf and 121 greedy math Statement B Codeforces Round 933 (Div. 3) {1941} PROGRAMMING 127018
2026 Farm Game combinatorics games math Statement E CodeTON Round 8 (Div. 1 + Div. 2, Rated, Prizes!) {1942} PROGRAMMING 2500.0 CodeTON Round 8 Editorial
780 Bessie and Cards combinatorics math Statement G CodeTON Round 8 (Div. 1 + Div. 2, Rated, Prizes!) {1942} PROGRAMMING 3000.0 CodeTON Round 8 Editorial
18582 Farmer John's Challenge constructive algorithms math Statement A CodeTON Round 8 (Div. 1 + Div. 2, Rated, Prizes!) {1942} PROGRAMMING 500.0 CodeTON Round 8 Editorial
15665 Bessie and MEX constructive algorithms math Statement B CodeTON Round 8 (Div. 1 + Div. 2, Rated, Prizes!) {1942} PROGRAMMING 1000.0 CodeTON Round 8 Editorial
6957 Bessie's Birthday Cake (Hard Version) geometry greedy math Statement C2 CodeTON Round 8 (Div. 1 + Div. 2, Rated, Prizes!) {1942} PROGRAMMING 750.0 CodeTON Round 8 Editorial
12546 Bessie's Birthday Cake (Easy Version) geometry math Statement C1 CodeTON Round 8 (Div. 1 + Div. 2, Rated, Prizes!) {1942} PROGRAMMING 1250.0 CodeTON Round 8 Editorial
4659 Non-Palindromic Substring data structures hashing implementation math strings Statement B Codeforces Round 934 (Div. 1) {1943} PROGRAMMING 1250.0 Codeforces Round #934 (Div1, Div2) Editorial
144 Minimum Hamming Distance dp Statement F Codeforces Round 934 (Div. 1) {1943} PROGRAMMING 4500.0 Codeforces Round #934 (Div1, Div2) Editorial
18354 Equal XOR bitmasks constructive algorithms Statement B Codeforces Round 934 (Div. 2) {1944} PROGRAMMING 1000.0 Codeforces Round #934 (Div1, Div2) Editorial
29252 Destroying Bridges math Statement A Codeforces Round 934 (Div. 2) {1944} PROGRAMMING 500.0 Codeforces Round #934 (Div1, Div2) Editorial
30563 Setting up Camp greedy math Statement A Codeforces Round 935 (Div. 3) {1945} PROGRAMMING 127377
26448 Fireworks math number theory Statement B Codeforces Round 935 (Div. 3) {1945} PROGRAMMING 127377
1283 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
3227 Girl Permutation combinatorics dp math number theory Statement E Codeforces Round 936 (Div. 2) {1946} PROGRAMMING 2250.0 Codeforces Round #936 (Div. 2) Editorial
23812 Maximum Sum greedy math Statement B Codeforces Round 936 (Div. 2) {1946} PROGRAMMING 1000.0 Codeforces Round #936 (Div. 2) Editorial
1709 Rare Coins combinatorics math probabilities Statement F Educational Codeforces Round 163 (Rated for Div. 2) {1948} PROGRAMMING Educational Codeforces Round 163 Editorial
480 Make Triangle constructive algorithms math Statement K European Championship 2024 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1949} PROGRAMMING European Championship 2024 (EUC) Editorial
1066 Scooter graphs greedy Statement G European Championship 2024 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1949} PROGRAMMING European Championship 2024 (EUC) Editorial
11456 0, 1, 2, Tree! greedy math trees Statement F Codeforces Round 937 (Div. 4) {1950} PROGRAMMING Codeforces Round 937 (Div. 4) Editorial
47424 Clock Conversion implementation math Statement C Codeforces Round 937 (Div. 4) {1950} PROGRAMMING Codeforces Round 937 (Div. 4) Editorial
4582 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
483 Clacking Balls combinatorics math probabilities Statement G Codeforces Global Round 25 {1951} PROGRAMMING 3250.0 Codeforces Global Round 25 Editorial
6372 Buying Jewels constructive algorithms greedy math Statement D Codeforces Global Round 25 {1951} PROGRAMMING 1750.0 Codeforces Global Round 25 Editorial
22762 Dual Trigger greedy math Statement A Codeforces Global Round 25 {1951} PROGRAMMING 500.0 Codeforces Global Round 25 Editorial
13924 Ticket Hoarding greedy math sortings Statement C Codeforces Global Round 25 {1951} PROGRAMMING 1500.0 Codeforces Global Round 25 Editorial
346 Sweep Line combinatorics games math Statement E April Fools Day Contest 2024 {1952} PROGRAMMING April Fools Day Contest 2024 Editorial
1233 Mathematician Takeover math Statement G April Fools Day Contest 2024 {1952} PROGRAMMING April Fools Day Contest 2024 Editorial
8300 Colored Balls combinatorics dp greedy math sortings Statement D Educational Codeforces Round 164 (Rated for Div. 2) {1954} PROGRAMMING Educational Codeforces Round 164 Editorial
416 Unique Strings combinatorics dp math Statement F Educational Codeforces Round 164 (Rated for Div. 2) {1954} PROGRAMMING Educational Codeforces Round 164 Editorial
3017 Chain Reaction data structures dsu greedy implementation math number theory Statement E Educational Codeforces Round 164 (Rated for Div. 2) {1954} PROGRAMMING Educational Codeforces Round 164 Editorial
23055 Long Multiplication greedy math Statement C Educational Codeforces Round 164 (Rated for Div. 2) {1954} PROGRAMMING Educational Codeforces Round 164 Editorial
21810 Make It Ugly implementation math Statement B Educational Codeforces Round 164 (Rated for Div. 2) {1954} PROGRAMMING Educational Codeforces Round 164 Editorial
27942 Painting the Ribbon math Statement A Educational Codeforces Round 164 (Rated for Div. 2) {1954} PROGRAMMING Educational Codeforces Round 164 Editorial
6037 GCD on a grid brute force dfs and similar dp math number theory Statement G Codeforces Round 938 (Div. 3) {1955} PROGRAMMING 128243
8849 Unfair Game dp games greedy math Statement F Codeforces Round 938 (Div. 3) {1955} PROGRAMMING 128243
24929 Inhabitant of the Deep Sea greedy implementation math Statement C Codeforces Round 938 (Div. 3) {1955} PROGRAMMING 128243
53532 Yogurt Sale math Statement A Codeforces Round 938 (Div. 3) {1955} PROGRAMMING 128243
1690 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)
1138 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)
15325 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)
12133 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
5955 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
1662 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
1202 Clock in the Pool *special math Statement B Kotlin Heroes: Episode 10 {1958} PROGRAMMING 129483 1400
17120 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
2457 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
15190 Permutation Counting binary search greedy implementation math sortings Statement A Codeforces Round 942 (Div. 1) {1967} PROGRAMMING 750.0 Tutorial 1400
16295 Reverse Card (Easy Version) brute force math number theory Statement B1 Codeforces Round 942 (Div. 1) {1967} PROGRAMMING 500.0 Tutorial 1400
4951 Reverse Card (Hard Version) brute force math number theory Statement B2 Codeforces Round 942 (Div. 1) {1967} PROGRAMMING 750.0 Tutorial 2200
2286 Fenwick Tree bitmasks brute force combinatorics data structures dp math trees Statement C Codeforces Round 942 (Div. 1) {1967} PROGRAMMING 1250.0 Tutorial 2300
440 Again Counting Arrays (Easy Version) combinatorics dp fft math Statement E1 Codeforces Round 942 (Div. 1) {1967} PROGRAMMING 1750.0 Tutorial 3100
230 Again Counting Arrays (Hard Version) combinatorics dp math Statement E2 Codeforces Round 942 (Div. 1) {1967} PROGRAMMING 1000.0 Tutorial 3500
17627 Permutation Game brute force dfs and similar games graphs greedy math Statement D Codeforces Round 943 (Div. 3) {1968} PROGRAMMING 129096 1300
12829 Cells Arrangement constructive algorithms Statement E Codeforces Round 943 (Div. 3) {1968} PROGRAMMING 129096 1600
2607 Division + LCP (hard version) binary search brute force data structures dp hashing math string suffix structures strings Statement G2 Codeforces Round 943 (Div. 3) {1968} PROGRAMMING 129096 2200
39858 Maximize? brute force math number theory Statement A Codeforces Round 943 (Div. 3) {1968} PROGRAMMING 129096 800
5779 Shop Game data structures greedy math sortings Statement D Educational Codeforces Round 165 (Rated for Div. 2) {1969} PROGRAMMING Educational Codeforces Round 165 Editorial 1900
22291 Two Friends constructive algorithms implementation math Statement A Educational Codeforces Round 165 (Rated for Div. 2) {1969} PROGRAMMING Educational Codeforces Round 165 Editorial 800
7433 Balanced Shuffle (Easy) implementation sortings Statement A1 Helvetic Coding Contest 2024 online mirror (teams allowed, unrated) {1970} PROGRAMMING Helvetic Coding Contest 2024 Editorial 1000
621 Balanced Unshuffle (Medium) brute force constructive algorithms trees Statement A2 Helvetic Coding Contest 2024 online mirror (teams allowed, unrated) {1970} PROGRAMMING Helvetic Coding Contest 2024 Editorial 2400
685 Balanced Unshuffle (Hard) constructive algorithms trees Statement A3 Helvetic Coding Contest 2024 online mirror (teams allowed, unrated) {1970} PROGRAMMING Helvetic Coding Contest 2024 Editorial 2400
11708 XOUR data structures dsu sortings Statement G Codeforces Round 944 (Div. 4) {1971} PROGRAMMING Codeforces Round 944 (Div. 4) Editorial 1400
18638 Find the Car binary search math sortings Statement E Codeforces Round 944 (Div. 4) {1971} PROGRAMMING Codeforces Round 944 (Div. 4) Editorial 1500
12706 Circle Perimeter binary search brute force dfs and similar geometry implementation math Statement F Codeforces Round 944 (Div. 4) {1971} PROGRAMMING Codeforces Round 944 (Div. 4) Editorial 1600
2849 ±1 2-sat dfs and similar graphs Statement H Codeforces Round 944 (Div. 4) {1971} PROGRAMMING Codeforces Round 944 (Div. 4) Editorial 2100
17037 Cat, Fox and the Lonely Array binary search bitmasks data structures greedy math two pointers Statement B Codeforces Round 945 (Div. 2) {1973} PROGRAMMING 1000.0 Editorial for Codeforces Round #945 (Div. 2) 1300
9955 Cat, Fox and Double Maximum constructive algorithms greedy implementation math sortings Statement C Codeforces Round 945 (Div. 2) {1973} PROGRAMMING 1500.0 Editorial for Codeforces Round #945 (Div. 2) 1700
2325 Cat, Fox and Maximum Array Split brute force interactive math Statement D Codeforces Round 945 (Div. 2) {1973} PROGRAMMING 2000.0 Editorial for Codeforces Round #945 (Div. 2) 2400
1027 Cat, Fox and Swaps graphs math sortings Statement E Codeforces Round 945 (Div. 2) {1973} PROGRAMMING 2250.0 Editorial for Codeforces Round #945 (Div. 2) 2500
28902 Chess For Three brute force dp implementation math Statement A Codeforces Round 945 (Div. 2) {1973} PROGRAMMING 500.0 Editorial for Codeforces Round #945 (Div. 2) 900
38249 Phone Desktop greedy math Statement A Codeforces Round 946 (Div. 3) {1974} PROGRAMMING Codeforces Round #946 (Div. 3) Editorial 800
21274 378QAQ and Mocha's Array brute force greedy math sortings Statement B Codeforces Round 947 (Div. 1 + Div. 2) {1975} PROGRAMMING 500.0 editorial_zh.pdf 1000
2931 Chain Queries binary search data structures dfs and similar implementation trees Statement E Codeforces Round 947 (Div. 1 + Div. 2) {1975} PROGRAMMING 2000.0 editorial_zh.pdf 2100
1075 Set bitmasks brute force combinatorics dfs and similar divide and conquer dp math Statement F Codeforces Round 947 (Div. 1 + Div. 2) {1975} PROGRAMMING 2500.0 editorial_zh.pdf 2600
348 Zimpha Fan Club fft greedy math strings Statement G Codeforces Round 947 (Div. 1 + Div. 2) {1975} PROGRAMMING 3000.0 editorial_zh.pdf 3000
221 378QAQ and Core greedy strings Statement H Codeforces Round 947 (Div. 1 + Div. 2) {1975} PROGRAMMING 4500.0 editorial_zh.pdf 3500
1338 Splittable Permutations combinatorics data structures dfs and similar greedy math trees Statement E Educational Codeforces Round 166 (Rated for Div. 2) {1976} PROGRAMMING Educational Codeforces Round 166 Editorial
20093 Binary Colouring bitmasks constructive algorithms greedy math Statement B Codeforces Round 948 (Div. 2) {1977} PROGRAMMING 1250.0 129858 1100
8146 Nikita and LCM brute force data structures dp greedy math number theory sortings Statement C Codeforces Round 948 (Div. 2) {1977} PROGRAMMING 1750.0 129858 1900
39665 Little Nikita math Statement A Codeforces Round 948 (Div. 2) {1977} PROGRAMMING 500.0 129858 800
25582 New Bakery binary search greedy math ternary search Statement B Codeforces Round 953 (Div. 2) {1978} PROGRAMMING 750.0 130527
18001 Manhattan Permutations constructive algorithms greedy implementation math Statement C Codeforces Round 953 (Div. 2) {1978} PROGRAMMING 1250.0 130527
13852 Elections data structures greedy implementation math Statement D Codeforces Round 953 (Div. 2) {1978} PROGRAMMING 1500.0 130527
13218 Permutation of Rows and Columns constructive algorithms data structures hashing math matrices sortings Statement E Codeforces Round 950 (Div. 3) {1980} PROGRAMMING 130135
4442 Field Division (easy version) data structures geometry math sortings Statement F1 Codeforces Round 950 (Div. 3) {1980} PROGRAMMING 130135
17635 GCD-sequence greedy implementation math math number theory number theory Statement D Codeforces Round 950 (Div. 3) {1980} PROGRAMMING 130135
1264 Field Division (hard version) math sortings Statement F2 Codeforces Round 950 (Div. 3) {1980} PROGRAMMING 130135
6433 Turtle and an Incomplete Sequence bitmasks constructive algorithms greedy implementation math Statement C Codeforces Round 949 (Div. 2) {1981} PROGRAMMING 1500.0 Simplified Chinese Tutorial
16713 Turtle and an Infinite Sequence bitmasks math Statement B Codeforces Round 949 (Div. 2) {1981} PROGRAMMING 1000.0 Simplified Chinese Tutorial
24356 Turtle and Piggy Are Playing a Game brute force greedy math Statement A Codeforces Round 949 (Div. 2) {1981} PROGRAMMING 500.0 Simplified Chinese Tutorial
2208 Turtle and Multiplication constructive algorithms dfs and similar graphs number theory Statement D Codeforces Round 949 (Div. 2) {1981} PROGRAMMING 2000.0 Simplified Chinese Tutorial
1935 Number of k-good subarrays bitmasks combinatorics divide and conquer dp math meet-in-the-middle Statement E Codeforces Round 955 (Div. 2, with prizes from NEAR!) {1982} PROGRAMMING 2500.0 130839
10127 Beauty of the mountains brute force data structures implementation math number theory Statement D Codeforces Round 955 (Div. 2, with prizes from NEAR!) {1982} PROGRAMMING 1750.0 130839
19997 Collatz Conjecture brute force implementation math number theory Statement B Codeforces Round 955 (Div. 2, with prizes from NEAR!) {1982} PROGRAMMING 1000.0 130839
27641 Soccer greedy implementation math sortings Statement A Codeforces Round 955 (Div. 2, with prizes from NEAR!) {1982} PROGRAMMING 500.0 130839
2525 I Love Balls combinatorics math probabilities Statement E Codeforces Round 956 (Div. 2) and ByteRace 2024 {1983} PROGRAMMING 2000.0
11453 Swap Dilemma constructive algorithms divide and conquer greedy math sortings Statement D Codeforces Round 956 (Div. 2) and ByteRace 2024 {1983} PROGRAMMING 1750.0
18583 Corner Twist constructive algorithms greedy implementation math Statement B Codeforces Round 956 (Div. 2) and ByteRace 2024 {1983} PROGRAMMING 1000.0
28245 Array Divisibility constructive algorithms math Statement A Codeforces Round 956 (Div. 2) and ByteRace 2024 {1983} PROGRAMMING 500.0
21192 Large Addition constructive algorithms implementation math Statement B Codeforces Global Round 26 {1984} PROGRAMMING 750.0 Codeforces Global Round 26 Editorial
3958 ''a'' String Problem hashing implementation math string suffix structures strings Statement D Codeforces Global Round 26 {1984} PROGRAMMING 2500.0 Codeforces Global Round 26 Editorial
12473 D-Function bitmasks combinatorics math number theory Statement G Codeforces Round 952 (Div. 4) {1985} PROGRAMMING Codeforces Round 952 (Div. 4) Editorial
23806 Secret Box brute force combinatorics math Statement E Codeforces Round 952 (Div. 4) {1985} PROGRAMMING Codeforces Round 952 (Div. 4) Editorial
57630 Maximum Multiple Sum brute force math Statement B Codeforces Round 952 (Div. 4) {1985} PROGRAMMING Codeforces Round 952 (Div. 4) Editorial
41952 Manhattan Circle implementation math Statement D Codeforces Round 952 (Div. 4) {1985} PROGRAMMING Codeforces Round 952 (Div. 4) Editorial
1949 Permutation Problem (Simple Version) brute force combinatorics math number theory Statement G1 Codeforces Round 954 (Div. 3) {1986} PROGRAMMING 130762
1488 Permutation Problem (Hard Version) brute force data structures hashing math number theory Statement G2 Codeforces Round 954 (Div. 3) {1986} PROGRAMMING 130762
18201 Mathematical Problem brute force dp two pointers Statement D Codeforces Round 954 (Div. 3) {1986} PROGRAMMING 130762
48485 X Axis brute force math sortings Statement A Codeforces Round 954 (Div. 3) {1986} PROGRAMMING 130762
11043 Beautiful Array dp math sortings Statement E Codeforces Round 954 (Div. 3) {1986} PROGRAMMING 130762
29244 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
27272 Split the Multiset brute force dp greedy math Statement A Codeforces Round 958 (Div. 2) {1988} PROGRAMMING 500.0 Editorial of Codeforces Round 958 (Div. 2)
470 Heartbeat combinatorics dp fft math Statement F Codeforces Round 958 (Div. 2) {1988} PROGRAMMING 3500.0 Editorial of Codeforces Round 958 (Div. 2)
7219 Smithing Skill brute force dp greedy math sortings two pointers Statement D Educational Codeforces Round 167 (Rated for Div. 2) {1989} PROGRAMMING Educational Codeforces Round 167 Editorial
14832 Mad MAD Sum brute force greedy math Statement C Codeforces Round 960 (Div. 2) {1990} PROGRAMMING 1500.0 Video Tutorial
7978 Prime XOR Coloring bitmasks constructive algorithms graphs greedy math number theory Statement D Pinely Round 4 (Div. 1 + Div. 2) {1991} PROGRAMMING 1500.0 Video Tutorial
2809 Triangle Formation brute force greedy math sortings Statement F Pinely Round 4 (Div. 1 + Div. 2) {1991} PROGRAMMING 2500.0 Video Tutorial
758 Grid Reset constructive algorithms greedy Statement G Pinely Round 4 (Div. 1 + Div. 2) {1991} PROGRAMMING 3000.0 Video Tutorial
17940 Absolute Zero constructive algorithms greedy math Statement C Pinely Round 4 (Div. 1 + Div. 2) {1991} PROGRAMMING 1000.0 Video Tutorial
575 Prime Split Game fft games math number theory Statement H Pinely Round 4 (Div. 1 + Div. 2) {1991} PROGRAMMING 3500.0 Video Tutorial
50012 Only Pluses brute force constructive algorithms greedy math sortings Statement A Codeforces Round 957 (Div. 3) {1992} PROGRAMMING Shayan's Video Tutorial
10962 Novice's Mistake brute force constructive algorithms math strings Statement E Codeforces Round 957 (Div. 3) {1992} PROGRAMMING Shayan's Video Tutorial
4290 Ultra-Meow combinatorics math number theory Statement G Codeforces Round 957 (Div. 3) {1992} PROGRAMMING Shayan's Video Tutorial
33742 Gorilla and Permutation constructive algorithms math Statement C Codeforces Round 957 (Div. 3) {1992} PROGRAMMING Shayan's Video Tutorial
38442 Angry Monk greedy math sortings Statement B Codeforces Round 957 (Div. 3) {1992} PROGRAMMING Shayan's Video Tutorial
1213 Dyn-scripted Robot (Easy Version) brute force chinese remainder theorem constructive algorithms math number theory Statement F1 Codeforces Round 963 (Div. 2) {1993} PROGRAMMING 2500.0 Editorial of Codeforces Round 963 (Div. 2)
568 Dyn-scripted Robot (Hard Version) chinese remainder theorem math number theory Statement F2 Codeforces Round 963 (Div. 2) {1993} PROGRAMMING 1000.0 Editorial of Codeforces Round 963 (Div. 2)
16383 Light Switches implementation math Statement C Codeforces Round 963 (Div. 2) {1993} PROGRAMMING 1500.0 Editorial of Codeforces Round 963 (Div. 2)
1666 Minecraft bitmasks brute force dp math Statement G Codeforces Round 959 sponsored by NEAR (Div. 1 + Div. 2) {1994} PROGRAMMING 2750.0 Video Tutorial
19820 Fun Game bitmasks constructive algorithms greedy math Statement B Codeforces Round 959 sponsored by NEAR (Div. 1 + Div. 2) {1994} PROGRAMMING 1000.0 Video Tutorial
5667 Wooden Game bitmasks greedy math trees Statement E Codeforces Round 959 sponsored by NEAR (Div. 1 + Div. 2) {1994} PROGRAMMING 2000.0 Video Tutorial
7690 Funny Game constructive algorithms dsu graphs greedy math number theory Statement D Codeforces Round 959 sponsored by NEAR (Div. 1 + Div. 2) {1994} PROGRAMMING 2000.0 Video Tutorial
778 Fortnite interactive math Statement H Codeforces Round 959 sponsored by NEAR (Div. 1 + Div. 2) {1994} PROGRAMMING 3750.0 Video Tutorial
10271 Bouquet (Hard Version) binary search data structures greedy math sortings two pointers Statement B2 Codeforces Round 961 (Div. 2) {1995} PROGRAMMING 500.0 Video Tutorial
10420 Squaring brute force constructive algorithms data structures greedy implementation math number theory Statement C Codeforces Round 961 (Div. 2) {1995} PROGRAMMING 1750.0 Video Tutorial
26542 Diagonals brute force greedy implementation math Statement A Codeforces Round 961 (Div. 2) {1995} PROGRAMMING 500.0 Video Tutorial
6438 Bomb binary search greedy math Statement F Codeforces Round 962 (Div. 3) {1996} PROGRAMMING Codeforces Round 962 (Div. 3) Editorial
12790 Decode brute force combinatorics implementation Statement E Codeforces Round 962 (Div. 3) {1996} PROGRAMMING Codeforces Round 962 (Div. 3) Editorial
58508 Legs math Statement A Codeforces Round 962 (Div. 3) {1996} PROGRAMMING Codeforces Round 962 (Div. 3) Editorial
1296 Chips on a Line dp math Statement F Educational Codeforces Round 168 (Rated for Div. 2) {1997} PROGRAMMING Video Tutorial
25719 Even Positions greedy Statement C Educational Codeforces Round 168 (Rated for Div. 2) {1997} PROGRAMMING Video Tutorial
2304 Eliminating Balls With Merging (Easy Version) binary search brute force data structures divide and conquer dp greedy math Statement E1 Codeforces Round 965 (Div. 2) {1998} PROGRAMMING 1750.0 Video Tutorial
26252 Find K Distinct Points with Fixed Center constructive algorithms implementation math Statement A Codeforces Round 965 (Div. 2) {1998} PROGRAMMING 500.0 Video Tutorial
28470 Minimize Equal Sum Subarrays constructive algorithms math number theory Statement B Codeforces Round 965 (Div. 2) {1998} PROGRAMMING 750.0 Video Tutorial
14963 Ruler (easy version) binary search interactive ternary search Statement G1 Codeforces Round 964 (Div. 4) {1999} PROGRAMMING Video Tutorial
11489 Ruler (hard version) binary search interactive ternary search Statement G2 Codeforces Round 964 (Div. 4) {1999} PROGRAMMING Video Tutorial
14424 Expected Median combinatorics math Statement F Codeforces Round 964 (Div. 4) {1999} PROGRAMMING Video Tutorial
24082 Triple Operations dp implementation math Statement E Codeforces Round 964 (Div. 4) {1999} PROGRAMMING Video Tutorial
86300 A+B Again? implementation math Statement A Codeforces Round 964 (Div. 4) {1999} PROGRAMMING Video Tutorial
16493 Photoshoot for Gorillas combinatorics data structures greedy math Statement E Codeforces Round 966 (Div. 3) {2000} PROGRAMMING 132689
7056 Color Rows and Columns dp greedy implementation math Statement F Codeforces Round 966 (Div. 3) {2000} PROGRAMMING 132689
44639 Primary Task implementation math strings Statement A Codeforces Round 966 (Div. 3) {2000} PROGRAMMING 132689
1567 Deterministic Heap (Easy Version) brute force combinatorics dp Statement E1 Codeforces Round 967 (Div. 2) {2001} PROGRAMMING 2000.0 Video Tutorial
301 Deterministic Heap (Hard Version) combinatorics dp Statement E2 Codeforces Round 967 (Div. 2) {2001} PROGRAMMING 2000.0 Video Tutorial
17959 Black Circles brute force constructive algorithms geometry greedy math Statement C EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) {2002} PROGRAMMING 1000.0 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) Editorial
1016 Court Blue (Easy Version) brute force dfs and similar dp math number theory Statement F1 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) {2002} PROGRAMMING 2000.0 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) Editorial
585 Court Blue (Hard Version) brute force dp math number theory Statement F2 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) {2002} PROGRAMMING 1250.0 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) Editorial
21433 Distanced Coloring constructive algorithms implementation math Statement A EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) {2002} PROGRAMMING 500.0 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) Editorial
13624 Turtle and a MEX Problem (Easy Version) greedy math Statement D1 Codeforces Round 968 (Div. 2) {2003} PROGRAMMING 1000.0 sol-zh.pdf
1436 Make a Palindrome brute force data structures dp greedy math Statement F Educational Codeforces Round 169 (Rated for Div. 2) {2004} PROGRAMMING Educational Codeforces Round 169 Editorial
5189 Not a Nim Problem games math number theory Statement E Educational Codeforces Round 169 (Rated for Div. 2) {2004} PROGRAMMING Educational Codeforces Round 169 Editorial
33935 Closest Point implementation math Statement A Educational Codeforces Round 169 (Rated for Div. 2) {2004} PROGRAMMING Educational Codeforces Round 169 Editorial
22120 The Strict Teacher (Hard Version) binary search greedy math sortings Statement B2 Codeforces Round 972 (Div. 2) {2005} PROGRAMMING 500.0 Discussion stream (With Hints)
26612 Simple Palindrome constructive algorithms greedy Statement A Codeforces Round 972 (Div. 2) {2005} PROGRAMMING 750.0 Discussion stream (With Hints)
25138 The Strict Teacher (Easy Version) greedy math sortings Statement B1 Codeforces Round 972 (Div. 2) {2005} PROGRAMMING 500.0 Discussion stream (With Hints)
4425 Iris and the Tree brute force data structures dfs and similar dsu math trees Statement B Codeforces Round 969 (Div. 1) {2006} PROGRAMMING 1250.0 Tutorial
995 Iris and Adjacent Products divide and conquer math Statement D Codeforces Round 969 (Div. 1) {2006} PROGRAMMING 2000.0 Tutorial
9730 Iris and Game on the Tree games graphs greedy trees Statement A Codeforces Round 969 (Div. 1) {2006} PROGRAMMING 750.0 Tutorial
25445 Dora's Set math number theory Statement A Codeforces Round 969 (Div. 2) {2007} PROGRAMMING 500.0 Tutorial
16313 Dora and C++ math number theory Statement C Codeforces Round 969 (Div. 2) {2007} PROGRAMMING 1000.0 Tutorial
6782 Sakurako's Task binary search brute force greedy math number theory Statement G Codeforces Round 970 (Div. 3) {2008} PROGRAMMING Codeforces Round 970 (Div. 3) Editorial
3653 Sakurako's Test binary search brute force greedy math number theory Statement H Codeforces Round 970 (Div. 3) {2008} PROGRAMMING Codeforces Round 970 (Div. 3) Editorial
36945 Longest Good Array binary search brute force math Statement C Codeforces Round 970 (Div. 3) {2008} PROGRAMMING Codeforces Round 970 (Div. 3) Editorial
42256 Sakurako's Exam brute force constructive algorithms greedy math Statement A Codeforces Round 970 (Div. 3) {2008} PROGRAMMING Codeforces Round 970 (Div. 3) Editorial
23807 Sakurako's Hobby dp dsu graphs math Statement D Codeforces Round 970 (Div. 3) {2008} PROGRAMMING Codeforces Round 970 (Div. 3) Editorial
15916 Sakurako's Box math number theory Statement F Codeforces Round 970 (Div. 3) {2008} PROGRAMMING Codeforces Round 970 (Div. 3) Editorial
33229 Square or Not math strings Statement B Codeforces Round 970 (Div. 3) {2008} PROGRAMMING Codeforces Round 970 (Div. 3) Editorial
18005 Klee's SUPER DUPER LARGE Array!!! binary search math ternary search Statement E Codeforces Round 971 (Div. 4) {2009} PROGRAMMING Codeforces Round 971 (Div. 4) Editorial
74719 Minimize! brute force math Statement A Codeforces Round 971 (Div. 4) {2009} PROGRAMMING Codeforces Round 971 (Div. 4) Editorial
8640 Firefly's Queries data structures math Statement F Codeforces Round 971 (Div. 4) {2009} PROGRAMMING Codeforces Round 971 (Div. 4) Editorial
19117 Satyam and Counting geometry math Statement D Codeforces Round 971 (Div. 4) {2009} PROGRAMMING Codeforces Round 971 (Div. 4) Editorial
33563 The Legend of Freya the Frog implementation math Statement C Codeforces Round 971 (Div. 4) {2009} PROGRAMMING Codeforces Round 971 (Div. 4) Editorial
24961 Three Brothers brute force implementation math Statement B Testing Round 19 (Div. 3) {2010} PROGRAMMING 800
21491 Alternating Sum of Numbers implementation math Statement A Testing Round 19 (Div. 3) {2010} PROGRAMMING 800
58 Strange Matrix *special graphs greedy Statement H Kotlin Heroes: Episode 11 {2011} PROGRAMMING Kotlin Heroes 11 — Editorial
677 Game in Tree (Easy Version) binary search data structures games implementation trees Statement F1 Codeforces Round 973 (Div. 2) {2013} PROGRAMMING 2000.0 134298
7615 Minimize the Difference binary search data structures greedy implementation math Statement D Codeforces Round 973 (Div. 2) {2013} PROGRAMMING 2000.0 134298
4364 Prefix GCD brute force dp greedy math number theory Statement E Codeforces Round 973 (Div. 2) {2013} PROGRAMMING 2500.0 134298
28612 Battle for Survive constructive algorithms greedy math Statement B Codeforces Round 973 (Div. 2) {2013} PROGRAMMING 750.0 134298
31463 Zhan's Blender constructive algorithms math Statement A Codeforces Round 973 (Div. 2) {2013} PROGRAMMING 500.0 134298
27958 Robin Hood in Town binary search divide and conquer greedy math Statement C Codeforces Round 974 (Div. 3) {2014} PROGRAMMING Discussion stream (With Hints)
33695 Robin Hood and the Major Oak math Statement B Codeforces Round 974 (Div. 3) {2014} PROGRAMMING Discussion stream (With Hints)
246 Complex Segments (Easy Version) binary search data structures divide and conquer dsu greedy math sortings Statement E1 Codeforces Round 975 (Div. 1) {2018} PROGRAMMING 2250.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
210 Complex Segments (Hard Version) binary search data structures divide and conquer dsu greedy math sortings Statement E2 Codeforces Round 975 (Div. 1) {2018} PROGRAMMING 750.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
5307 Speedbreaker binary search dp greedy implementation math two pointers Statement B Codeforces Round 975 (Div. 1) {2018} PROGRAMMING 750.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
12828 Cards Partition brute force greedy implementation math Statement A Codeforces Round 975 (Div. 1) {2018} PROGRAMMING 500.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
343 Speedbreaker Counting (Easy Version) combinatorics dp games greedy implementation math Statement F1 Codeforces Round 975 (Div. 1) {2018} PROGRAMMING 1500.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
300 Speedbreaker Counting (Medium Version) dp greedy math Statement F2 Codeforces Round 975 (Div. 1) {2018} PROGRAMMING 1500.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
338 Speedbreaker Counting (Hard Version) dp greedy math Statement F3 Codeforces Round 975 (Div. 1) {2018} PROGRAMMING 1500.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
17525 All Pairs Segments data structures implementation math Statement B Codeforces Round 975 (Div. 2) {2019} PROGRAMMING 1000.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
22019 Brightness Begins binary search math Statement B Codeforces Round 976 (Div. 2) and Divide By Zero 9.0 {2020} PROGRAMMING 750.0 Tutorial for Codeforces Round 976 (Div. 2) and Divide By Zero 9.0
4078 Expected Power bitmasks brute force dp math number theory probabilities Statement E Codeforces Round 976 (Div. 2) and Divide By Zero 9.0 {2020} PROGRAMMING 2000.0 Tutorial for Codeforces Round 976 (Div. 2) and Divide By Zero 9.0
26200 Find Minimum Operations bitmasks greedy math Statement A Codeforces Round 976 (Div. 2) and Divide By Zero 9.0 {2020} PROGRAMMING 500.0 Tutorial for Codeforces Round 976 (Div. 2) and Divide By Zero 9.0
18631 Bitwise Balancing bitmasks implementation math Statement C Codeforces Round 976 (Div. 2) and Divide By Zero 9.0 {2020} PROGRAMMING 1250.0 Tutorial for Codeforces Round 976 (Div. 2) and Divide By Zero 9.0
7559 Connect the Dots brute force dfs and similar dp dsu graphs math trees Statement D Codeforces Round 976 (Div. 2) and Divide By Zero 9.0 {2020} PROGRAMMING 1500.0 Tutorial for Codeforces Round 976 (Div. 2) and Divide By Zero 9.0
272 Count Leaves dp math number theory Statement F Codeforces Round 976 (Div. 2) and Divide By Zero 9.0 {2020} PROGRAMMING 2750.0 Tutorial for Codeforces Round 976 (Div. 2) and Divide By Zero 9.0
1959 Digital Village (Easy Version) brute force data structures dp dsu graphs greedy implementation math shortest paths trees Statement E1 Codeforces Round 977 (Div. 2, based on COMPFEST 16 - Final Round) {2021} PROGRAMMING 1750.0 Codeforces Round #977 (Div. 2, based on COMPFEST 16 — Final Round) Editorial
19132 Maximize Mex brute force greedy math number theory Statement B Codeforces Round 977 (Div. 2, based on COMPFEST 16 - Final Round) {2021} PROGRAMMING 750.0 Codeforces Round #977 (Div. 2, based on COMPFEST 16 — Final Round) Editorial
1245 Digital Village (Hard Version) data structures dp dsu graphs math trees Statement E2 Codeforces Round 977 (Div. 2, based on COMPFEST 16 - Final Round) {2021} PROGRAMMING 750.0 Codeforces Round #977 (Div. 2, based on COMPFEST 16 — Final Round) Editorial
709 Digital Village (Extreme Version) data structures dp graphs greedy math Statement E3 Codeforces Round 977 (Div. 2, based on COMPFEST 16 - Final Round) {2021} PROGRAMMING 1000.0 Codeforces Round #977 (Div. 2, based on COMPFEST 16 — Final Round) Editorial
973 Boss, Thirsty data structures dp greedy math Statement D Codeforces Round 977 (Div. 2, based on COMPFEST 16 - Final Round) {2021} PROGRAMMING 2500.0 Codeforces Round #977 (Div. 2, based on COMPFEST 16 — Final Round) Editorial
21761 Meaning Mean data structures greedy math sortings Statement A Codeforces Round 977 (Div. 2, based on COMPFEST 16 - Final Round) {2021} PROGRAMMING 500.0 Codeforces Round #977 (Div. 2, based on COMPFEST 16 — Final Round) Editorial
17411 Bus to Pénjamo greedy implementation math Statement A Codeforces Round 978 (Div. 2) {2022} PROGRAMMING 750.0 Codeforces Round 978 (Div 2) Editorial
14848 Kar Salesman greedy math Statement B Codeforces Round 978 (Div. 2) {2022} PROGRAMMING 1000.0 Codeforces Round 978 (Div 2) Editorial
1399 C+K+S brute force constructive algorithms dfs and similar graphs greedy hashing math strings Statement C Codeforces Round 980 (Div. 1) {2023} PROGRAMMING 1500.0 135341
612 Many Games brute force dp math Statement D Codeforces Round 980 (Div. 1) {2023} PROGRAMMING 2250.0 135341
16849 Concatenation of Arrays constructive algorithms greedy math sortings Statement A Codeforces Round 980 (Div. 1) {2023} PROGRAMMING 500.0 135341
137 Hills and Pits data structures data structures math math Statement F Codeforces Round 980 (Div. 1) {2023} PROGRAMMING 3000.0 135341
23187 Profitable Interest Rate math Statement A Codeforces Round 980 (Div. 2) {2024} PROGRAMMING 500.0 135341
8022 Attribute Checks brute force data structures dp implementation math Statement D Educational Codeforces Round 170 (Rated for Div. 2) {2025} PROGRAMMING Educational Codeforces Round 170 Editorial
2397 Card Game combinatorics dp fft greedy math Statement E Educational Codeforces Round 170 (Rated for Div. 2) {2025} PROGRAMMING Educational Codeforces Round 170 Editorial
19844 Binomial Coefficients, Kind Of combinatorics math Statement B Educational Codeforces Round 170 (Rated for Div. 2) {2025} PROGRAMMING Educational Codeforces Round 170 Editorial
6070 Sums of Segments binary search data structures dp implementation math Statement D Educational Codeforces Round 171 (Rated for Div. 2) {2026} PROGRAMMING Educational Codeforces Round 171 Editorial
20500 Perpendicular Segments brute force geometry math Statement A Educational Codeforces Round 171 (Rated for Div. 2) {2026} PROGRAMMING Educational Codeforces Round 171 Editorial
258 Bit Game (Easy Version) bitmasks brute force games math Statement E1 Codeforces Round 982 (Div. 2) {2027} PROGRAMMING 2000.0 Codeforces Round #982 (Div. 2) Editorial
111 Bit Game (Hard Version) bitmasks dp math Statement E2 Codeforces Round 982 (Div. 2) {2027} PROGRAMMING 1000.0 Codeforces Round #982 (Div. 2) Editorial
17956 Stalin Sort brute force greedy Statement B Codeforces Round 982 (Div. 2) {2027} PROGRAMMING 1000.0 Codeforces Round #982 (Div. 2) Editorial
22203 Rectangle Arrangement geometry implementation math Statement A Codeforces Round 982 (Div. 2) {2027} PROGRAMMING 500.0 Codeforces Round #982 (Div. 2) Editorial
13551 Alice's Adventures in Permuting binary search implementation math Statement B Codeforces Round 986 (Div. 2) {2028} PROGRAMMING 1000.0 Codeforces Round 986 (Div. 2) Editorial
555 Alice's Adventures in Addition bitmasks dp implementation Statement F Codeforces Round 986 (Div. 2) {2028} PROGRAMMING 2500.0 Codeforces Round 986 (Div. 2) Editorial