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
309 Doe Graphs constructive algorithms divide and conquer dp graphs shortest paths Statement C Codeforces Round 144 (Div. 1) {232} PROGRAMMING Editorial for Codeforces Round #144 2700
7273 Gargari and Permutations dfs and similar dp graphs implementation Statement D Codeforces Round 264 (Div. 2) {463} PROGRAMMING CF 264 Div 2 Tutorial 2000
620 Kyoya and Train dp fft graphs math probabilities Statement E Codeforces Round 309 (Div. 1) {553} PROGRAMMING Codeforces Round #309 Editorial 3300
524 Black Widow dp graphs implementation math Statement C Codeforces Round 366 (Div. 1) {704} PROGRAMMING Tutorial 2800
1443 Vulnerable Kerbals constructive algorithms dp graphs math number theory Statement C VK Cup 2017 - Round 2 {772} PROGRAMMING VK Cup Round 2 + Codeforces Round #409 Tutorial 2400
338 Perpetual Motion Machine constructive algorithms dp graphs implementation math trees Statement E Codeforces Round 424 (Div. 1, rated, based on VK Cup Finals) {830} PROGRAMMING Codeforces Round #424 Editorial 3100
461 Tournament Construction constructive algorithms dp graphs greedy math Statement D Codeforces Round 432 (Div. 1, based on IndiaHacks Final Round 2017) {850} PROGRAMMING Codeforces Round #432 editorial 2700
764 Strongly Connected Tournament dp graphs math probabilities Statement F Hello 2018 {913} PROGRAMMING Tutorial 2700
3755 Mahmoud and Ehab and the xor-MST bitmasks dp graphs implementation math Statement E Codeforces Round 473 (Div. 2) {959} PROGRAMMING Codeforces round #473 editorial 1900
1162 Graph Traveler brute force data structures dfs and similar dp graphs implementation math number theory Statement F Codeforces Round 578 (Div. 2) {1200} PROGRAMMING Codeforces Round #578 (Div. 2) Editorial 2500
132 Red-Blue Graph dp graphs math matrices meet-in-the-middle Statement H Codeforces Global Round 6 {1266} PROGRAMMING Codeforces Global Round 6 Editorial 3400
966 Chaotic V. dp graphs greedy math number theory trees Statement D Codeforces Round 614 (Div. 1) {1292} PROGRAMMING 1750.0 Codeforces Round #614 Editorial 2700
528 Around the World bitmasks combinatorics dfs and similar dp graphs graphs math trees Statement D Codeforces Round 618 (Div. 1) {1299} PROGRAMMING 1750.0 Codeforces Round #618 Editorial 2900
1976 Quantifier Question dfs and similar dp graphs math Statement C Codeforces Round 639 (Div. 1) {1344} PROGRAMMING 1500.0 Codeforces Round #639 Editorial 2600
9216 TediousLee dp graphs greedy math matrices trees Statement D Codeforces Round 652 (Div. 2) {1369} PROGRAMMING 2000.0 Codeforces Round #652 (Div. 2) Editorial 1900
489 Finding satisfactory solutions dp graphs greedy math Statement H Good Bye 2020 {1466} PROGRAMMING 3500.0 Good Bye 2020 Editorial
13768 Little Alawn's Puzzle combinatorics dfs and similar dp dsu graphs math Statement C Codeforces LATOKEN Round 1 (Div. 1 + Div. 2) {1534} PROGRAMMING 1250.0 Codeforces LATOKEN Round 1 (Div. 1 + Div. 2) Editorial
7861 Array Differentiation bitmasks dp graphs math Statement D Codeforces Global Round 15 {1552} PROGRAMMING 1000.0 Editorial of Global Round 15
1415 Sports Betting bitmasks combinatorics dp graphs math probabilities Statement F Deltix Round, Summer 2021 (open for everyone, rated, Div. 1 + Div. 2) {1556} PROGRAMMING 2500.0 94384 2500
1008 Christmas Chocolates dfs and similar dp games graphs implementation math number theory shortest paths trees Statement E Codeforces Round 761 (Div. 2) {1617} PROGRAMMING 3000.0 Editorial for Codeforces Round #761 (Div. 2)
678 Multiset of Strings dp fft flows graphs greedy math Statement F Educational Codeforces Round 132 (Rated for Div. 2) {1709} PROGRAMMING 105164
2198 Node Pairs dp graphs math Statement E Codeforces Round 840 (Div. 2) and Enigma 2022 - Cybros LNMIIT {1763} PROGRAMMING 2000.0 Codeforces Round #840 (Div. 2) and Enigma 2022 — Cybros LNMIIT Editorial
862 Maximizing Root dfs and similar dp graphs math trees Statement F Codeforces Round 848 (Div. 2) {1778} PROGRAMMING 2750.0 Codeforces Round #848 (Div. 2) Editorial
1283 Random Walk dp graphs math probabilities trees Statement F Codeforces Round 868 (Div. 2) {1823} PROGRAMMING 2500.0 115465
2739 Candy Party (Hard Version) bitmasks constructive algorithms dp graphs greedy implementation math Statement B2 Codeforces Round 896 (Div. 1) {1868} PROGRAMMING 750.0 Codeforces Round 896 (Div. 1, Div. 2) Editorial
1387 Jellyfish and Math bitmasks dp graphs shortest paths Statement B Codeforces Round 901 (Div. 1) {1874} PROGRAMMING 1250.0 Codeforces Round 901 (Div. 1, Div. 2) Editorial
2169 Jellyfish and EVA dp graphs greedy math probabilities Statement C Codeforces Round 901 (Div. 1) {1874} PROGRAMMING 1500.0 Codeforces Round 901 (Div. 1, Div. 2) Editorial
2385 Light Bulbs (Easy Version) brute force combinatorics dfs and similar dp dsu graphs math Statement G1 Codeforces Round 916 (Div. 3) {1914} PROGRAMMING Codeforces Round 916 (Div. 3) Editorial
23367 Sakurako's Hobby dp dsu graphs math Statement D Codeforces Round 970 (Div. 3) {2008} PROGRAMMING Codeforces Round 970 (Div. 3) Editorial
7392 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
1918 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
1198 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
676 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
395 Managing Cluster dp graphs math trees Statement M 2024-2025 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2052} PROGRAMMING
105 Affectionate Arrays (Hard Version) data structures dp graphs greedy math shortest paths two pointers Statement I2 Good Bye 2024: 2025 is NEAR {2053} PROGRAMMING 2000.0 Good Bye 2024: 2025 is NEAR Editorial
2594 Another Exercise on Graphs (Easy Version) binary search brute force dp graphs shortest paths Statement E1 Hello 2025 {2057} PROGRAMMING 1000.0
1492 Gleb and Boating brute force constructive algorithms data structures dp graphs greedy math shortest paths Statement G Codeforces Round 1013 (Div. 3) {2091} PROGRAMMING Codeforces Round 1013 (Div. 3) Editorial
270 Kia Bakes a Cake data structures dp graphs greedy Statement E Codeforces Round 1024 (Div. 1) {2101} PROGRAMMING 3250.0 142788
3306 Tree Colorings combinatorics dp graphs math trees Statement E Educational Codeforces Round 180 (Rated for Div. 2) {2112} PROGRAMMING Educational Codeforces Round 180 — Editorial
2481 Red Light, Green Light (Hard version) binary search dfs and similar dp dsu graphs implementation number theory Statement D2 Codeforces Round 1030 (Div. 2) {2118} PROGRAMMING 1000.0 Codeforces Round 1030 (Div. 2) Editorial
8397 Red Light, Green Light (Easy version) brute force dfs and similar dp graphs implementation Statement D1 Codeforces Round 1030 (Div. 2) {2118} PROGRAMMING 1250.0 Codeforces Round 1030 (Div. 2) Editorial
2456 Traffic Lights brute force dp graphs shortest paths Statement D Order Capital Round 1 (Codeforces Round 1038, Div. 1 + Div. 2) {2122} PROGRAMMING 2000.0 Order Capital Round 1 (Codeforces Round 1038, Div. 1 + Div. 2) Editorial
2757 Monotone Subsequence brute force constructive algorithms dp graphs interactive math Statement E Squarepoint Challenge (Codeforces Round 1055, Div. 1 + Div. 2) {2152} PROGRAMMING 3000.0 Squarepoint Challenge (Codeforces Round 1055, Div. 1 + Div. 2) Editorial
2628 Parabola Independence dp graphs math Statement F Codeforces Round 1080 (Div. 3) {2195} PROGRAMMING Codeforces Round 1080 (Div. 3) Editorial