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

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
5989 Plinko *special games interactive Statement B April Fools Day Contest 2025 {2095} PROGRAMMING April Fools Day Contest 2025 Editorial
418 Wonderful Guessing Game interactive Statement G Neowise Labs Contest 1 (Codeforces Round 1018, Div. 1 + Div. 2) {2096} PROGRAMMING 2750.0 Neowise Labs Contest 1 (Codeforces Round 1018, Div. 1 + Div. 2) Editorial
607 Baudelaire (hard version) binary search dfs and similar divide and conquer implementation interactive trees Statement G2 Codeforces Round 1020 (Div. 3) {2106} PROGRAMMING Codeforces Round 1020 (Div. 3) Editorial
1609 Baudelaire (easy version) binary search interactive trees Statement G1 Codeforces Round 1020 (Div. 3) {2106} PROGRAMMING Codeforces Round 1020 (Div. 3) Editorial
2418 Needle in a Numstack binary search brute force interactive math Statement D Codeforces Round 1022 (Div. 2) {2108} PROGRAMMING 2250.0 Codeforces Round 1022 Editorial
11363 Hacking Numbers (Easy Version) bitmasks constructive algorithms interactive math number theory Statement C1 Codeforces Round 1025 (Div. 2) {2109} PROGRAMMING 1250.0 Codeforces Round 1025 (Div. 2) Editorial
8609 Hacking Numbers (Medium Version) constructive algorithms interactive math number theory Statement C2 Codeforces Round 1025 (Div. 2) {2109} PROGRAMMING 750.0 Codeforces Round 1025 (Div. 2) Editorial
3182 Hacking Numbers (Hard Version) constructive algorithms interactive math number theory Statement C3 Codeforces Round 1025 (Div. 2) {2109} PROGRAMMING 500.0 Codeforces Round 1025 (Div. 2) Editorial
398 Divisible Subarrays brute force data structures interactive Statement G Educational Codeforces Round 179 (Rated for Div. 2) {2111} PROGRAMMING Educational Codeforces Round 179 Editorial
106 Inter Active (Hard Version) binary search bitmasks constructive algorithms graphs implementation interactive math probabilities Statement G2 Atto Round 1 (Codeforces Round 1041, Div. 1 + Div. 2) {2127} PROGRAMMING 2750.0 Atto Round 1 (Codeforces Round 1041, Div. 1 + Div. 2) Editorial
100 Inter Active (Easy Version) binary search constructive algorithms interactive interactive Statement G1 Atto Round 1 (Codeforces Round 1041, Div. 1 + Div. 2) {2127} PROGRAMMING 2750.0 Atto Round 1 (Codeforces Round 1041, Div. 1 + Div. 2) Editorial
1656 Interactive RBS (Hard Version) binary search bitmasks constructive algorithms dp interactive Statement C3 Codeforces Round 1040 (Div. 1) {2129} PROGRAMMING 750.0 Codeforces Round 1040 (Div. 1, Div. 2) Editorial
3843 Interactive RBS (Easy Version) binary search bitmasks constructive algorithms interactive Statement C1 Codeforces Round 1040 (Div. 1) {2129} PROGRAMMING 750.0 Codeforces Round 1040 (Div. 1, Div. 2) Editorial
2493 Interactive RBS (Medium Version) binary search bitmasks constructive algorithms interactive Statement C2 Codeforces Round 1040 (Div. 1) {2129} PROGRAMMING 750.0 Codeforces Round 1040 (Div. 1, Div. 2) Editorial
131 Top-K Tracker (Easy Version) interactive Statement F1 Codeforces Round 1040 (Div. 1) {2129} PROGRAMMING 2500.0 Codeforces Round 1040 (Div. 1, Div. 2) Editorial
95 Top-K Tracker (Hard Version) interactive interactive Statement F2 Codeforces Round 1040 (Div. 1) {2129} PROGRAMMING 2500.0 Codeforces Round 1040 (Div. 1, Div. 2) Editorial
12752 The Nether graphs interactive Statement C Codeforces Round 1044 (Div. 2) {2133} PROGRAMMING 1750.0 Codeforces Round 1044 (Div. 2) Editorial
2383 Power Boxes constructive algorithms dp interactive Statement E Codeforces Round 1045 (Div. 2) {2134} PROGRAMMING 2250.0 145832
986 From the Unknown (Hard Version) binary search brute force constructive algorithms interactive math Statement D2 Codeforces Round 1046 (Div. 1) {2135} PROGRAMMING 1250.0 Codeforces Round 1046 (Div. 1, Div. 2) Editorial
7311 For the Champion constructive algorithms interactive math Statement B Codeforces Round 1046 (Div. 1) {2135} PROGRAMMING 1000.0 Codeforces Round 1046 (Div. 1, Div. 2) Editorial
2419 From the Unknown (Easy Version) constructive algorithms interactive math Statement D1 Codeforces Round 1046 (Div. 1) {2135} PROGRAMMING 1250.0 Codeforces Round 1046 (Div. 1, Div. 2) Editorial
594 Hidden Single (Version 2) divide and conquer interactive math probabilities Statement E2 Codeforces Round 1053 (Div. 1) {2150} PROGRAMMING 1750.0 Editorial of Codeforces Round 1053 (Div. 1, Div. 2)
1020 Hidden Single (Version 1) divide and conquer interactive math probabilities sortings Statement E1 Codeforces Round 1053 (Div. 1) {2150} PROGRAMMING 2000.0 Editorial of Codeforces Round 1053 (Div. 1, Div. 2)
2765 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
5840 Batteries interactive math Statement D Codeforces Round 1056 (Div. 2) {2155} PROGRAMMING 2000.0 Codeforces Round 1056 (Div. 2) Editorial
5350 Find the Last Number bitmasks constructive algorithms interactive math Statement D Codeforces Round 1061 (Div. 2) {2156} PROGRAMMING 2000.0 Codeforces Round 1061 (Div. 2) Editorial
406 Isaac's Queries brute force constructive algorithms dfs and similar divide and conquer greedy interactive math probabilities Statement G Codeforces Round 1066 (Div. 1 + Div. 2) {2157} PROGRAMMING 3000.0 Codeforces Round 1066 (Div. 1 + Div. 2) Editorial
134 Grand Finale: Snakes binary search interactive Statement F Codeforces Round 1058 (Div. 1) {2159} PROGRAMMING 3500.0 Codeforces Round 1058 Editorial
8098 MAD Interactive Problem constructive algorithms implementation interactive Statement A Codeforces Round 1058 (Div. 1) {2159} PROGRAMMING 750.0 Codeforces Round 1058 Editorial
12295 Beautiful Permutation binary search interactive Statement D Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
2718 Diadrash (Easy Version) binary search divide and conquer interactive Statement D1 Codeforces Round 1063 (Div. 2) {2163} PROGRAMMING 1500.0 Codeforces Round 1063 Editorial
1489 Diadrash (Hard Version) binary search interactive Statement D2 Codeforces Round 1063 (Div. 2) {2163} PROGRAMMING 1250.0 Codeforces Round 1063 Editorial
626 Plegma interactive Statement E Codeforces Round 1063 (Div. 2) {2163} PROGRAMMING 2750.0 Codeforces Round 1063 Editorial
203 Pointless Machine interactive Statement G Codeforces Global Round 30 (Div. 1 + Div. 2) {2164} PROGRAMMING 3500.0 Codeforces Global Round 30 Editorial
1544 Locate binary search constructive algorithms greedy interactive Statement B Testing Round 20 (Unrated, Communication Problems) {2168} PROGRAMMING Testing Round 20 Editorial (officially unofficial)
872 Intercepting Butterflies bitmasks constructive algorithms graphs interactive Statement C Testing Round 20 (Unrated, Communication Problems) {2168} PROGRAMMING Testing Round 20 Editorial (officially unofficial)
3292 Encode and Decode (Hard Version) bitmasks interactive math Statement A2 Testing Round 20 (Unrated, Communication Problems) {2168} PROGRAMMING Testing Round 20 Editorial (officially unofficial)
5011 Encode and Decode (Easy Version) constructive algorithms interactive Statement A1 Testing Round 20 (Unrated, Communication Problems) {2168} PROGRAMMING Testing Round 20 Editorial (officially unofficial)
1517 Shiro's Mirror Duel interactive probabilities Statement E Codeforces Round 1068 (Div. 2) {2173} PROGRAMMING 2250.0
95 Game of Scientists (Version 2) brute force chinese remainder theorem interactive math Statement E2 Codeforces Round 1069 (Div. 1) {2174} PROGRAMMING 1750.0 Codeforces Round 1069 Editorial
131 Game of Scientists (Version 1) chinese remainder theorem interactive math Statement E1 Codeforces Round 1069 (Div. 1) {2174} PROGRAMMING 1750.0 Codeforces Round 1069 Editorial
3672 Flatten or Concatenate binary search divide and conquer interactive Statement E Good Bye 2025 {2178} PROGRAMMING 2250.0
1199 Blackslex and Penguin Migration brute force interactive math Statement G Codeforces Round 1071 (Div. 3) {2179} PROGRAMMING Codeforces Round 1071 (Div. 3) Editorial
2726 Blackslex and Another RGB Walking graphs interactive number theory Statement F Codeforces Round 1071 (Div. 3) {2179} PROGRAMMING Codeforces Round 1071 (Div. 3) Editorial
141 Cacti Classification binary search interactive math Statement C 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
219 Snake Instructions interactive Statement G Hello 2026 {2183} PROGRAMMING 4000.0
1282 Comparable Permutations binary search greedy interactive sortings two pointers Statement C Codeforces Round 1073 (Div. 1) {2190} PROGRAMMING 1750.0 Codeforces Round 1073 (Div. 1, Div. 2) Editorial
2212 Paths in a Tree dfs and similar interactive sortings trees Statement G Codeforces Round 1076 (Div. 3) {2193} PROGRAMMING Разбор Codeforces Round 1076 (Div. 3)
3557 Interactive Graph (Simple Version) combinatorics dfs and similar dp graphs interactive Statement C1 Codeforces Round 1079 (Div. 1) {2196} PROGRAMMING 750.0 Tutorial
2490 Interactive Graph (Hard Version) combinatorics dfs and similar dp graphs interactive Statement C2 Codeforces Round 1079 (Div. 1) {2196} PROGRAMMING 750.0 Tutorial
79 Compare Suffixes interactive Statement A 2026 ICPC Asia Pacific Championship - Online Mirror (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2206} PROGRAMMING Tutorial (PDF)
50 Bowser's Castle (Easy Version) binary search constructive algorithms divide and conquer greedy interactive trees Statement H1 Codeforces Round 1085 (Div. 1 + Div. 2) {2207} PROGRAMMING 3250.0 Codeforces Round 1085 (Div. 1 + Div. 2) Editorial
38 Bowser's Castle (Medium Version) constructive algorithms divide and conquer interactive trees two pointers Statement H2 Codeforces Round 1085 (Div. 1 + Div. 2) {2207} PROGRAMMING 1000.0 Codeforces Round 1085 (Div. 1 + Div. 2) Editorial
54 Bowser's Castle (Hard Version) constructive algorithms divide and conquer interactive trees two pointers Statement H3 Codeforces Round 1085 (Div. 1 + Div. 2) {2207} PROGRAMMING 1500.0 Codeforces Round 1085 (Div. 1 + Div. 2) Editorial
10368 Find the Zero constructive algorithms interactive Statement C Codeforces Round 1087 (Div. 2) {2209} PROGRAMMING 1500.0 Codeforces Round 1087 (Div. 2) Editorial
305 Binary Strings are Simple? constructive algorithms dsu interactive number theory Statement E Codeforces Round 1089 (Div. 2) {2210} PROGRAMMING 2750.0 Codeforces Round 1089 (Div. 2) Editorial
825 Minimum Path Cover dp interactive number theory trees Statement E Nebius Round 2 (Codeforces Round 1088, Div. 1 + Div. 2) {2211} PROGRAMMING 2500.0 Nebius Round 2 and Codeforces Round 1088 Editorial
552 Oriented Journey bitmasks communication constructive algorithms graphs hashing interactive trees Statement C Codeforces Round 1092 (Unrated, Div. 1, Based on THUPC 2026 — Finals) {2215} PROGRAMMING 1750.0
2966 Unique Values (Hard version) binary search constructive algorithms divide and conquer interactive math Statement B2 Codeforces Round 1093 (Div. 1) {2219} PROGRAMMING 500.0
3335 Unique Values (Easy version) binary search divide and conquer interactive Statement B1 Codeforces Round 1093 (Div. 1) {2219} PROGRAMMING 750.0