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
17984 Longest Regular Bracket Sequence constructive algorithms data structures dp greedy sortings strings Statement C Codeforces Beta Round 5 {5} PROGRAMMING C, D и E с CBR5 - разбор 1900
1687 Oranges and Apples constructive algorithms sortings Statement C Codeforces Beta Round 23 {23} PROGRAMMING Codeforces Beta Round #23 tutorial 2500
894 Lucky Sorting constructive algorithms sortings Statement D Codeforces Beta Round 84 (Div. 1 Only) {109} PROGRAMMING Tutorial 2000
1137 Before Exam constructive algorithms implementation sortings Statement B Codeforces Beta Round 90 {119} PROGRAMMING Разбор задачи E Codeforces Beta Round #90 1700
2719 Queue constructive algorithms greedy sortings Statement C Codeforces Round 101 (Div. 2) {141} PROGRAMMING Codeforces Round #101 (Div. 2) Разбор Задач. 1800
2084 Discounts constructive algorithms greedy sortings Statement B VK Cup 2012 Round 1 {161} PROGRAMMING VK Cup 2012 Round 1: editorial 1700
1039 Paint Tree constructive algorithms divide and conquer geometry sortings trees Statement C Codeforces Round 124 (Div. 1) {196} PROGRAMMING Разбор задач 2400
10216 Buggy Sorting constructive algorithms greedy sortings Statement A Codeforces Round 151 (Div. 2) {246} PROGRAMMING Codeforces Round #151 (Div. 2) Tutorial 1000
7717 Cards with Numbers constructive algorithms sortings Statement A Codeforces Round 155 (Div. 2) {254} PROGRAMMING Codeforces Round #155 (Div. 2) — tutorial 1300
5933 Ilya and Matrix constructive algorithms greedy implementation sortings Statement C Codeforces Round 186 (Div. 2) {313} PROGRAMMING Tutorial 1400
9789 Difference Row constructive algorithms implementation sortings Statement A Codeforces Round 201 (Div. 2) {347} PROGRAMMING Codeforces Round #201 Editorial 1300
2430 Two Heaps combinatorics constructive algorithms greedy implementation math sortings Statement B Codeforces Round 205 (Div. 2) {353} PROGRAMMING 9145 1800
1714 Mittens constructive algorithms greedy sortings Statement C Codeforces Round 217 (Div. 2) {370} PROGRAMMING Codeforces Round #217 (Div. 2): tutorial 1800
2404 Points and Segments (easy) constructive algorithms sortings Statement A Codeforces Round 245 (Div. 2) {430} PROGRAMMING Codeforces Round #245 — Editorial 1600
8420 Towers brute force constructive algorithms greedy implementation sortings Statement B Codeforces Round 274 (Div. 2) {479} PROGRAMMING Codeforces Round #274: editorial 1400
6054 Misha and Forest constructive algorithms data structures greedy sortings trees Statement C Codeforces Round 285 (Div. 2) {501} PROGRAMMING Tutorial 1700
575 Berserk Robot constructive algorithms math sortings Statement G Codeforces Round 300 {538} PROGRAMMING Codeforces Round #300 Editorial (+challenges) 3100
2652 Happy Line constructive algorithms greedy sortings Statement G Looksery Cup 2015 {549} PROGRAMMING Looksery Cup 2015 Editorial 2200
7484 Pasha and Tea constructive algorithms implementation math sortings Statement B Codeforces Round 311 (Div. 2) {557} PROGRAMMING Codeforces Round #311 (Div.2) Editorial 1500
4152 Points on Plane constructive algorithms divide and conquer geometry greedy sortings Statement C Codeforces Round 319 (Div. 1) {576} PROGRAMMING Editorial Codeforces Round #319 2300
22465 Chat Order *special binary search constructive algorithms data structures sortings Statement B VK Cup 2016 - Qualification Round 1 {637} PROGRAMMING 1500
2139 Собери стол constructive algorithms sortings Statement B Технокубок 2016 - Отборочный Раунд 1 {648} PROGRAMMING 1000.0 Разбор задач Технокубок 2016 — Отборочный Раунд 1 800
6619 Qualifying Contest constructive algorithms sortings Statement B Codeforces Round 346 (Div. 2) {659} PROGRAMMING Editorial for Codeforces Round #346 (Div. 2) 1400
3855 Money Transfers constructive algorithms data structures greedy sortings Statement C Codeforces Round 353 (Div. 2) {675} PROGRAMMING Tutorial 2000
8005 Little Robber Girl's Zoo constructive algorithms implementation sortings Statement B Codeforces Round 359 (Div. 2) {686} PROGRAMMING Codeforces Round #359 Editorial 1200
2386 Subordinates constructive algorithms data structures graphs greedy sortings Statement E Technocup 2017 - Elimination Round 2 {729} PROGRAMMING Technocup 2017 — Elimination Round 2 (and Codeforces Round 380) Editorial 2000
4196 Dasha and Very Difficult Problem binary search brute force constructive algorithms greedy sortings Statement D Codeforces Round 394 (Div. 2) {761} PROGRAMMING Codeforces Round #394 (Div. 2) [Editorial] 1700
38252 Mahmoud and a Triangle constructive algorithms geometry greedy math number theory sortings Statement B Codeforces Round 396 (Div. 2) {766} PROGRAMMING Codeforces round #396 editorial 1100
30778 Oath of the Night's Watch constructive algorithms sortings Statement A Divide by Zero 2017 and Codeforces Round 399 (Div. 1 + Div. 2, combined) {768} PROGRAMMING Editorial Divide by Zero and Codeforces Round #399 (Div. 1+2, combined) 1000
2105 Lie or Truth *special constructive algorithms sortings Statement D VK Cup 2017 - Wild Card Round 1 {774} PROGRAMMING VK Cup 2017 — Уайлд-кард раунд 1 — Разбор 1500
12749 Dishonest Sellers constructive algorithms greedy sortings Statement C Codeforces Round 402 (Div. 2) {779} PROGRAMMING Codeforces Round #402, Editorial 1200
2161 Mike and distribution constructive algorithms sortings Statement D Codeforces Round 410 (Div. 2) {798} PROGRAMMING Codeforces Round #410 (Div. 2) Editorial 2300
545 Mike and code of a permutation constructive algorithms data structures graphs sortings Statement E Codeforces Round 410 (Div. 2) {798} PROGRAMMING Codeforces Round #410 (Div. 2) Editorial 2700
6968 Tea Party constructive algorithms greedy sortings Statement C Educational Codeforces Round 21 {808} PROGRAMMING 52010 1500
11034 An abandoned sentiment from past constructive algorithms greedy implementation sortings Statement A Codeforces Round 418 (Div. 2) {814} PROGRAMMING Codeforces Round #418 (Div. 2) Editorial 1000
2001 Rooter's Song constructive algorithms data structures geometry implementation sortings two pointers Statement B Codeforces Round 431 (Div. 1) {848} PROGRAMMING Codeforces Round #431 Editorial 2100
3458 Train Hard, Win Easy constructive algorithms greedy math sortings Statement E Codeforces Round 519 by Botan Investments {1043} PROGRAMMING Codeforces Round #519 Editorial 1900
6713 Decorate Apple Tree constructive algorithms dfs and similar dp graphs greedy sortings trees Statement D Mail.Ru Cup 2018 Round 3 {1056} PROGRAMMING Mail.Ru Cup 2018 Round 3 Editorial 1600
17672 Letters Rearranging constructive algorithms greedy sortings strings Statement B Educational Codeforces Round 56 (Rated for Div. 2) {1093} PROGRAMMING 63877 900
4699 Magic Stones constructive algorithms math sortings Statement E Codeforces Global Round 1 {1110} PROGRAMMING The Editorial of the First Codeforces Global Round 2200
9389 Yet Another Array Partitioning Task constructive algorithms greedy sortings Statement B Codeforces Round 538 (Div. 2) {1114} PROGRAMMING Codeforces Round #538 (Div. 2) Editorial 1500
8023 Nastya Is Transposing Matrices constructive algorithms sortings Statement C Codeforces Round 546 (Div. 2) {1136} PROGRAMMING Editorial of Round #546(Div.2) 1500
16319 Two Shuffled Sequences constructive algorithms sortings Statement C Codeforces Round 550 (Div. 3) {1144} PROGRAMMING 66307 1100
5613 Crazy Diamond constructive algorithms sortings Statement C Codeforces Global Round 3 {1148} PROGRAMMING Codeforces Global Round 3 Editorial 1700
1819 Earth Wind and Fire constructive algorithms greedy math sortings two pointers Statement E Codeforces Global Round 3 {1148} PROGRAMMING Codeforces Global Round 3 Editorial 2300
8308 The Party and Sweets binary search constructive algorithms greedy implementation math sortings two pointers Statement A Codeforces Round 559 (Div. 1) {1158} PROGRAMMING 66993 1500
2114 Permutation recovery constructive algorithms data structures dfs and similar graphs greedy math sortings Statement C Codeforces Round 559 (Div. 1) {1158} PROGRAMMING 66993 2300
19186 Ehab Fails to Be Thanos constructive algorithms greedy sortings Statement A Codeforces Round 563 (Div. 2) {1174} PROGRAMMING Codeforces round #563 editorial 1000
3143 K-th Path brute force constructive algorithms shortest paths sortings Statement F Codeforces Round 575 (Div. 3) {1196} PROGRAMMING Editorial 2500
4045 Matching vs Independent Set constructive algorithms graphs greedy sortings Statement C Codeforces Round 576 (Div. 1) {1198} PROGRAMMING E 2200
2859 Petya and Construction Set constructive algorithms graphs math sortings trees Statement E Codeforces Round 583 (Div. 1 + Div. 2, based on Olympiad of Metropolises) {1214} PROGRAMMING Tutorial 2000
4532 Balanced Removals (Harder) binary search constructive algorithms divide and conquer greedy implementation sortings Statement C2 Codeforces Global Round 5 {1237} PROGRAMMING T 1900
6385 Minimizing Difference binary search constructive algorithms greedy sortings ternary search two pointers Statement E Codeforces Round 592 (Div. 2) {1244} PROGRAMMING Codeforces Round #592 (Div. 2) Tutorial 2000
10229 Harmonious Graph constructive algorithms dfs and similar dsu graphs greedy sortings Statement D Codeforces Round 600 (Div. 2) {1253} PROGRAMMING Editorial 1700
3620 Equalizing Two Strings constructive algorithms sortings strings Statement F Codeforces Round 598 (Div. 3) {1256} PROGRAMMING Codeforces Round #598 (Div. 3) Editorial 2200
1068 Intriguing Selection brute force constructive algorithms implementation interactive sortings Statement I 2019-2020 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1267} PROGRAMMING nerc-2019-tutorial.pdf 2700
4862 Strange Device constructive algorithms interactive math sortings Statement D Good Bye 2019 {1270} PROGRAMMING Разбор Goodbye 2019 1900
2000 Delete a Segment brute force constructive algorithms data structures dp graphs sortings trees two pointers Statement E Codeforces Round 613 (Div. 2) {1285} PROGRAMMING Codeforces Round #613 (Div. 2) Editorial 2300
8192 String Coloring (easy version) constructive algorithms dp graphs greedy sortings Statement E1 Codeforces Round 617 (Div. 3) {1296} PROGRAMMING Codeforces Round #617 (Div. 3) Editorial 1800
3086 Berland Beauty constructive algorithms dfs and similar greedy sortings trees Statement F Codeforces Round 617 (Div. 3) {1296} PROGRAMMING Codeforces Round #617 (Div. 3) Editorial 2400
14639 Kuroni and the Gifts brute force constructive algorithms greedy sortings Statement A Ozon Tech Challenge 2020 (Div.1 + Div.2, Rated, T-shirts + prizes!) {1305} PROGRAMMING 500.0 Ozon Tech Challenge 2020 Editorial 800
38725 Bogosort constructive algorithms sortings Statement B Educational Codeforces Round 83 (Rated for Div. 2) {1312} PROGRAMMING 74640
11719 String Modification brute force constructive algorithms implementation sortings strings Statement B CodeCraft-20 (Div. 2) {1316} PROGRAMMING 1000.0 Codecraft-20 (Div.2) Editorial 1400
4622 Present binary search bitmasks constructive algorithms data structures math sortings Statement B Codeforces Round 626 (Div. 1, based on Moscow Open Olympiad in Informatics) {1322} PROGRAMMING 1000.0 Codeforces Round #626 Editorial
1802 Drazil Likes Heap constructive algorithms data structures greedy implementation sortings Statement C Codeforces Round 631 (Div. 1) - Thanks, Denis aramis Shitov! {1329} PROGRAMMING 1500.0 Codeforces Round #631 Editorial 2400
4128 Challenges in school №41 brute force constructive algorithms games graphs greedy implementation sortings Statement D Codeforces Round 632 (Div. 2) {1333} PROGRAMMING 1750.0 Codeforces Round #632 (Div. 2) editorial
28289 Sorted Adjacent Differences constructive algorithms sortings Statement B Codeforces Round 633 (Div. 2) {1339} PROGRAMMING 750.0 Codeforces Round #633 Editorial
6362 Multiple Testcases binary search constructive algorithms data structures greedy sortings two pointers Statement D Educational Codeforces Round 86 (Rated for Div. 2) {1342} PROGRAMMING 76633 1900
20228 Constructing the Array constructive algorithms data structures sortings Statement D Codeforces Round 642 (Div. 3) {1353} PROGRAMMING Codeforces Round #642 (Div. 3) Editorial 1600
1474 Summoning Minions constructive algorithms dp flows graph matchings greedy sortings Statement F Educational Codeforces Round 87 (Rated for Div. 2) {1354} PROGRAMMING 77593 2500
36653 Similar Pairs constructive algorithms graph matchings greedy sortings Statement C Codeforces Round 644 (Div. 3) {1360} PROGRAMMING Codeforces Round #644 (Div. 3) Editorial 1100
8757 Johnny and Contribution constructive algorithms graphs greedy sortings Statement A Codeforces Round 647 (Div. 1) - Thanks, Algo Muse! {1361} PROGRAMMING 500.0 Codeforces Round #647 Editorial 1700
4740 Swaps Again constructive algorithms implementation sortings Statement F Codeforces Round 648 (Div. 2) {1365} PROGRAMMING 2500.0 Editorial — Codeforces Round #648 2100
8768 Task On The Board constructive algorithms greedy implementation sortings Statement D Codeforces Round 650 (Div. 3) {1367} PROGRAMMING Codeforces Round #650 (Div. 3) Editorial
2450 DeadLee constructive algorithms data structures graphs greedy implementation sortings Statement E Codeforces Round 652 (Div. 2) {1369} PROGRAMMING 2500.0 Codeforces Round #652 (Div. 2) Editorial 2400
3368 Inversion SwapSort constructive algorithms greedy sortings Statement E Codeforces Global Round 9 {1375} PROGRAMMING 2000.0 79731
1708 Mastermind constructive algorithms greedy implementation sortings Statement C Codeforces Round 658 (Div. 1) {1381} PROGRAMMING 2000.0 Codeforces Round #658 Editorial 2500
759 Rearrange brute force constructive algorithms graphs greedy sortings Statement D Codeforces Round 659 (Div. 1) {1383} PROGRAMMING 1750.0 Codeforces Round #659 Editorial
11042 Pinkie Pie Eats Patty-cakes binary search constructive algorithms data structures greedy math sortings Statement C Codeforces Round 662 (Div. 2) {1393} PROGRAMMING 1500.0 Codeforces Round #662 Editorial
10501 Maximum Distributed Tree constructive algorithms dfs and similar greedy math number theory sortings trees Statement D Codeforces Round 665 (Div. 2) {1401} PROGRAMMING 1750.0 Codeforces Round #665 (Div. 2) Editorial
26749 Mere Array constructive algorithms math number theory number theory sortings sortings Statement C Codeforces Round 665 (Div. 2) {1401} PROGRAMMING 1500.0 Codeforces Round #665 (Div. 2) Editorial
17367 Sage's Birthday (hard version) binary search constructive algorithms greedy implementation sortings two pointers Statement D2 Codeforces Round 671 (Div. 2) {1419} PROGRAMMING 1000.0 Codeforces Round #671 Editorial
28847 Valerii Against Everyone constructive algorithms greedy sortings Statement B Codeforces Round 682 (Div. 2) {1438} PROGRAMMING 750.0 Codeforces Round #682 (Div. 2) Editorial
17642 Knapsack constructive algorithms greedy sortings Statement A Codeforces Round 683 (Div. 1, by Meet IT) {1446} PROGRAMMING 500.0 E
18475 Avoid Trygub constructive algorithms sortings Statement A Codeforces Global Round 12 {1450} PROGRAMMING 500.0 Codeforces Global Round 12 Editorial
14107 Array Destruction constructive algorithms data structures greedy implementation sortings Statement C Codeforces Round 696 (Div. 2) {1474} PROGRAMMING 1500.0 Codeforces Round #696 Editorial
2581 Nezzar and Nice Beatmap constructive algorithms geometry greedy sortings Statement C Codeforces Round 698 (Div. 1) {1477} PROGRAMMING 1500.0 87294 2200
10616 Nezzar and Symmetric Array constructive algorithms implementation math sortings Statement C Codeforces Round 698 (Div. 2) {1478} PROGRAMMING 1500.0 Tutorial 1700
910 Matrix Sorting bitmasks constructive algorithms dfs and similar greedy hashing string suffix structures two pointers Statement C Codeforces Round 707 (Div. 1, based on Moscow Open Olympiad in Informatics) {1500} PROGRAMMING 1500.0 Codeforces Round #707 Editorial 2600
1255 Flip the Cards 2-sat constructive algorithms data structures dsu greedy sortings Statement D Codeforces Round 712 (Div. 1) {1503} PROGRAMMING 1750.0 T 2600
3692 Triangular Paths constructive algorithms greedy math shortest paths sortings Statement F Codeforces Round 710 (Div. 3) {1506} PROGRAMMING Editorial
391 Tree Calendar brute force constructive algorithms dfs and similar sortings Statement E Codeforces Round 715 (Div. 1) {1508} PROGRAMMING 2250.0 Codeforces Round #715 Editorial
711 Swap Pass constructive algorithms geometry sortings Statement D Codeforces Round 715 (Div. 1) {1508} PROGRAMMING 2250.0 Codeforces Round #715 Editorial
1427 Swapping Problem brute force constructive algorithms data structures sortings Statement F Divide by Zero 2021 and Codeforces Round 714 (Div. 2) {1513} PROGRAMMING 3500.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
6451 GCD and MST constructive algorithms data structures dsu graphs implementation number theory sortings Statement D Divide by Zero 2021 and Codeforces Round 714 (Div. 2) {1513} PROGRAMMING 2000.0 Divide by Zero 2021 and Codeforces Round #714 (Div. 2) Editorial
13821 Morning Jogging constructive algorithms greedy sortings Statement B Contest 2050 and Codeforces Round 718 (Div. 1 + Div. 2) {1517} PROGRAMMING 1250.0 Contest 2050 and Codeforces Round #718 (Div.1 + Div.2) Editorial
893 Off by One constructive algorithms dfs and similar geometry graphs sortings trees Statement E Educational Codeforces Round 108 (Rated for Div. 2) {1519} PROGRAMMING Educational Codeforces Round 108 Editorial
24994 Mean Inequality constructive algorithms sortings Statement A Codeforces Round 723 (Div. 2) {1526} PROGRAMMING 500.0 Codeforces Round #723 (Div. 2) Editorial
14957 Great Graphs constructive algorithms graphs greedy shortest paths sortings Statement A Codeforces Round 728 (Div. 1) {1540} PROGRAMMING 500.0 Tutorial
2122 Colors and Intervals constructive algorithms data structures greedy sortings Statement E Codeforces Global Round 15 {1552} PROGRAMMING 1500.0 Editorial of Global Round 15
1574 Red-Blue Matrix constructive algorithms data structures hashing implementation sortings two pointers Statement D Educational Codeforces Round 116 (Rated for Div. 2) {1606} PROGRAMMING 96454
997 Max Sum Array combinatorics constructive algorithms greedy sortings Statement G Educational Codeforces Round 117 (Rated for Div. 2) {1612} PROGRAMMING 97164
28800 Divan and a New Project constructive algorithms sortings Statement B Codeforces Round 757 (Div. 2) {1614} PROGRAMMING 750.0 Tutorial 1000
16993 Forbidden Subsequence constructive algorithms sortings strings Statement A Codeforces Round 761 (Div. 2) {1617} PROGRAMMING 750.0 Editorial for Codeforces Round #761 (Div. 2)
10188 MEX and Increments constructive algorithms data structures dp greedy math sortings Statement E Codeforces Round 762 (Div. 3) {1619} PROGRAMMING Tutorial
2720 Cars constructive algorithms dfs and similar dsu graphs greedy sortings Statement E Codeforces Round 772 (Div. 2) {1635} PROGRAMMING 2250.0 Codeforces Round #772 Editorial
4060 Repetitions Decoding constructive algorithms implementation sortings Statement B Codeforces Round 773 (Div. 1) {1641} PROGRAMMING 1250.0 Codeforces Round #773 editorial
22654 Quality vs Quantity brute force constructive algorithms greedy sortings two pointers Statement B Codeforces Round 774 (Div. 2) {1646} PROGRAMMING 1000.0 Codeforces Round #774 (Div. 2) Editorial 800
14493 Alice and the Cake constructive algorithms data structures greedy sortings Statement C Codeforces Round 778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round) {1654} PROGRAMMING 1250.0 Editorial of Codeforces Round #778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round) 1400
20437 Good Pairs constructive algorithms math sortings Statement A CodeTON Round 1 (Div. 1 + Div. 2, Rated, Prizes!) {1656} PROGRAMMING 500.0 Tutorial
32622 Array Cloning Technique constructive algorithms greedy sortings Statement B Codeforces Round 781 (Div. 2) {1665} PROGRAMMING 750.0 Codeforces Round #781 (Div. 2) Editorial
17773 A-B-C Sort constructive algorithms implementation sortings Statement D Codeforces Round 786 (Div. 3) {1674} PROGRAMMING 102482
26182 AND Sorting bitmasks constructive algorithms sortings Statement B Codeforces Round 793 (Div. 2) {1682} PROGRAMMING 1000.0 Codeforces Round #793 (Div. 2) Editorial
745 Unordered Swaps constructive algorithms dfs and similar graphs greedy math sortings Statement E Codeforces Round 793 (Div. 2) {1682} PROGRAMMING 2500.0 Codeforces Round #793 (Div. 2) Editorial
13255 Column Swapping constructive algorithms implementation sortings Statement C Codeforces Round 792 (Div. 1 + Div. 2) {1684} PROGRAMMING 1250.0 Codeforces Round #792 (Div. 1 + Div. 2) Editorial 1400
10740 Traps constructive algorithms greedy sortings Statement D Codeforces Round 792 (Div. 1 + Div. 2) {1684} PROGRAMMING 1500.0 Codeforces Round #792 (Div. 1 + Div. 2) Editorial 1700
18573 Circular Local MiniMax constructive algorithms greedy sortings Statement A Codeforces Round 794 (Div. 1) {1685} PROGRAMMING 500.0 103198 1100
4131 Railway System constructive algorithms dsu graphs greedy interactive sortings Statement B Codeforces Round 796 (Div. 1) {1687} PROGRAMMING 750.0 Editorial of Codeforces Round 796
18996 Patchouli's Magical Talisman bitmasks constructive algorithms greedy sortings Statement B Codeforces Round 796 (Div. 2) {1688} PROGRAMMING 750.0 Tutorial
7447 Max GEQ Sum binary search constructive algorithms data structures divide and conquer implementation sortings two pointers Statement D CodeCraft-22 and Codeforces Round 795 (Div. 2) {1691} PROGRAMMING 1750.0 Editorial for CodeCraft-22 and Codeforces Round #795 (Div. 2)
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
22666 Optimal Reduction constructive algorithms sortings Statement B Codeforces Round 812 (Div. 2) {1713} PROGRAMMING 1000.0 Codeforces Round #812 (Div. 2) Editorial 1000
17039 Parity Shuffle Sorting constructive algorithms sortings Statement C Codeforces Round 821 (Div. 2) {1733} PROGRAMMING 1500.0 Codeforces Round #821 (Div. 2) Editorial
1373 Connectivity Addicts constructive algorithms dsu graphs greedy interactive shortest paths sortings trees Statement F Codeforces Global Round 22 {1738} PROGRAMMING 2750.0 Editorial of Codeforces Global Round <strong>22</strong>
18718 Prefix Sum Addicts constructive algorithms math sortings Statement B Codeforces Global Round 22 {1738} PROGRAMMING 1000.0 Editorial of Codeforces Global Round <strong>22</strong>
12302 Bricks and Bags constructive algorithms games greedy sortings Statement C Codeforces Round 831 (Div. 1 + Div. 2) {1740} PROGRAMMING 1500.0 Tutorial 1400
346 Dangerous Laser Power constructive algorithms dsu sortings Statement G Codeforces Round 831 (Div. 1 + Div. 2) {1740} PROGRAMMING 2750.0 Tutorial 3100
20603 Save the Magazines constructive algorithms greedy sortings string suffix structures Statement C Educational Codeforces Round 137 (Rated for Div. 2) {1743} PROGRAMMING Educational Codeforces Round 137 Editorial 1100
18595 Make Array Good constructive algorithms implementation number theory sortings Statement B Codeforces Round 838 (Div. 2) {1762} PROGRAMMING 1000.0 Codeforces Round #838 (Div. 2) Editorial
136 Unequal Adjacent Elements constructive algorithms sortings Statement G Codeforces Round 838 (Div. 2) {1762} PROGRAMMING 3500.0 Codeforces Round #838 (Div. 2) Editorial
1194 Doremy's Experimental Tree brute force constructive algorithms dfs and similar dsu sortings trees Statement F Codeforces Global Round 24 {1764} PROGRAMMING 2250.0 Codeforces Global Round 24 Editorial
15681 Elemental Decompress constructive algorithms greedy implementation sortings Statement C Codeforces Round 842 (Div. 2) {1768} PROGRAMMING 1500.0 Codeforces Round #842 (Div. 2) Editorial
2793 Copy of a Copy of a Copy constructive algorithms sortings Statement F Codeforces Round 839 (Div. 3) {1772} PROGRAMMING 110313
2025 Anya's Simultaneous Exhibition constructive algorithms data structures graphs greedy interactive sortings Statement E Hello 2023 {1779} PROGRAMMING 2250.0
48259 Make it Beautiful constructive algorithms sortings Statement A Educational Codeforces Round 141 (Rated for Div. 2) {1783} PROGRAMMING Educational Codeforces Round 141 Editorial
5535 Survey in Class constructive algorithms data structures greedy implementation sortings Statement D Codeforces Round 879 (Div. 2) {1834} PROGRAMMING 1750.0 Codeforces Round #879 Editorial
3691 Bracket Walk constructive algorithms data structures implementation sortings strings Statement D Codeforces Round 877 (Div. 2) {1838} PROGRAMMING 1750.0 Codeforces Round #877 (Div. 2) Editorial
21439 Rudolf and the Another Competition constructive algorithms greedy implementation sortings Statement C Codeforces Round 883 (Div. 3) {1846} PROGRAMMING
5445 Imbalanced Arrays constructive algorithms greedy sortings two pointers Statement B Codeforces Round 887 (Div. 1) {1852} PROGRAMMING 750.0 Codeforces Round 887 (Div 1, Div 2) Tutorial
43578 Olya and Game with Arrays constructive algorithms greedy math sortings Statement B Codeforces Round 892 (Div. 2) {1859} PROGRAMMING 1000.0 Video solutions from Geothermal.
21135 green_gold_dog, array and permutation constructive algorithms sortings Statement A Codeforces Round 897 (Div. 2) {1867} PROGRAMMING 500.0
20201 Smilo and Monsters constructive algorithms greedy sortings two pointers Statement C Codeforces Round 907 (Div. 2) {1891} PROGRAMMING 1000.0
20514 Sorting with Twos constructive algorithms sortings Statement A Codeforces Round 907 (Div. 2) {1891} PROGRAMMING 500.0
11409 Neutral Tonality constructive algorithms greedy sortings two pointers Statement B Codeforces Round 908 (Div. 1) {1893} PROGRAMMING 1000.0 Codeforces Round 908 (Div. 1, Div, 2) Editorial
11571 Matching Arrays binary search constructive algorithms greedy sortings Statement C CodeTON Round 7 (Div. 1 + Div. 2, Rated, Prizes!) {1896} PROGRAMMING 1500.0 CodeTON Round 7 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
409 Pepe Racing constructive algorithms interactive sortings Statement G CodeTON Round 7 (Div. 1 + Div. 2, Rated, Prizes!) {1896} PROGRAMMING 3250.0 CodeTON Round 7 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
5666 Set To Max (Hard Version) binary search constructive algorithms data structures dsu greedy implementation sortings two pointers Statement D2 Codeforces Round 914 (Div. 2) {1904} PROGRAMMING 750.0 Codeforces Round 914 (Div. 2) Editorial
13137 Heavy Intervals constructive algorithms data structures dsu greedy math sortings Statement C Pinely Round 3 (Div. 1 + Div. 2) {1909} PROGRAMMING 1500.0 Editorial of Pinely Round 3 (Div. 1 + Div. 2)
26939 Minimize Inversions constructive algorithms data structures greedy implementation sortings Statement B Codeforces Round 922 (Div. 2) {1918} PROGRAMMING 1000.0 Codeforces Round #922 (Div. 2) Editorial
34870 Sasha and the Beautiful Array constructive algorithms greedy sortings Statement A Codeforces Round 926 (Div. 2) {1929} PROGRAMMING 500.0 Codeforces Round #926 (Div. 2) Editorial.
8134 Lexicographically Largest constructive algorithms data structures greedy sortings Statement C think-cell Round 1 {1930} PROGRAMMING 1500.0 think-cell Round 1 Editorial
23455 Turtle Tenacity: Continual Mods constructive algorithms greedy number theory sortings Statement D Codeforces Round 929 (Div. 3) {1933} PROGRAMMING Codeforces Round 929 (Div. 3) Editorial
9747 Messenger in MAC binary search brute force constructive algorithms data structures dp sortings Statement C Codeforces Round 932 (Div. 2) {1935} PROGRAMMING 1500.0 Codeforces Round #932 (Div. 2) Editorial
175 Almost Certainly *special constructive algorithms data structures sortings Statement D XVIII Open Olympiad in Informatics - Final Stage, Day 2 (Unrated, Online Mirror, IOI rules) {1940} PROGRAMMING
270 Three Arrays *special constructive algorithms implementation sortings Statement B XVIII Open Olympiad in Informatics - Final Stage, Day 2 (Unrated, Online Mirror, IOI rules) {1940} PROGRAMMING
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
32211 Progressive Square constructive algorithms data structures implementation sortings Statement B Codeforces Round 938 (Div. 3) {1955} PROGRAMMING 128243
481 Nene and the Passing Game constructive algorithms data structures dsu graphs sortings Statement F Codeforces Round 939 (Div. 2) {1956} PROGRAMMING 2500.0 [Editorial] Codeforces Round 939 (Div. 2)
9828 Cat, Fox and Double Maximum constructive algorithms greedy implementation math sortings Statement C Codeforces Round 945 (Div. 2) {1973} PROGRAMMING 1500.0 Editorial for Codeforces Round #945 (Div. 2) 1700
28576 Alice and Books constructive algorithms sortings Statement A Codeforces Round 953 (Div. 2) {1978} PROGRAMMING 500.0 130527
12961 Permutation of Rows and Columns constructive algorithms data structures hashing math matrices sortings Statement E Codeforces Round 950 (Div. 3) {1980} PROGRAMMING 130135
11001 Swap Dilemma constructive algorithms divide and conquer greedy math sortings Statement D Codeforces Round 956 (Div. 2) and ByteRace 2024 {1983} PROGRAMMING 1750.0
299 Magic Trick II constructive algorithms implementation sortings Statement G Codeforces Global Round 26 {1984} PROGRAMMING 4000.0 Codeforces Global Round 26 Editorial
49058 Only Pluses brute force constructive algorithms greedy math sortings Statement A Codeforces Round 957 (Div. 3) {1992} PROGRAMMING Shayan's Video Tutorial
16527 Concatenation of Arrays constructive algorithms greedy math sortings Statement A Codeforces Round 980 (Div. 1) {2023} PROGRAMMING 500.0 135341
17006 Buying Lemonade binary search constructive algorithms sortings Statement B Codeforces Round 980 (Div. 2) {2024} PROGRAMMING 1000.0 135341
6579 Darius' Wisdom constructive algorithms greedy implementation sortings Statement D Rayan Programming Contest 2024 - Selection (Codeforces Round 989, Div. 1 + Div. 2) {2034} PROGRAMMING 1500.0 Rayan 2024 Selection Round Editorial
102 Cool Swap Walk (Easy Version) constructive algorithms implementation implementation sortings sortings Statement H1 CodeTON Round 9 (Div. 1 + Div. 2, Rated, Prizes!) {2039} PROGRAMMING 2250.0 Editorial of CodeTON Round 9 (Div. 1 + Div. 2)
90 Cool Swap Walk (Hard Version) constructive algorithms constructive algorithms constructive algorithms implementation sortings Statement H2 CodeTON Round 9 (Div. 1 + Div. 2, Rated, Prizes!) {2039} PROGRAMMING 2500.0 Editorial of CodeTON Round 9 (Div. 1 + Div. 2) 3500
12478 Customer Service brute force constructive algorithms graph matchings greedy math sortings Statement C Codeforces Round 1002 (Div. 2) {2059} PROGRAMMING 1500.0 139094
29089 Milya and Two Arrays constructive algorithms greedy sortings Statement A Codeforces Round 1002 (Div. 2) {2059} PROGRAMMING 500.0 139094
1893 A, B, AB and BA constructive algorithms greedy sortings strings Statement E Educational Codeforces Round 174 (Rated for Div. 2) {2069} PROGRAMMING 139774
9624 Trapmigiano Reggiano constructive algorithms dfs and similar sortings trees Statement C Codeforces Round 1007 (Div. 2) {2071} PROGRAMMING 1500.0 Codeforces Round 1007 (Div. 2) Editorial
14426 Breach of Faith constructive algorithms greedy math sortings Statement A Codeforces Round 1008 (Div. 1) {2077} PROGRAMMING 500.0 Codeforces Round 1008 (Div. 1, Div. 2) Editorial
1170 MST in Modulo Graph constructive algorithms dsu graphs greedy math number theory sortings Statement D Codeforces Round 1010 (Div. 1, Unrated) {2081} PROGRAMMING 1750.0 Codeforces Round 1010 (Div. 1, Div. 2, based on Zhili Cup 2025) Editorial
11909 Creating a Schedule constructive algorithms data structures greedy sortings Statement D Educational Codeforces Round 179 (Rated for Div. 2) {2111} PROGRAMMING Educational Codeforces Round 179 Editorial
1412 Grid Coloring constructive algorithms greedy sortings Statement E Codeforces Round 1030 (Div. 2) {2118} PROGRAMMING 2500.0 Codeforces Round 1030 (Div. 2) Editorial
12482 Divine Tree constructive algorithms greedy math sortings trees Statement C Codeforces Round 1033 (Div. 2) and CodeNite 2025 {2120} PROGRAMMING 1250.0 Codeforces Round 1033 (Div. 2) and CodeNite 2025 Editorial
8325 Manhattan Pairs constructive algorithms greedy math sortings Statement C Order Capital Round 1 (Codeforces Round 1038, Div. 1 + Div. 2) {2122} PROGRAMMING 1500.0 Order Capital Round 1 (Codeforces Round 1038, Div. 1 + Div. 2) Editorial
19133 Deranged Deletions constructive algorithms sortings Statement A EPIC Institute of Technology Round Summer 2025 (Codeforces Round 1036, Div. 1 + Div. 2) {2124} PROGRAMMING 500.0 EPIC Institute of Technology Round Summer 2025 (Codeforces Round 1036, Div. 1 + Div. 2) Editorial
27869 Difficult Contest constructive algorithms implementation sortings strings Statement A Educational Codeforces Round 181 (Rated for Div. 2) {2125} PROGRAMMING Educational Codeforces Round 181 Editorial
21312 Deque Process constructive algorithms greedy sortings two pointers Statement B Codeforces Round 1039 (Div. 2) {2128} PROGRAMMING 1000.0 Codeforces Round #1039 — Editorial
12409 Loyalty constructive algorithms greedy sortings two pointers Statement C Pinely Round 5 (Div. 1 + Div. 2) {2161} PROGRAMMING 1750.0
35775 Isamatdin and His Magic Wand! constructive algorithms greedy implementation sortings Statement C Codeforces Round 1062 (Div. 4) {2167} PROGRAMMING Arpa Video Tutorial
137 Elevator Against Humanity brute force constructive algorithms greedy sortings Statement E 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
15677 Restricted Sorting binary search constructive algorithms greedy sortings Statement A Codeforces Round 1077 (Div. 1) {2187} PROGRAMMING 750.0 Codeforces Round 1077 (Div. 1, Div. 2) Editorial
19690 MEX Reordering constructive algorithms sortings Statement B Codeforces Round 1073 (Div. 2) {2191} PROGRAMMING 1000.0 Codeforces Round 1073 (Div. 1, Div. 2) Editorial