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
5405 Monitor binary search number theory Statement C Codeforces Beta Round 16 (Div. 2 Only) {16} PROGRAMMING Codeforces Beta Round #16 Tutorial 1800
15528 Modified GCD binary search number theory Statement C Codeforces Beta Round 67 (Div. 2) {75} PROGRAMMING Codeforces Beta Round #67 (Div. 2), my solutions 1600
4097 Petya and Divisors binary search data structures number theory Statement B Codeforces Beta Round 85 (Div. 1 Only) {111} PROGRAMMING Codeforces Beta Round #85: Разбор задач 1900
3391 Well-known Numbers binary search greedy number theory Statement B Codeforces Round 139 (Div. 2) {225} PROGRAMMING 1600
95160 T-primes binary search implementation math number theory Statement B Codeforces Round 142 (Div. 2) {230} PROGRAMMING Codeforces Round #142 Problem Analysis 1300
6632 Primes on Interval binary search number theory two pointers Statement C Codeforces Round 147 (Div. 2) {237} PROGRAMMING Codeforces Round #147 (Div. 2) Разбор Задач 1600
15353 Prime Matrix binary search brute force math number theory Statement B Codeforces Round 166 (Div. 2) {271} PROGRAMMING editroal 1400
1102 Empire Strikes Back binary search math number theory Statement E Codeforces Round 181 (Div. 2) {300} PROGRAMMING English Tutorial 2400
5222 Quiz binary search greedy math matrices number theory Statement C Codeforces Round 196 (Div. 2) {337} PROGRAMMING Codeforces Round #196 — Problems Analysis 1700
10545 Bear and Prime Numbers binary search brute force data structures dp implementation math number theory Statement C Codeforces Round 226 (Div. 2) {385} PROGRAMMING Codeforces Round #226 (Div. 2) — Editorial 1800
152 Pens And Days Of Week *special binary search number theory Statement F VK Cup 2017 - Wild Card Round 1 {774} PROGRAMMING VK Cup 2017 — Уайлд-кард раунд 1 — Разбор 2600
2673 Card Game Again binary search data structures number theory two pointers Statement E Educational Codeforces Round 24 {818} PROGRAMMING 52991 2000
2057 Vasya's Function binary search implementation math Statement E Educational Codeforces Round 26 {837} PROGRAMMING 53662 2200
2037 Prime Gift binary search dfs and similar math meet-in-the-middle number theory two pointers Statement E Codeforces Round 456 (Div. 2) {912} PROGRAMMING Codeforces Round #456 (Div. 2) Editorial 2600
5125 Too Easy Problems binary search brute force data structures greedy sortings Statement D Hello 2018 {913} PROGRAMMING Tutorial 1800
31548 Perfect Number binary search brute force dp implementation number theory Statement B Codeforces Round 460 (Div. 2) {919} PROGRAMMING Codeforces Round #460 (Div. 2) Editorial 1100
1980 List Of Integers binary search bitmasks brute force combinatorics math number theory Statement G Educational Codeforces Round 37 (Rated for Div. 2) {920} PROGRAMMING T 2300
2886 Sad powers binary search math number theory Statement C Codeforces Round 471 (Div. 2) {955} PROGRAMMING Editorial 2100
2171 Kuro and GCD and XOR and SUM binary search bitmasks brute force data structures dp dsu greedy math number theory strings trees Statement D Codeforces Round 482 (Div. 2) {979} PROGRAMMING 1750.0 Codeforces Round #482 (Div. 2) Editorial 2200
2749 Multicolored Markers binary search brute force math number theory Statement F Codeforces Round 506 (Div. 3) {1029} PROGRAMMING Codeforces Round #506 (Div. 3) Editorial 2100
2814 Missing Numbers binary search constructive algorithms greedy math number theory Statement E Avito Cool Challenge 2018 {1081} PROGRAMMING 63888 1900
273 Fedya the Potter binary search implementation math number theory Statement E Codeforces Round 530 (Div. 1) {1098} PROGRAMMING 64331 3400
3181 Arithmetic Progression binary search interactive number theory probabilities Statement E Codeforces Round 538 (Div. 2) {1114} PROGRAMMING Codeforces Round #538 (Div. 2) Editorial 2100
398 Maximum Sine binary search data structures number theory Statement F Codeforces Round 566 (Div. 2) {1182} PROGRAMMING 67614 2900
276 Wooden Raft binary search math number theory Statement G Technocup 2020 - Elimination Round 1 {1223} PROGRAMMING Сodeforces Round 591 (and Technocup 2020 — Elimination Round 1) Editorial 3100
14650 Everyone is a Winner! binary search math meet-in-the-middle number theory Statement C Codeforces Round 603 (Div. 2) {1263} PROGRAMMING Разбор Codeforces Round #603 (Div. 2) 1400
1341 Classical? binary search combinatorics number theory Statement F Codeforces Round 613 (Div. 2) {1285} PROGRAMMING Codeforces Round #613 (Div. 2) Editorial 2800
5803 Necklace Assembly binary search brute force dp greedy number theory Statement E Codeforces Round 650 (Div. 3) {1367} PROGRAMMING Codeforces Round #650 (Div. 3) Editorial
2510 Asterism (Hard Version) binary search math number theory sortings Statement E2 Codeforces Round 654 (Div. 2) {1371} PROGRAMMING 1250.0 Codeforces Round #654 (Div. 2) Editorial
13175 Dubious Cyrpto binary search brute force math number theory Statement B Codeforces Round 657 (Div. 2) {1379} PROGRAMMING 750.0 Codeforces Round #657 Editorial 1500
15449 Power Sequence binary search brute force math number theory ternary search Statement B Codeforces Round 666 (Div. 2) {1397} PROGRAMMING 1000.0 Codeforces Round #666 — Editorial
1864 Deleting Numbers binary search brute force interactive number theory Statement E Codeforces Round 670 (Div. 2) {1406} PROGRAMMING 2750.0 Codeforces Round #670 (Div. 2) Editorial
5433 Lonely Numbers binary search math number theory Statement K Bubble Cup 13 - Finals [Online Mirror, unrated, Div. 1] {1423} PROGRAMMING FinalsEditorial2020.pdf
40032 Different Divisors binary search constructive algorithms greedy math number theory Statement B Codeforces Round 696 (Div. 2) {1474} PROGRAMMING 1000.0 Codeforces Round #696 Editorial
10974 Floor and Mod binary search brute force data structures math number theory Statement C Codeforces Round 701 (Div. 2) {1485} PROGRAMMING 1500.0 Editorial of Codeforces Round #701 (Div. 2) 1700
20504 Pythagorean Triples binary search math number theory Statement D Educational Codeforces Round 104 (Rated for Div. 2) {1487} PROGRAMMING 87873
2306 Two chandeliers binary search brute force chinese remainder theorem math number theory Statement B Codeforces Round 707 (Div. 1, based on Moscow Open Olympiad in Informatics) {1500} PROGRAMMING 750.0 Codeforces Round #707 Editorial 2200
5152 Cut binary search data structures graphs number theory Statement D Codeforces Round 717 (Div. 2) {1516} PROGRAMMING 2000.0 Codeforces round #717 editorial
15546 Pursuit binary search greedy sortings Statement C Codeforces Round 733 (Div. 1 + Div. 2, based on VK Cup 2021 - Elimination (Engine)) {1530} PROGRAMMING 1000.0 Codeforces Round #733 Editorial (all problems)
6913 Array Stabilization (GCD version) binary search constructive algorithms data structures number theory two pointers Statement F Codeforces Round 731 (Div. 3) {1547} PROGRAMMING Codeforces Round #731 (Div. 3) Editorial
11305 Integers Have Friends binary search data structures math number theory two pointers Statement B Codeforces Round 736 (Div. 1) {1548} PROGRAMMING 1000.0 Codeforces Round 736 Editorial
458 Guess the Perimeter binary search interactive number theory Statement H Codeforces Global Round 15 {1552} PROGRAMMING 2750.0 Editorial of Global Round 15
1209 Common Divisor Graph binary search dsu graphs math number theory Statement G Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2) {1553} PROGRAMMING 3000.0 Harbour.Space Scholarship Contest 2021-2022 (Div. 1 + Div. 2) Editorial
5337 Array Stabilization (AND version) binary search brute force graphs greedy implementation math number theory shortest paths Statement F Codeforces Round 744 (Div. 3) {1579} PROGRAMMING Codeforces Round #744 (Div. 3) Editorial
2551 Hemose in ICPC ? binary search dfs and similar divide and conquer interactive math number theory trees Statement D Codeforces Round 746 (Div. 2) {1592} PROGRAMMING 2000.0 95583
1181 Array Equalizer binary search implementation math number theory sortings Statement E Codeforces Round 754 (Div. 2) {1605} PROGRAMMING 2500.0 tutorial 2400
10435 Complex Market Analysis binary search dp implementation number theory schedules two pointers Statement C Deltix Round, Autumn 2021 (open for everyone, rated, Div. 1 + Div. 2) {1609} PROGRAMMING 1500.0 Deltix Round, Autumn 2021. Editorial 1400
5313 New Year Concert binary search data structures dp greedy math number theory two pointers Statement D Codeforces Round 769 (Div. 2) {1632} PROGRAMMING 2000.0 Editorial of Codeforces Round #769
7706 Chopping Carrots (Easy Version) binary search brute force constructive algorithms dp greedy number theory Statement D1 Codeforces Round 809 (Div. 2) {1706} PROGRAMMING 1000.0 Codeforces Round #809 Editorial
2457 LCM Sum (easy version) binary search brute force combinatorics math number theory two pointers Statement E1 Codeforces Round 813 (Div. 2) {1712} PROGRAMMING 2000.0 Codeforces Round #813 (Div. 2) Editorial
2025 Red-Black Pepper binary search brute force greedy math number theory sortings ternary search Statement E Educational Codeforces Round 135 (Rated for Div. 2) {1728} PROGRAMMING 106805
4493 All Possible Digits binary search data structures greedy math number theory Statement F Codeforces Round 834 (Div. 3) {1759} PROGRAMMING 109254
1719 Josuke and Complete Graph binary search brute force data structures number theory Statement E Codeforces Round 846 (Div. 2) {1780} PROGRAMMING 1750.0 111841
14374 Living Sequence binary search dp math number theory Statement E Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
2761 MEX of LCM binary search brute force data structures implementation math number theory two pointers Statement E Codeforces Round 879 (Div. 2) {1834} PROGRAMMING 2500.0 Codeforces Round #879 Editorial
4546 Suspicious logarithms binary search brute force implementation math number theory Statement D Codeforces Round 907 (Div. 2) {1891} PROGRAMMING 1500.0
14797 Vlad and an Odd Ordering binary search bitmasks data structures dp implementation math number theory Statement E Codeforces Round 928 (Div. 4) {1926} PROGRAMMING 126132
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
19550 Fun binary search brute force number theory Statement D Codeforces Round 962 (Div. 3) {1996} PROGRAMMING Codeforces Round 962 (Div. 3) Editorial
1233 Alter the GCD binary search data structures divide and conquer dp number theory Statement D Codeforces Round 972 (Div. 2) {2005} PROGRAMMING 2250.0 Discussion stream (With Hints)
2066 Eri and Expanded Sets binary search data structures number theory two pointers Statement C Codeforces Round 969 (Div. 1) {2006} PROGRAMMING 1500.0 Tutorial
6645 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
3580 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
5997 Easy Demon Problem binary search brute force math number theory Statement F Codeforces Round 993 (Div. 4) {2044} PROGRAMMING Codeforces Round 993 (Div. 4) Editorial
3772 La Vaca Saturno Saturnita binary search brute force math number theory Statement H Codeforces Round 1017 (Div. 4) {2094} PROGRAMMING Codeforces Round 1017 (Div. 4) Editorial
13108 Array and GCD binary search greedy math number theory Statement D Educational Codeforces Round 178 (Rated for Div. 2) {2104} PROGRAMMING Educational Codeforces Round 178 Editorial
5476 Small Operations binary search bitmasks brute force dfs and similar dp math number theory sortings Statement F Codeforces Round 1027 (Div. 3) {2114} PROGRAMMING 143268
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
8453 Removal of a Sequence (Easy Version) binary search bitmasks geometry implementation math number theory Statement D1 Educational Codeforces Round 184 (Rated for Div. 2) {2169} PROGRAMMING Educational Codeforces Round 184 Editorial
2251 Removal of a Sequence (Hard Version) binary search constructive algorithms divide and conquer greedy implementation math number theory probabilities Statement D2 Educational Codeforces Round 184 (Rated for Div. 2) {2169} PROGRAMMING Educational Codeforces Round 184 Editorial
1906 Little String (Hard Version) binary search combinatorics dp greedy math number theory Statement D2 Codeforces Round 1075 (Div. 2) {2189} PROGRAMMING 750.0 Codeforces Round 1075 (Div. 2) Editorial
766 RReeppeettiittiioonn binary search brute force implementation math number theory Statement B Codeforces Round 1092 (Unrated, Div. 1, Based on THUPC 2026 — Finals) {2215} PROGRAMMING 1250.0