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

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
1009 Parquet combinatorics constructive algorithms Statement C Codeforces Beta Round 26 (Codeforces format) {26} PROGRAMMING Разбор Codeforces Beta Round #26 (ещё один) 2200
528 Playing with Superglue combinatorics constructive algorithms Statement C Croc Champ 2012 - Round 2 {176} PROGRAMMING Croc Champ 2012 — Round 2 — Editorial 2000
1294 Dima and Horses combinatorics constructive algorithms graphs Statement E Codeforces Round 167 (Div. 2) {272} PROGRAMMING Codeforces Round #167 tutorial 2300
963 Black-and-White Cube combinatorics constructive algorithms Statement A Testing Round 7 {323} PROGRAMMING 1600
1575 Axis Walking bitmasks combinatorics constructive algorithms dp meet-in-the-middle Statement E Codeforces Round 191 (Div. 2) {327} PROGRAMMING Codeforces Round #191 — Tutorial 2500
2430 Two Heaps combinatorics constructive algorithms greedy implementation math sortings Statement B Codeforces Round 205 (Div. 2) {353} PROGRAMMING 9145 1800
1395 Compartments combinatorics constructive algorithms greedy implementation Statement C Codeforces Round 207 (Div. 1) {356} PROGRAMMING Codeforces Round #207: разбор задач 2200
6480 Pashmak and Buses combinatorics constructive algorithms math Statement C Codeforces Round 261 (Div. 2) {459} PROGRAMMING Codeforces Round #261 Editorial 1900
41118 Random Teams combinatorics constructive algorithms greedy math Statement B Codeforces Round 273 (Div. 2) {478} PROGRAMMING Editorial 1300
2263 Kyoya and Permutation binary search combinatorics constructive algorithms greedy implementation math Statement B Codeforces Round 309 (Div. 1) {553} PROGRAMMING Codeforces Round #309 Editorial 2200
1998 Square Root of Permutation combinatorics constructive algorithms dfs and similar graphs math Statement E Educational Codeforces Round 4 {612} PROGRAMMING 22299 2200
14829 Far Relative’s Birthday Cake brute force combinatorics constructive algorithms implementation Statement A Codeforces Round 343 (Div. 2) {629} PROGRAMMING Editorial of Codeforces Round #343 (Div.2) 800
7958 Tennis Championship combinatorics constructive algorithms greedy math Statement C Codeforces Round 382 (Div. 2) {735} PROGRAMMING Codeforces Round #382 Editorial 1700
2882 Weird journey combinatorics constructive algorithms dfs and similar dsu graphs Statement B Codeforces Round 407 (Div. 1) {788} PROGRAMMING Codeforces Round #407(Div.1 + Div.2) Editorial 2200
1600 Karen and Test brute force combinatorics constructive algorithms math Statement B Codeforces Round 419 (Div. 1) {815} PROGRAMMING Codeforces Round #419 Editorial 2200
4692 Ralph And His Magic Field combinatorics constructive algorithms math number theory Statement B Codeforces Round 447 (Div. 2) {894} PROGRAMMING Codeforces Round #447 (Div.2 Only) Editorial 1800
5455 Print a 1337-string... combinatorics constructive algorithms math strings Statement D Educational Codeforces Round 70 (Rated for Div. 2) {1202} PROGRAMMING 68972 1900
1776 Beautiful Rectangle brute force combinatorics constructive algorithms data structures greedy math Statement C Codeforces Round 606 (Div. 1, based on Technocup 2020 Elimination Round 4) {1276} PROGRAMMING Technocup 2020 — Elimination Round 4 + Codeforces Round 606: Editorial 2300
93 Intergalactic Sliding Puzzle combinatorics constructive algorithms math Statement F Codeforces Round 607 (Div. 1) {1280} PROGRAMMING Codeforces Round #607 Editorial 3400
4300 Height All the Same combinatorics constructive algorithms math matrices Statement E Codeforces Round 630 (Div. 2) {1332} PROGRAMMING 1750.0 Codeforces Round #630 Editorial 2100
1413 Secure Password bitmasks combinatorics constructive algorithms interactive math Statement G Codeforces Round 648 (Div. 2) {1365} PROGRAMMING 3000.0 Editorial — Codeforces Round #648 2800
4414 Almost Sorted binary search bitmasks combinatorics constructive algorithms dp implementation math Statement B Codeforces Round 715 (Div. 1) {1508} PROGRAMMING 1000.0 Codeforces Round #715 Editorial
19960 AND Sequences bitmasks combinatorics constructive algorithms Statement B Divide by Zero 2021 and Codeforces Round 714 (Div. 2) {1513} PROGRAMMING 1250.0 Divide by Zero 2021 and Codeforces Round #714 (Div. 2) Editorial
1675 Cost Equilibrium combinatorics constructive algorithms math sortings Statement E Divide by Zero 2021 and Codeforces Round 714 (Div. 2) {1513} PROGRAMMING 2750.0 Divide by Zero 2021 and Codeforces Round #714 (Div. 2) Editorial
1413 Oolimry and Suffix Array combinatorics constructive algorithms math string suffix structures Statement E Codeforces Round 723 (Div. 2) {1526} PROGRAMMING 2500.0 Codeforces Round #723 (Div. 2) Editorial
2283 MEX Tree combinatorics constructive algorithms data structures dfs and similar math trees Statement D Codeforces Round 721 (Div. 2) {1527} PROGRAMMING 2250.0 Tutorial 2400
765 AquaMoon and Permutations combinatorics constructive algorithms graph matchings graphs Statement C Codeforces Round 732 (Div. 1) {1545} PROGRAMMING 1500.0 Codeforces Round #732 Editorial 2800
2055 Excellent Arrays brute force combinatorics constructive algorithms implementation math Statement D Educational Codeforces Round 111 (Rated for Div. 2) {1550} PROGRAMMING Educational Codeforces Round 111 Editorial
6279 Maximize the Intersections combinatorics constructive algorithms geometry greedy Statement C Codeforces Global Round 15 {1552} PROGRAMMING 1000.0 Editorial of Global Round 15
3767 Permutation Shift brute force combinatorics constructive algorithms dfs and similar graphs math Statement E Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2) {1553} PROGRAMMING 1750.0 Harbour.Space Scholarship Contest 2021-2022 (Div. 1 + Div. 2) Editorial
1037 Coloring combinatorics constructive algorithms implementation Statement E Educational Codeforces Round 114 (Rated for Div. 2) {1574} PROGRAMMING 95188
298 Omkar and Mosaic combinatorics constructive algorithms math Statement I Codeforces Round 749 (Div. 1 + Div. 2, based on Technocup 2022 Elimination Round 1) {1586} PROGRAMMING 4000.0 Editorial for Technocup 2022 — Elimination Round 1 and Codeforces Round #749 (Div. 1+Div. 2)
997 Max Sum Array combinatorics constructive algorithms greedy sortings Statement G Educational Codeforces Round 117 (Rated for Div. 2) {1612} PROGRAMMING 97164
11282 Divan and bitwise operations bitmasks combinatorics constructive algorithms dp math Statement C Codeforces Round 757 (Div. 2) {1614} PROGRAMMING 1500.0 Tutorial 1500
309 Become Big For Me combinatorics constructive algorithms math number theory Statement E Codeforces Round 796 (Div. 1) {1687} PROGRAMMING 2000.0 Editorial of Codeforces Round 796
1449 Coloring brute force combinatorics constructive algorithms dfs and similar dp dsu graphs implementation Statement E Educational Codeforces Round 130 (Rated for Div. 2) {1697} PROGRAMMING 103835
1782 PermutationForces II binary search brute force combinatorics constructive algorithms greedy sortings Statement E Codeforces Round 803 (Div. 2) {1698} PROGRAMMING 2000.0 Codeforces Round #803 (Div. 2) Editorial
7142 Mark and Lightbulbs combinatorics constructive algorithms math sortings Statement D Codeforces Round 807 (Div. 2) {1705} PROGRAMMING 1750.0 Codeforces Round #807 (Div 2.) Editorial
681 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
10070 Card Game combinatorics constructive algorithms dp games Statement C Educational Codeforces Round 136 (Rated for Div. 2) {1739} PROGRAMMING Educational Codeforces Round 136 Editorial
3242 ConstructOR bitmasks chinese remainder theorem combinatorics constructive algorithms number theory Statement D Codeforces Round 833 (Div. 2) {1748} PROGRAMMING 2000.0 Codeforces Round #833 (Div. 2) Editorial 2100
11188 Playoff combinatorics constructive algorithms dp graphs greedy Statement D Educational Codeforces Round 140 (Rated for Div. 2) {1767} PROGRAMMING 110225
603 Segment Covering brute force combinatorics constructive algorithms data structures trees Statement G Polynomial Round 2022 (Div. 1 + Div. 2, Rated, Prizes!) {1774} PROGRAMMING 3250.0 Polynomial Round 2022 (Div. 1 + Div. 2) Editorial
2370 Another Wine Tasting Event combinatorics constructive algorithms strings Statement G SWERC 2022-2023 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1776} PROGRAMMING
1312 Bracket Insertion brute force combinatorics constructive algorithms dp math trees Statement F VK Cup 2022 - Отборочный раунд (Engine) {1781} PROGRAMMING 3250.0 Tutorial
17155 A-characteristic combinatorics constructive algorithms math Statement A Codeforces Round 868 (Div. 2) {1823} PROGRAMMING 500.0 115465
19775 Ice Cream Balls binary search combinatorics constructive algorithms math Statement D Codeforces Round 894 (Div. 3) {1862} PROGRAMMING Tutorial
3035 Guess Game bitmasks combinatorics constructive algorithms data structures games math probabilities strings trees Statement E Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) {1864} PROGRAMMING 2000.0 Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) Editorial
315 Magic Square combinatorics constructive algorithms Statement G Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) {1864} PROGRAMMING 3000.0 Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) Editorial
3624 One-Dimensional Puzzle combinatorics constructive algorithms math number theory Statement G Codeforces Round 925 (Div. 3) {1931} PROGRAMMING 125878
899 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
22139 Earning on Bets binary search combinatorics constructive algorithms number theory Statement C Codeforces Round 951 (Div. 2) {1979} PROGRAMMING 1500.0 Codeforces Round 951 (Div. 2) Editorial
164 Dora's Paint brute force combinatorics constructive algorithms graphs Statement F Codeforces Round 969 (Div. 1) {2006} PROGRAMMING 3000.0 Tutorial
23626 Minimise Oneness brute force combinatorics constructive algorithms Statement B Codeforces Round 979 (Div. 2) {2030} PROGRAMMING 500.0 Codeforces Round 979 Editorial
2015 Permutations Harmony brute force combinatorics constructive algorithms greedy hashing implementation math Statement E Rayan Programming Contest 2024 - Selection (Codeforces Round 989, Div. 1 + Div. 2) {2034} PROGRAMMING 2000.0 Rayan 2024 Selection Round Editorial
2368 Shohag Loves Inversions combinatorics constructive algorithms dp math Statement E CodeTON Round 9 (Div. 1 + Div. 2, Rated, Prizes!) {2039} PROGRAMMING 2750.0 Editorial of CodeTON Round 9 (Div. 1 + Div. 2)
8401 Goodbye, Banker Life bitmasks combinatorics constructive algorithms math number theory Statement F Codeforces Round 1006 (Div. 3) {2072} PROGRAMMING Codeforces Round 1006 (Div. 3) Editorial
30865 Having Been a Treasurer in the Past, I Help Goblins Deceive combinatorics constructive algorithms strings Statement B Codeforces Round 1006 (Div. 3) {2072} PROGRAMMING Codeforces Round 1006 (Div. 3) Editorial
3798 She knows... combinatorics constructive algorithms graphs math Statement E Codeforces Round 1014 (Div. 2) {2092} PROGRAMMING 2250.0 Codeforces Round #1014 (Div. 2) Editorial
877 Sea, You & copriMe brute force combinatorics constructive algorithms graphs greedy math number theory Statement H Codeforces Round 1042 (Div. 3) {2131} PROGRAMMING Codeforces Round 1042 (Div. 3) Editorial
115 Keygen 3 brute force combinatorics constructive algorithms Statement H Codeforces Round 1066 (Div. 1 + Div. 2) {2157} PROGRAMMING 3750.0 Codeforces Round 1066 (Div. 1 + Div. 2) Editorial
209 Distinct GCDs (Hard Version) combinatorics constructive algorithms graphs graphs graphs math number theory number theory Statement F2 Codeforces Round 1067 (Div. 2) {2158} PROGRAMMING 1000.0 Codeforces Round 1067 (Div. 2) Editorial
10510 Sub-RBS (Easy Version) combinatorics constructive algorithms dp greedy strings two pointers Statement B1 Codeforces Round 1073 (Div. 1) {2190} PROGRAMMING 750.0 Codeforces Round 1073 (Div. 1, Div. 2) Editorial