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 ... 95 96 97 98 99 100 101 102 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
41973 Problem Generator Statement A Codeforces Round 950 (Div. 3) {1980} PROGRAMMING 130135
10916 Permutation of Rows and Columns constructive algorithms data structures hashing math matrices sortings Statement E Codeforces Round 950 (Div. 3) {1980} PROGRAMMING 130135
14840 GCD-sequence greedy implementation math math number theory number theory Statement D Codeforces Round 950 (Div. 3) {1980} PROGRAMMING 130135
1046 Field Division (hard version) math sortings Statement F2 Codeforces Round 950 (Div. 3) {1980} PROGRAMMING 130135
3866 Field Division (easy version) data structures geometry math sortings Statement F1 Codeforces Round 950 (Div. 3) {1980} PROGRAMMING 130135
35433 Choosing Cubes sortings sortings Statement B Codeforces Round 950 (Div. 3) {1980} PROGRAMMING 130135
22773 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
286 Turtle and Paths on a Tree data structures dp trees Statement F Codeforces Round 949 (Div. 2) {1981} PROGRAMMING 3500.0 Simplified Chinese Tutorial
1741 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
948 Turtle and Intersected Segments data structures ds graphs greedy Statement E Codeforces Round 949 (Div. 2) {1981} PROGRAMMING 2500.0 Simplified Chinese Tutorial
14219 Turtle and an Infinite Sequence bitmasks math Statement B Codeforces Round 949 (Div. 2) {1981} PROGRAMMING 1000.0 Simplified Chinese Tutorial
5520 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
988 Sorting Problem Again binary search data structures Statement F Codeforces Round 955 (Div. 2, with prizes from NEAR!) {1982} PROGRAMMING 3000.0 130839
25676 Soccer greedy implementation math sortings Statement A Codeforces Round 955 (Div. 2, with prizes from NEAR!) {1982} PROGRAMMING 500.0 130839
1648 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
17456 Collatz Conjecture brute force implementation math number theory Statement B Codeforces Round 955 (Div. 2, with prizes from NEAR!) {1982} PROGRAMMING 1000.0 130839
18427 Boring Day binary search data structures dp greedy two pointers Statement C Codeforces Round 955 (Div. 2, with prizes from NEAR!) {1982} PROGRAMMING 1000.0 130839
7429 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
218 Your Loss bitmasks brute force trees Statement G Codeforces Round 956 (Div. 2) and ByteRace 2024 {1983} PROGRAMMING 3000.0
8543 Swap Dilemma constructive algorithms divide and conquer greedy math sortings Statement D Codeforces Round 956 (Div. 2) and ByteRace 2024 {1983} PROGRAMMING 1750.0
2087 I Love Balls combinatorics math probabilities Statement E Codeforces Round 956 (Div. 2) and ByteRace 2024 {1983} PROGRAMMING 2000.0
12948 Have Your Cake and Eat It Too binary search brute force dp greedy implementation Statement C Codeforces Round 956 (Div. 2) and ByteRace 2024 {1983} PROGRAMMING 1250.0
16599 Corner Twist constructive algorithms greedy implementation math Statement B Codeforces Round 956 (Div. 2) and ByteRace 2024 {1983} PROGRAMMING 1000.0
1259 array-value binary search bitmasks data structures two pointers Statement F Codeforces Round 956 (Div. 2) and ByteRace 2024 {1983} PROGRAMMING 2500.0
26325 Array Divisibility constructive algorithms math Statement A Codeforces Round 956 (Div. 2) and ByteRace 2024 {1983} PROGRAMMING 500.0
173 Tower Capturing dp geometry Statement H Codeforces Global Round 26 {1984} PROGRAMMING 5000.0 Codeforces Global Round 26 Editorial
21583 Strange Splitting constructive algorithms Statement A Codeforces Global Round 26 {1984} PROGRAMMING 500.0 Codeforces Global Round 26 Editorial
1473 Shuffle constructive algorithms dp greedy trees Statement E Codeforces Global Round 26 {1984} PROGRAMMING 3000.0 Codeforces Global Round 26 Editorial
969 Reconstruction brute force dp Statement F Codeforces Global Round 26 {1984} PROGRAMMING 3000.0 Codeforces Global Round 26 Editorial
7655 Magnitude (Hard Version) combinatorics dp greedy Statement C2 Codeforces Global Round 26 {1984} PROGRAMMING 1250.0 Codeforces Global Round 26 Editorial
17306 Magnitude (Easy Version) dp greedy Statement C1 Codeforces Global Round 26 {1984} PROGRAMMING 750.0 Codeforces Global Round 26 Editorial
265 Magic Trick II constructive algorithms implementation sortings Statement G Codeforces Global Round 26 {1984} PROGRAMMING 4000.0 Codeforces Global Round 26 Editorial
18875 Large Addition constructive algorithms implementation math Statement B Codeforces Global Round 26 {1984} PROGRAMMING 750.0 Codeforces Global Round 26 Editorial
3383 ''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
20647 Secret Box brute force combinatorics math Statement E Codeforces Round 952 (Div. 4) {1985} PROGRAMMING Codeforces Round 952 (Div. 4) Editorial
48217 Maximum Multiple Sum brute force math Statement B Codeforces Round 952 (Div. 4) {1985} PROGRAMMING Codeforces Round 952 (Div. 4) Editorial
1582 Maximize the Largest Component (Hard Version) data structures dfs and similar ds implementation Statement H2 Codeforces Round 952 (Div. 4) {1985} PROGRAMMING Codeforces Round 952 (Div. 4) Editorial
5860 Maximize the Largest Component (Easy Version) brute force data structures dfs and similar ds graphs implementation Statement H1 Codeforces Round 952 (Div. 4) {1985} PROGRAMMING Codeforces Round 952 (Div. 4) Editorial
35959 Manhattan Circle implementation math Statement D Codeforces Round 952 (Div. 4) {1985} PROGRAMMING Codeforces Round 952 (Div. 4) Editorial
33826 Good Prefixes greedy implementation Statement C Codeforces Round 952 (Div. 4) {1985} PROGRAMMING Codeforces Round 952 (Div. 4) Editorial
16101 Final Boss binary search brute force data structures Statement F Codeforces Round 952 (Div. 4) {1985} PROGRAMMING Codeforces Round 952 (Div. 4) Editorial
9850 D-Function bitmasks combinatorics math number theory Statement G Codeforces Round 952 (Div. 4) {1985} PROGRAMMING Codeforces Round 952 (Div. 4) Editorial
57071 Creating Words implementation strings Statement A Codeforces Round 952 (Div. 4) {1985} PROGRAMMING Codeforces Round 952 (Div. 4) Editorial
42048 X Axis brute force math sortings Statement A Codeforces Round 954 (Div. 3) {1986} PROGRAMMING 130762
23384 Update Queries data structures greedy sortings Statement C Codeforces Round 954 (Div. 3) {1986} PROGRAMMING 130762
1558 Permutation Problem (Simple Version) brute force combinatorics math number theory Statement G1 Codeforces Round 954 (Div. 3) {1986} PROGRAMMING 130762
1143 Permutation Problem (Hard Version) brute force data structures hashing math number theory Statement G2 Codeforces Round 954 (Div. 3) {1986} PROGRAMMING 130762
4782 Non-academic Problem combinatorics dfs and similar ds graphs Statement F Codeforces Round 954 (Div. 3) {1986} PROGRAMMING 130762
27251 Matrix Stabilization brute force greedy sortings Statement B Codeforces Round 954 (Div. 3) {1986} PROGRAMMING 130762
15699 Mathematical Problem brute force dp two pointers Statement D Codeforces Round 954 (Div. 3) {1986} PROGRAMMING 130762
9152 Beautiful Array dp math sortings Statement E Codeforces Round 954 (Div. 3) {1986} PROGRAMMING 130762
7405 World is Mine dp games greedy Statement D EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) {1987} PROGRAMMING 1500.0 EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) Editorial
3504 Wonderful Tree! brute force dfs and similar dp flows greedy trees Statement E EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) {1987} PROGRAMMING 1750.0 EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) Editorial
25984 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
176 Spinning Round (Hard Version) dp Statement G2 EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) {1987} PROGRAMMING 2000.0 EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) Editorial
279 Spinning Round (Easy Version) dp trees Statement G1 EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) {1987} PROGRAMMING 3000.0 EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) Editorial
21094 K-Sort greedy Statement B EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) {1987} PROGRAMMING 750.0 EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) Editorial
1071 Interesting Problem (Hard Version) dp Statement F2 EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) {1987} PROGRAMMING 500.0 EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) Editorial
1166 Interesting Problem (Easy Version) dp Statement F1 EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) {1987} PROGRAMMING 2000.0 EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) Editorial
109 Fumo Temple interactive Statement H EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) {1987} PROGRAMMING 5000.0 EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) Editorial
17945 Basil's Garden dp greedy Statement C EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) {1987} PROGRAMMING 1000.0 EPIC Institute of Technology Round Summer 2024 (Div. 1 + Div. 2) Editorial
5128 The Omnipotent Monster Killer brute force dp trees Statement D Codeforces Round 958 (Div. 2) {1988} PROGRAMMING 2000.0 Editorial of Codeforces Round 958 (Div. 2)
24001 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)
1504 Range Minimum Sum binary search brute force data structures implementation Statement E Codeforces Round 958 (Div. 2) {1988} PROGRAMMING 2500.0 Editorial of Codeforces Round 958 (Div. 2)
23518 Make Majority greedy Statement B Codeforces Round 958 (Div. 2) {1988} PROGRAMMING 1000.0 Editorial of Codeforces Round 958 (Div. 2)
17397 Increasing Sequence with Fixed OR bitmasks constructive algorithms greedy Statement C Codeforces Round 958 (Div. 2) {1988} PROGRAMMING 1000.0 Editorial of Codeforces Round 958 (Div. 2)
241 Heartbeat combinatorics dp fft math Statement F Codeforces Round 958 (Div. 2) {1988} PROGRAMMING 3500.0 Editorial of Codeforces Round 958 (Div. 2)
19251 Two Movies greedy Statement C Educational Codeforces Round 167 (Rated for Div. 2) {1989} PROGRAMMING Educational Codeforces Round 167 Editorial
20778 Substring and Subsequence bitmasks brute force dp graphs greedy hashing strings trees Statement B Educational Codeforces Round 167 (Rated for Div. 2) {1989} PROGRAMMING Educational Codeforces Round 167 Editorial
6177 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
466 Simultaneous Coloring dfs and similar divide and conquer graphs Statement F Educational Codeforces Round 167 (Rated for Div. 2) {1989} PROGRAMMING Educational Codeforces Round 167 Editorial
2059 Distance to Different combinatorics dp Statement E Educational Codeforces Round 167 (Rated for Div. 2) {1989} PROGRAMMING Educational Codeforces Round 167 Editorial
26954 Catch the Coin implementation Statement A Educational Codeforces Round 167 (Rated for Div. 2) {1989} PROGRAMMING Educational Codeforces Round 167 Editorial
23519 Submission Bait brute force games greedy sortings Statement A Codeforces Round 960 (Div. 2) {1990} PROGRAMMING 500.0 Video Tutorial
315 Polygonal Segments data structures geometry two pointers Statement F Codeforces Round 960 (Div. 2) {1990} PROGRAMMING 3000.0 Video Tutorial
12151 Mad MAD Sum brute force greedy math Statement C Codeforces Round 960 (Div. 2) {1990} PROGRAMMING 1500.0 Video Tutorial
6548 Grid Puzzle bitmasks dp greedy Statement D Codeforces Round 960 (Div. 2) {1990} PROGRAMMING 1750.0 Video Tutorial
906 Catch the Mole(Hard Version) binary search data structures dfs and similar interactive trees Statement E2 Codeforces Round 960 (Div. 2) {1990} PROGRAMMING 750.0 Video Tutorial
967 Catch the Mole(Easy Version) binary search constructive algorithms data structures interactive trees Statement E1 Codeforces Round 960 (Div. 2) {1990} PROGRAMMING 2000.0 Video Tutorial
17189 Array Craft constructive algorithms greedy Statement B Codeforces Round 960 (Div. 2) {1990} PROGRAMMING 1000.0 Video Tutorial
2437 Triangle Formation brute force greedy math sortings Statement F Pinely Round 4 (Div. 1 + Div. 2) {1991} PROGRAMMING 2500.0 Video Tutorial
6854 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
514 Prime Split Game fft games math number theory Statement H Pinely Round 4 (Div. 1 + Div. 2) {1991} PROGRAMMING 3500.0 Video Tutorial
22294 Maximize the Last Element greedy implementation Statement A Pinely Round 4 (Div. 1 + Div. 2) {1991} PROGRAMMING 250.0 Video Tutorial
626 Grid Reset constructive algorithms greedy Statement G Pinely Round 4 (Div. 1 + Div. 2) {1991} PROGRAMMING 3000.0 Video Tutorial
136 Grid Game constructive algorithms games greedy interactive Statement I Pinely Round 4 (Div. 1 + Div. 2) {1991} PROGRAMMING 4000.0 Video Tutorial
4356 Coloring Game constructive algorithms games graphs greedy interactive Statement E Pinely Round 4 (Div. 1 + Div. 2) {1991} PROGRAMMING 2000.0 Video Tutorial
16880 AND Reconstruction bitmasks constructive algorithms greedy Statement B Pinely Round 4 (Div. 1 + Div. 2) {1991} PROGRAMMING 500.0 Video Tutorial
15185 Absolute Zero constructive algorithms greedy math Statement C Pinely Round 4 (Div. 1 + Div. 2) {1991} PROGRAMMING 1000.0 Video Tutorial
5943 Valuable Cards dp greedy number theory two pointers Statement F Codeforces Round 957 (Div. 3) {1992} PROGRAMMING Shayan's Video Tutorial
3265 Ultra-Meow combinatorics math number theory Statement G Codeforces Round 957 (Div. 3) {1992} PROGRAMMING Shayan's Video Tutorial
21091 Test of Love dp greedy implementation Statement D Codeforces Round 957 (Div. 3) {1992} PROGRAMMING Shayan's Video Tutorial
42716 Only Pluses brute force constructive algorithms greedy math sortings Statement A Codeforces Round 957 (Div. 3) {1992} PROGRAMMING Shayan's Video Tutorial
9423 Novice's Mistake brute force constructive algorithms math strings Statement E Codeforces Round 957 (Div. 3) {1992} PROGRAMMING Shayan's Video Tutorial
29910 Gorilla and Permutation constructive algorithms math Statement C Codeforces Round 957 (Div. 3) {1992} PROGRAMMING Shayan's Video Tutorial
34981 Angry Monk greedy math sortings Statement B Codeforces Round 957 (Div. 3) {1992} PROGRAMMING Shayan's Video Tutorial
572 Xor-Grid Problem bitmasks dp Statement E Codeforces Round 963 (Div. 2) {1993} PROGRAMMING 2750.0
30183 Question Marks greedy implementation Statement A Codeforces Round 963 (Div. 2) {1993} PROGRAMMING 500.0
23537 Parity and Sum constructive algorithms greedy Statement B Codeforces Round 963 (Div. 2) {1993} PROGRAMMING 1000.0
3866 Med-imize binary search data structures dp greedy Statement D Codeforces Round 963 (Div. 2) {1993} PROGRAMMING 2000.0