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']

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
23926 GCD Compression brute force constructive algorithms math number theory Statement B Codeforces Round 651 (Div. 2) {1370} PROGRAMMING 1000.0 Editorial — Codeforces Round #651
2771 Sum of Digits brute force constructive algorithms dp greedy math number theory Statement E Educational Codeforces Round 90 (Rated for Div. 2) {1373} PROGRAMMING Educational Codeforces Round 90 Editorial
25091 Captain Flint and Crew Recruitment brute force math number theory Statement A Codeforces Round 660 (Div. 2) {1388} PROGRAMMING 750.0 Codeforces Round #660 Editorial 800
17195 Big Vova brute force greedy math number theory Statement B Codeforces Round 669 (Div. 2) {1407} PROGRAMMING 1000.0 Codeforces Round #669 Editorial
9561 Ceil Divisions brute force constructive algorithms math number theory Statement D Educational Codeforces Round 101 (Rated for Div. 2) {1469} PROGRAMMING Educational Codeforces Round 101 Editorial
1963 Digits brute force dp math number theory Statement D 2020-2021 ICPC, NERC, Northern Eurasia Onsite (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1510} PROGRAMMING nerc-2020-offline-tutorial.pdf
8402 Short Task brute force dp math number theory Statement G Codeforces Round 713 (Div. 3) {1512} PROGRAMMING Codeforces Round #713 (Div. 3) Editorial
45402 Ordinary Numbers brute force math number theory Statement B Codeforces Round 719 (Div. 3) {1520} PROGRAMMING Editorial
29706 Pleasant Pairs brute force math number theory Statement B Codeforces Round 728 (Div. 2) {1541} PROGRAMMING 1000.0 Tutorial
266 Gregor and the Odd Cows (Hard) brute force geometry math number theory Statement D2 Codeforces Round 736 (Div. 1) {1548} PROGRAMMING 1000.0 Codeforces Round 736 Editorial
4875 Up the Strip brute force dp math number theory Statement B Codeforces Round 740 (Div. 1, based on VK Cup 2021 - Final (Engine)) {1558} PROGRAMMING 1250.0 Codeforces Round #740 Editorial 1900
5696 Up the Strip (simplified version) brute force data structures dp math number theory Statement D1 Codeforces Round 740 (Div. 2, based on VK Cup 2021 - Final (Engine)) {1561} PROGRAMMING 1500.0 Codeforces Round #740 Editorial 1700
19819 Scenes From a Memory brute force implementation math number theory Statement B Codeforces Round 741 (Div. 2) {1562} PROGRAMMING 1000.0 Editorial of Codeforces Round 741 (Div. 2)
2509 Power Board brute force math number theory Statement E Codeforces Round 774 (Div. 2) {1646} PROGRAMMING 2500.0 Codeforces Round #774 (Div. 2) Editorial 2200
25857 AvtoBus brute force greedy math number theory Statement A Codeforces Round 791 (Div. 2) {1679} PROGRAMMING 500.0 Codeforces Round #791 (Div. 2) Editorial
17422 Add Modulo 10 brute force math number theory Statement E Codeforces Round 811 (Div. 3) {1714} PROGRAMMING Codeforces Round #811 (Div. 3) Editorial
2828 Madoka and The Best University brute force math number theory Statement E Codeforces Round 818 (Div. 2) {1717} PROGRAMMING 2000.0 Codeforces Round #818 (Div. 2) Editorial. 2200
3089 Fibonacci Strings brute force data structures greedy implementation math number theory Statement B Codeforces Round 814 (Div. 1) {1718} PROGRAMMING 1250.0 Codeforces Round #814 (Div. 1, Div. 2) Editorial
1651 Tonya and Burenka-179 brute force data structures greedy math number theory Statement C Codeforces Round 814 (Div. 1) {1718} PROGRAMMING 1250.0 Codeforces Round #814 (Div. 1, Div. 2) Editorial
15451 Bestie brute force constructive algorithms implementation math number theory Statement A Codeforces Round 830 (Div. 2) {1732} PROGRAMMING 750.0 108327 1000
11204 Divisible Numbers (easy version) brute force math number theory Statement E1 Codeforces Round 828 (Div. 3) {1744} PROGRAMMING Codeforces Round #828 (Div. 3) Editorial
5756 Divisible Numbers (hard version) brute force math number theory Statement E2 Codeforces Round 828 (Div. 3) {1744} PROGRAMMING Codeforces Round #828 (Div. 3) Editorial
9206 Lucky Chains brute force dp greedy math number theory Statement D Educational Codeforces Round 139 (Rated for Div. 2) {1766} PROGRAMMING 110066
19048 GCD Partition brute force greedy math number theory Statement B Codeforces Round 846 (Div. 2) {1780} PROGRAMMING 1000.0 111841
5634 Many Perfect Squares brute force math number theory Statement D VK Cup 2022 - Отборочный раунд (Engine) {1781} PROGRAMMING 2000.0 Tutorial
2165 Game of the Year brute force math number theory Statement E Educational Codeforces Round 141 (Rated for Div. 2) {1783} PROGRAMMING Educational Codeforces Round 141 Editorial
840 Serval and Music Game brute force combinatorics implementation math number theory Statement E Codeforces Round 853 (Div. 2) {1789} PROGRAMMING 2000.0 Codeforces Round #853 (Div. 2) Editorial
20334 Serval and Mocha's Array brute force math number theory Statement A Codeforces Round 853 (Div. 2) {1789} PROGRAMMING 500.0 Codeforces Round #853 (Div. 2) Editorial
1354 Li Hua and Array brute force data structures math number theory Statement E Codeforces Round 864 (Div. 2) {1797} PROGRAMMING 2250.0 Codeforces Round 864 (Div. 2) Editorial
12496 Pull Your Luck brute force greedy math number theory Statement C Nebius Welcome Round (Div. 1 + Div. 2) {1804} PROGRAMMING 1000.0 Nebius Welcome Round Editorial
7327 Magic Triples (Easy Version) brute force math number theory Statement G1 Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
2503 Magic Triples (Hard Version) brute force math number theory Statement G2 Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
812 Vika and Stone Skipping brute force math number theory Statement E Codeforces Round 885 (Div. 2) {1848} PROGRAMMING 2250.0 Codeforces Round #885 (Div.2) Editorial
20374 We Were Both Children brute force implementation math number theory Statement F Codeforces Round 886 (Div. 4) {1850} PROGRAMMING Codeforces Round #886 (Div. 4) Editorial
28667 Longest Divisors Interval brute force combinatorics greedy math number theory Statement B Codeforces Round 889 (Div. 2) {1855} PROGRAMMING 1000.0 Editorial of Codeforces Round 889 (Div. 1 + Div. 2)
11661 The Walkway brute force greedy implementation math number theory Statement B Codeforces Round 893 (Div. 2) {1858} PROGRAMMING 1250.0 Codeforces Round #893 (Div. 2) Editorial 1500
4426 Small GCD brute force math number theory Statement D Codeforces Round 911 (Div. 2) {1900} PROGRAMMING 2000.0 Codeforces Round 911 (Div. 2) Editorial
14359 Insert and Equalize brute force constructive algorithms greedy math number theory Statement C Educational Codeforces Round 159 (Rated for Div. 2) {1902} PROGRAMMING Educational Codeforces Round 159 Editorial
20683 A Balanced Problemset? brute force greedy math number theory Statement B Codeforces Round 921 (Div. 2) {1925} PROGRAMMING 1000.0 Codeforces Round 921 (Div. 1, Div. 2) Editorial
8920 Physical Education Lesson brute force math number theory Statement C Codeforces Round 924 (Div. 2) {1928} PROGRAMMING 1500.0 Codeforces Round 924 Editorial
1041 Nobody is needed brute force data structures dp math number theory Statement F Codeforces Round 936 (Div. 2) {1946} PROGRAMMING 2750.0 Codeforces Round #936 (Div. 2) Editorial
4743 GCD on a grid brute force dfs and similar dp math number theory Statement G Codeforces Round 938 (Div. 3) {1955} PROGRAMMING 128243
1325 Carousel of Combinations brute force combinatorics dp math number theory Statement E Codeforces Round 940 (Div. 2) and CodeCraft-23 {1957} PROGRAMMING 2250.0 Codeforces Round #940 and CodeCraft-23 (Div. 2) Editorial 2400
13783 Reverse Card (Easy Version) brute force math number theory Statement B1 Codeforces Round 942 (Div. 1) {1967} PROGRAMMING 500.0 Tutorial 1400
4046 Reverse Card (Hard Version) brute force math number theory Statement B2 Codeforces Round 942 (Div. 1) {1967} PROGRAMMING 750.0 Tutorial 2200
35522 Maximize? brute force math number theory Statement A Codeforces Round 943 (Div. 3) {1968} PROGRAMMING 129096 800
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
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
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
1031 Dyn-scripted Robot (Easy Version) brute force chinese remainder theorem constructive algorithms math number theory Statement F1 Codeforces Round 963 (Div. 2) {1993} PROGRAMMING 2500.0
8893 Squaring brute force constructive algorithms data structures greedy implementation math number theory Statement C Codeforces Round 961 (Div. 2) {1995} PROGRAMMING 1750.0 Video Tutorial
858 Court Blue (Easy Version) brute force dfs and similar dp math number theory Statement F1 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) {2002} PROGRAMMING 2000.0
451 Court Blue (Hard Version) brute force dp math number theory Statement F2 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) {2002} PROGRAMMING 1250.0
3381 Prefix GCD brute force dp greedy math number theory Statement E Codeforces Round 973 (Div. 2) {2013} PROGRAMMING 2500.0
15396 Maximize Mex brute force greedy math number theory Statement B Codeforces Round 977 (Div. 2, based on COMPFEST 16 - Final Round) {2021} PROGRAMMING 750.0
2720 Common Generator brute force constructive algorithms greedy math number theory Statement E Refact.ai Match 1 (Codeforces Round 985) {2029} PROGRAMMING 2500.0
12150 Penchick and BBQ Buns brute force constructive algorithms math number theory Statement C Codeforces Round 987 (Div. 2) {2031} PROGRAMMING 1500.0
5674 Kosuke's Sloth brute force math number theory Statement F Codeforces Round 981 (Div. 3) {2033} PROGRAMMING
15335 King Keykhosrow's Mystery brute force chinese remainder theorem math number theory Statement A Rayan Programming Contest 2024 - Selection (Codeforces Round 989, Div. 1 + Div. 2) {2034} PROGRAMMING 500.0
5253 Problem about GCD brute force math number theory Statement D Educational Codeforces Round 173 (Rated for Div. 2) {2043} PROGRAMMING
19314 Kevin and Combination Lock brute force implementation math number theory Statement A Codeforces Global Round 28 {2048} PROGRAMMING 250.0