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
2428 Sum of Medians binary search brute force data structures implementation Statement D Yandex.Algorithm 2011: Round 1 {85} PROGRAMMING Yandex.Algorithm 2011 - Round 1. Problem C. Tutorial 2200
19330 Lucky Numbers (easy) binary search bitmasks brute force Statement B Codeforces Beta Round 77 (Div. 2 Only) {96} PROGRAMMING Codeforces Beta Round #77 (Div. 2 Only) Question A - D 1400
1602 Hot Bath binary search brute force math Statement A Codeforces Beta Round 93 (Div. 1 Only) {126} PROGRAMMING Tutorial 1900
3208 String Manipulation 1.0 *special binary search brute force data structures strings Statement C VK Cup 2012 Qualification Round 2 {159} PROGRAMMING Simple solution to vk cup Qualification Round 1 and 2 2000
5497 Dress'em in Vests! binary search brute force greedy two pointers Statement A VK Cup 2012 Round 1 {161} PROGRAMMING VK Cup 2012 Round 1: editorial 1300
276 Minimum Diameter binary search brute force Statement D VK Cup 2012 Round 3 {164} PROGRAMMING VK Cup 2012 Round 3 — Разбор 2900
13892 Another Problem on Strings binary search brute force dp math strings two pointers Statement C Codeforces Round 112 (Div. 2) {165} PROGRAMMING Codeforces Round #112 (Div. 2) Tutorial 1600
3536 Number of Triplets binary search brute force Statement B Croc Champ 2012 - Round 2 (Unofficial Div. 2 Edition) {181} PROGRAMMING Croc Champ 2012 — Round 2 — Editorial 1300
11578 Funky Numbers binary search brute force implementation Statement A Codeforces Round 121 (Div. 2) {192} PROGRAMMING tutorial 1300
10151 Let's Watch Football binary search brute force math Statement A Codeforces Round 123 (Div. 2) {195} PROGRAMMING Codeforces Round #123 (Div. 2) Разбор Задач 1100
1056 Programming Language binary search brute force expression parsing implementation Statement D Codeforces Round 126 (Div. 2) {200} PROGRAMMING Editorial of Codeforces Round #126 (Div. 2) 1800
19851 LLPS binary search bitmasks brute force greedy implementation strings Statement A Codeforces Round 127 (Div. 2) {202} PROGRAMMING 900
8310 Non-square Equation binary search brute force math Statement B Codeforces Round 144 (Div. 2) {233} PROGRAMMING Editorial for Codeforces Round #144 1500
976 Log Stream Analysis binary search brute force implementation strings Statement F CROC-MBTU 2012, Elimination Round (ACM-ICPC) {245} PROGRAMMING КРОК-МВТУ 2012, Отборочный раунд (Разбор) 2000
512 Dividing Kingdom binary search brute force data structures Statement E Codeforces Round 158 (Div. 2) {260} PROGRAMMING Codeforces Round #158 (Div. 2) Tutorial 2600
15540 Prime Matrix binary search brute force math number theory Statement B Codeforces Round 166 (Div. 2) {271} PROGRAMMING editroal 1400
73582 Books binary search brute force implementation two pointers Statement B Codeforces Round 171 (Div. 2) {279} PROGRAMMING Codeforces Round #171 (Div. 2) Разбор Задач 1400
2243 Characteristics of Rectangles binary search bitmasks brute force implementation sortings Statement D Codeforces Round 194 (Div. 1) {333} PROGRAMMING Codeforces Round 194 — Editoral 2100
1251 Summer Earnings binary search bitmasks brute force geometry sortings Statement E Codeforces Round 194 (Div. 1) {333} PROGRAMMING Codeforces Round 194 — Editoral 2400
5756 Pair of Numbers binary search brute force data structures math two pointers Statement D Codeforces Round 209 (Div. 2) {359} PROGRAMMING Editorial Codeforces Round #209 (Div. 2) 2100
34971 Hamburgers binary search brute force Statement C Codeforces Round 218 (Div. 2) {371} PROGRAMMING Codeforces Round #218 (Div. 2): Tutorial 1600
2924 Sereja and Prefixes binary search brute force Statement A Codeforces Round 223 (Div. 1) {380} PROGRAMMING Codeforces Round #223 — Tutorial 1700
10626 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
2533 Fly, freebies, fly! binary search brute force implementation Statement B Testing Round 9 {386} PROGRAMMING 1500
613 Biathlon Track binary search brute force constructive algorithms data structures dp Statement D Codeforces Round 242 (Div. 2) {424} PROGRAMMING Codeforces Round #242 (Div. 2) Editorial 2200
16841 Multiplication Table binary search brute force Statement D Codeforces Round 256 (Div. 2) {448} PROGRAMMING Tutorial 1900
42175 Number of Ways binary search brute force data structures dp two pointers Statement C Codeforces Round 266 (Div. 2) {466} PROGRAMMING Editorial Codeforces Round #266 (Div. 2) 1700
3749 MUH and House of Cards binary search brute force greedy math Statement C Codeforces Round 269 (Div. 2) {471} PROGRAMMING Codeforces Round #269 Editorial 1700
3956 Fight the Monster binary search brute force implementation Statement A Codeforces Round 278 (Div. 1) {487} PROGRAMMING Tutorial 1900
1702 Restoring Increasing Sequence binary search brute force greedy implementation Statement E Codeforces Round 279 (Div. 2) {490} PROGRAMMING Codeforces Round #279 (Div. 2) Editorial 2100
7527 Vasya and Basketball binary search brute force data structures implementation sortings two pointers Statement C Codeforces Round 281 (Div. 2) {493} PROGRAMMING Codeforces Round #281 (Div. 2) Editorial 1700
418 Pasha and Pipe binary search brute force combinatorics dp implementation Statement F Codeforces Round 293 (Div. 2) {518} PROGRAMMING Codeforces Round #293 (Div.2) Editorial 2800
4210 Anya and Cubes binary search bitmasks brute force dp math meet-in-the-middle Statement E Codeforces Round 297 (Div. 2) {525} PROGRAMMING Codeforces Round #297 (Div.2) Editorial 2200
6147 Tourist's Notes binary search brute force greedy implementation math Statement C Codeforces Round 300 {538} PROGRAMMING Codeforces Round #300 Editorial (+challenges) 1600
2484 Skills binary search brute force dp greedy sortings two pointers Statement B Codeforces Round 339 (Div. 1) {613} PROGRAMMING Tutorial 2200
3497 Image Preview binary search brute force dp two pointers Statement B Codeforces Round 345 (Div. 1) {650} PROGRAMMING Codeforces Round #345: editorial 1900
24334 Magic Powder - 1 binary search brute force implementation Statement D1 Codeforces Round 350 (Div. 2) {670} PROGRAMMING Codeforces Round #350 (Div.2) Editorial 1400
756 Vanya and Balloons binary search brute force dp implementation Statement E Codeforces Round 355 (Div. 2) {677} PROGRAMMING Codeforces Round #355 (Div. 2) Editorial 2600
1631 Vladik and cards binary search bitmasks brute force dp Statement E Codeforces Round 384 (Div. 2) {743} PROGRAMMING Codeforces Round #384 Editorial 2300
93342 New Year and Hurry binary search brute force implementation math Statement A Good Bye 2016 {750} PROGRAMMING Good Bye 2016 — hints and codes 800
4217 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
6265 Molly's Chemicals binary search brute force data structures implementation math Statement C ICM Technex 2017 and Codeforces Round 400 (Div. 1 + Div. 2, combined) {776} PROGRAMMING ICM Technex 2017 and Codeforces Round #400 (Div. 1 + Div. 2, combined) Editorial 1800
1561 Expected diameter of a tree binary search brute force dfs and similar dp sortings trees Statement D Codeforces Round 411 (Div. 1) {804} PROGRAMMING Codeforces Round #411 Editorial 2600
8515 Really Big Numbers binary search brute force dp math Statement C Educational Codeforces Round 23 {817} PROGRAMMING 52638 1600
8270 Office Keys binary search brute force dp greedy sortings Statement A Codeforces Round 424 (Div. 1, rated, based on VK Cup Finals) {830} PROGRAMMING Codeforces Round #424 Editorial 1900
1082 Prefix Sums binary search brute force combinatorics math matrices Statement F Educational Codeforces Round 26 {837} PROGRAMMING 53662 2500
12838 Two Cakes binary search brute force implementation Statement B Educational Codeforces Round 35 (Rated for Div. 2) {911} PROGRAMMING T 1200
5146 Too Easy Problems binary search brute force data structures greedy sortings Statement D Hello 2018 {913} PROGRAMMING Tutorial 1800
31729 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
2009 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
3479 Constructing Tests binary search brute force constructive algorithms Statement C Educational Codeforces Round 38 (Rated for Div. 2) {938} PROGRAMMING Educational Codeforces Round 38 — Editorial 1700
897 Curfew binary search brute force greedy sortings Statement D Codeforces Round 469 (Div. 1) {949} PROGRAMMING 58291 2400
2193 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
11046 Planning The Expedition binary search brute force implementation Statement B Codeforces Round 499 (Div. 2) {1011} PROGRAMMING 60851 1200
2772 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
6736 Berland Fair binary search brute force data structures greedy Statement D Educational Codeforces Round 53 (Rated for Div. 2) {1073} PROGRAMMING 62742 1700
2381 Elongated Matrix binary search bitmasks brute force dp graphs Statement F Codeforces Round 531 (Div. 3) {1102} PROGRAMMING 64439 2400
7063 Creative Snap binary search brute force divide and conquer math Statement C CodeCraft-19 and Codeforces Round 537 (Div. 2) {1111} PROGRAMMING CodeCraft-19 and Codeforces Round #537 (Div. 2) Editorial 1700
7975 Born This Way binary search brute force two pointers Statement B Codeforces Global Round 3 {1148} PROGRAMMING Codeforces Global Round 3 Editorial 1700
1760 Serval and Snake binary search brute force interactive Statement E Codeforces Round 551 (Div. 2) {1153} PROGRAMMING Editorial 2100
2286 Cute Sequences binary search brute force greedy math Statement D Codeforces Round 561 (Div. 2) {1166} PROGRAMMING Codeforces Round #561 (Div. 2) Editorial 2100
7278 Electrification binary search brute force greedy Statement C Educational Codeforces Round 66 (Rated for Div. 2) {1175} PROGRAMMING Editorial 1600
22009 Sport Mafia binary search brute force math Statement B Codeforces Round 574 (Div. 2) {1195} PROGRAMMING Разбор Codeforces Round #574 (Div. 2) 1100
10021 Welfare State binary search brute force data structures sortings Statement B Codeforces Round 576 (Div. 1) {1198} PROGRAMMING E 1600
11691 Uniqueness binary search brute force implementation two pointers Statement B Manthan, Codefest 19 (open for everyone, rated, Div. 1 + Div. 2) {1208} PROGRAMMING 69357 1500
3752 Numerical Sequence (easy version) binary search brute force math Statement E1 Codeforces Round 587 (Div. 3) {1216} PROGRAMMING Codeforces Round #587 (Div. 3) Editorial 1900
7869 The Number Of Good Substrings binary search bitmasks brute force Statement C Educational Codeforces Round 72 (Rated for Div. 2) {1217} PROGRAMMING Educational Codeforces Round 72 Editorial 1600
177 Show Must Go On binary search brute force greedy shortest paths Statement I 2019-2020 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Teams Preferred) {1250} PROGRAMMING 3100
14442 Verse For Santa binary search brute force implementation Statement B Educational Codeforces Round 79 (Rated for Div. 2) {1279} PROGRAMMING Educational Codeforces Round 79 Editorial 1300
19341 Deadline binary search brute force math ternary search Statement A Educational Codeforces Round 80 (Rated for Div. 2) {1288} PROGRAMMING Educational Codeforces Round 80 Editorial 1100
16178 ConneR and the A.R.C. Markland-N binary search brute force implementation Statement A Codeforces Round 614 (Div. 2) {1293} PROGRAMMING 500.0 Codeforces Round #614 Editorial 1100
11775 Three Blocks Palindrome (easy version) binary search brute force data structures dp two pointers Statement E1 Codeforces Round 634 (Div. 3) {1335} PROGRAMMING 75993 1700
28274 Card Constructions binary search brute force dp math Statement B Codeforces Round 639 (Div. 2) {1345} PROGRAMMING 1000.0 Codeforces Round #639 Editorial 1100
6378 Not So Simple Polygon Embedding binary search brute force geometry math Statement C2 Educational Codeforces Round 87 (Rated for Div. 2) {1354} PROGRAMMING 77593 2000
8744 The Best Vacation binary search brute force greedy implementation two pointers Statement D Codeforces Round 645 (Div. 2) {1358} PROGRAMMING 1500.0 Codeforces Round #645 (Div. 2) Editorial 1900
584 RC Kaboom Show binary search brute force data structures geometry math Statement F Educational Codeforces Round 88 (Rated for Div. 2) {1359} PROGRAMMING Educational Codeforces Round 88 Editorial 2900
4636 Two Arrays binary search brute force combinatorics dp greedy implementation two pointers Statement E Educational Codeforces Round 89 (Rated for Div. 2) {1366} PROGRAMMING Educational Codeforces Round 89 Editorial
5907 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
13200 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
4558 Segment Intersections binary search brute force greedy implementation math Statement D Educational Codeforces Round 92 (Rated for Div. 2) {1389} PROGRAMMING 80809
15521 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
11715 RPG Protagonist binary search brute force greedy math Statement B Educational Codeforces Round 94 (Rated for Div. 2) {1400} PROGRAMMING 81942
1889 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
4690 Searchlights binary search brute force data structures dp geometry implementation sortings Statement D Grakn Forces 2020 {1408} PROGRAMMING 2000.0 Grakn Forces -- Editorial
4692 Array Partition binary search brute force data structures greedy two pointers Statement F Codeforces Round 686 (Div. 3) {1454} PROGRAMMING Codeforces Round #686 (Div. 3) Editorial
10320 Divide and Summarize binary search brute force data structures divide and conquer implementation sortings Statement D Codeforces Round 689 (Div. 2, based on Zed Code Competition) {1461} PROGRAMMING 1500.0 Codeforces Round #689 (Div. 2). Editorial
1440 Strange Shuffle binary search brute force constructive algorithms interactive probabilities Statement C Codeforces Round 694 (Div. 1) {1470} PROGRAMMING 1000.0 86464
21691 Inflation binary search brute force greedy math Statement B Educational Codeforces Round 103 (Rated for Div. 2) {1476} PROGRAMMING 87356
11086 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
481 Two Policemen *special binary search brute force math Statement C Kotlin Heroes: Episode 6 {1488} PROGRAMMING 88522
39039 Sum of Cubes binary search brute force brute force math Statement C Codeforces Round 702 (Div. 3) {1490} PROGRAMMING Codeforces Round #702 (Div. 3) Editorial
4962 K-beautiful Strings binary search brute force greedy implementation strings Statement C Codeforces Round 705 (Div. 2) {1493} PROGRAMMING 1750.0 Codeforces Round #705 (Div.2) Editorial
15355 Berland Crossword binary search bitmasks brute force greedy implementation Statement B Educational Codeforces Round 105 (Rated for Div. 2) {1494} PROGRAMMING Educational Codeforces Round 105 Editorial
2321 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
16521 Erase and Extend (Easy Version) binary search brute force dp greedy hashing string suffix structures strings Statement E1 Codeforces Round 726 (Div. 2) {1537} PROGRAMMING 1250.0 Codeforces Round #726 (Div.2) Editorial
387 Inverse Inversions binary search brute force data structures Statement D Codeforces Round 728 (Div. 1) {1540} PROGRAMMING 3000.0 Tutorial
6773 Nearest Beautiful Number (easy version) binary search bitmasks brute force constructive algorithms dfs and similar greedy Statement F1 Codeforces Round 739 (Div. 3) {1560} PROGRAMMING 94009 1900
5382 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
2139 Korney Korneevich and XOR (hard version) binary search brute force dp two pointers Statement F2 Codeforces Round 750 (Div. 2) {1582} PROGRAMMING 1500.0 Codeforces Round #750 (Div.2) Editorial
1942 AmShZ and G.O.A.T. binary search brute force greedy math Statement E Codeforces Global Round 17 {1610} PROGRAMMING 2500.0 Codeforces Global Round 17 Editorial
8487 New Year's Problem binary search brute force greedy sortings Statement D Codeforces Round 762 (Div. 3) {1619} PROGRAMMING Tutorial
4826 Exact Change binary search brute force constructive algorithms greedy Statement D Educational Codeforces Round 119 (Rated for Div. 2) {1620} PROGRAMMING 98061
4343 Martial Arts Tournament binary search brute force greedy Statement D Educational Codeforces Round 121 (Rated for Div. 2) {1626} PROGRAMMING 99136
14141 Strange Test binary search bitmasks brute force greedy math Statement C Codeforces Round 769 (Div. 2) {1632} PROGRAMMING 1500.0 Editorial of Codeforces Round #769
3819 Best Pair binary search brute force Statement E Codeforces Global Round 19 {1637} PROGRAMMING 2500.0 Tutorial
482 Tower Defense binary search brute force data structures Statement F Educational Codeforces Round 124 (Rated for Div. 2) {1651} PROGRAMMING Educational Codeforces Round 124 Editorial
5680 Very Suspicious binary search brute force geometry implementation math Statement D Codeforces Round 788 (Div. 2) {1670} PROGRAMMING 2250.0 Tutorial 1700
25875 Dolce Vita binary search brute force greedy math Statement C Educational Codeforces Round 127 (Rated for Div. 2) {1671} PROGRAMMING 102181
7328 Breaking the Wall binary search brute force constructive algorithms greedy math Statement E Codeforces Round 786 (Div. 3) {1674} PROGRAMMING 102482
737 Cute number binary search brute force implementation math Statement D Codeforces Round 796 (Div. 1) {1687} PROGRAMMING 1500.0 Editorial of Codeforces Round 796
5013 Guess The String binary search brute force constructive algorithms dsu interactive Statement D Educational Codeforces Round 130 (Rated for Div. 2) {1697} PROGRAMMING 103835
1794 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
7739 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
2467 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
2038 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
8555 Valiant's New Map binary search brute force data structures dp two pointers Statement D Codeforces Round 841 (Div. 2) and Divide by Zero 2022 {1731} PROGRAMMING 1500.0 Codeforces Round #841 (Div. 2) and Divide By Zero 2022 Editorial
3099 Sheikh (Hard Version) binary search bitmasks brute force greedy implementation two pointers Statement C2 Codeforces Round 830 (Div. 2) {1732} PROGRAMMING 1000.0 108327 2100
424 N Machines binary search brute force greedy Statement E Codeforces Round 829 (Div. 1) {1753} PROGRAMMING 2500.0 Tutorial 3300
8508 Range = √Sum binary search brute force constructive algorithms math two pointers Statement D Codeforces Round 836 (Div. 2) {1758} PROGRAMMING 1750.0 Codeforces Round #836 (Div. 2) Editorial
16463 Incinerate binary search brute force data structures sortings Statement B Codeforces Round 840 (Div. 2) and Enigma 2022 - Cybros LNMIIT {1763} PROGRAMMING 1000.0 Codeforces Round #840 (Div. 2) and Enigma 2022 — Cybros LNMIIT Editorial
1737 Josuke and Complete Graph binary search brute force data structures number theory Statement E Codeforces Round 846 (Div. 2) {1780} PROGRAMMING 1750.0 111841
4703 Moving Dots binary search brute force combinatorics dp math two pointers Statement D Codeforces Round 851 (Div. 2) {1788} PROGRAMMING 2250.0 Codeforces Round #851 (Div. 2) Editorial
15642 Range Update Point Query binary search brute force data structures Statement F Codeforces Round 849 (Div. 4) {1791} PROGRAMMING 112282
16867 Min Max Sort binary search brute force greedy math Statement C Educational Codeforces Round 142 (Rated for Div. 2) {1792} PROGRAMMING 111835
12238 Maximum Set binary search brute force combinatorics dp math Statement C Educational Codeforces Round 144 (Rated for Div. 2) {1796} PROGRAMMING Educational Codeforces Round 144 Editorial
1031 Balancing Weapons binary search brute force two pointers Statement D Educational Codeforces Round 146 (Rated for Div. 2) {1814} PROGRAMMING Educational Codeforces Round 146 Editorial
5550 Black Cells binary search brute force greedy math Statement D Educational Codeforces Round 147 (Rated for Div. 2) {1821} PROGRAMMING 115296
1669 Palindrome Partition binary search brute force data structures dp hashing strings Statement C Codeforces Round 873 (Div. 1) {1827} PROGRAMMING 1500.0 Codeforces Round #873 (Div. 1 & 2) Editorial 2600
2788 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
1091 Lottery binary search brute force greedy math sortings two pointers Statement B Codeforces Round 880 (Div. 1) {1835} PROGRAMMING 1250.0 Codeforces Round 880 Editorial
25669 Rudolf and Snowflakes (simple version) binary search brute force implementation math Statement E1 Codeforces Round 883 (Div. 3) {1846} PROGRAMMING
8587 Rudolf and Snowflakes (hard version) binary search brute force implementation math Statement E2 Codeforces Round 883 (Div. 3) {1846} PROGRAMMING
2987 Vika and Bonuses binary search brute force math ternary search Statement D Codeforces Round 885 (Div. 2) {1848} PROGRAMMING 2000.0 Codeforces Round #885 (Div.2) Editorial
12589 Binary String Copying binary search brute force data structures hashing strings Statement C Educational Codeforces Round 152 (Rated for Div. 2) {1849} PROGRAMMING 118752
19826 Fibonaccharsis binary search brute force math Statement B Codeforces Round 887 (Div. 2) {1853} PROGRAMMING 1000.0 Codeforces Round 887 (Div 1, Div 2) Tutorial
18655 To Become Max binary search brute force data structures dp Statement C Codeforces Round 890 (Div. 2) supported by Constructor Institute {1856} PROGRAMMING 1250.0 Codeforces Round #890 (Div. 2) Editorial
3209 Trees and Segments binary search brute force constructive algorithms data structures dp greedy two pointers Statement D Codeforces Round 893 (Div. 2) {1858} PROGRAMMING 2000.0 Codeforces Round #893 (Div. 2) Editorial 2200
19000 Fancy Coins binary search brute force greedy math Statement B Educational Codeforces Round 153 (Rated for Div. 2) {1860} PROGRAMMING Educational Codeforces Round 153 Editorial
7661 Magic Will Save the World binary search bitmasks brute force dp Statement F Codeforces Round 894 (Div. 3) {1862} PROGRAMMING Tutorial
281 Clubstep binary search brute force data structures greedy trees Statement G Codeforces Round 902 (Div. 1, based on COMPFEST 15 - Final Round) {1876} PROGRAMMING 3250.0 Codeforces Round #902 (Div. 1, Div. 2, based on COMPFEST 15 — Final Round) Editorial
4570 Suspicious logarithms binary search brute force implementation math number theory Statement D Codeforces Round 907 (Div. 2) {1891} PROGRAMMING 1500.0
7321 Maximum And Queries (easy version) binary search bitmasks brute force greedy Statement D1 Codeforces Round 912 (Div. 2) {1903} PROGRAMMING 1500.0 Codeforces Round #912 (Div. 2) Editorial
24103 Array Game binary search brute force data structures sortings Statement C Codeforces Round 914 (Div. 2) {1904} PROGRAMMING 1000.0 Codeforces Round 914 (Div. 2) Editorial
33793 Find the Different Ones! binary search brute force data structures dp greedy two pointers Statement D Codeforces Round 923 (Div. 3) {1927} PROGRAMMING 125597
5189 Lonely Mountain Dungeons binary search brute force data structures greedy math ternary search Statement D Codeforces Round 924 (Div. 2) {1928} PROGRAMMING 1750.0 Codeforces Round 924 Editorial
17358 Sasha and the Casino binary search brute force dp games greedy math Statement C Codeforces Round 926 (Div. 2) {1929} PROGRAMMING 1500.0 Codeforces Round #926 (Div. 2) Editorial.
9825 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
542 MEX Game 2 (Easy Version) binary search brute force greedy Statement E1 Codeforces Round 934 (Div. 1) {1943} PROGRAMMING 2000.0 Codeforces Round #934 (Div1, Div2) Editorial
4952 Charming Meals binary search brute force greedy sortings Statement B European Championship 2024 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1949} PROGRAMMING European Championship 2024 (EUC) Editorial
2538 Division + LCP (hard version) binary search brute force data structures dp hashing math string suffix structures strings Statement G2 Codeforces Round 943 (Div. 3) {1968} PROGRAMMING 129096 2200
12575 Circle Perimeter binary search brute force dfs and similar geometry implementation math Statement F Codeforces Round 944 (Div. 4) {1971} PROGRAMMING Codeforces Round 944 (Div. 4) Editorial 1600
4419 Cutting Game binary search brute force data structures implementation sortings two pointers Statement F Codeforces Round 946 (Div. 3) {1974} PROGRAMMING Codeforces Round #946 (Div. 3) Editorial 1900
17238 Chamo and Mocha's Array binary search brute force greedy Statement C Codeforces Round 947 (Div. 1 + Div. 2) {1975} PROGRAMMING 1000.0 editorial_zh.pdf 1200
14789 Have Your Cake and Eat It Too binary search brute force dp greedy implementation Statement C Codeforces Round 956 (Div. 2) and ByteRace 2024 {1983} PROGRAMMING 1250.0
20148 Final Boss binary search brute force data structures Statement F Codeforces Round 952 (Div. 4) {1985} PROGRAMMING Codeforces Round 952 (Div. 4) Editorial
1805 Range Minimum Sum binary search brute force data structures implementation Statement E Codeforces Round 958 (Div. 2) {1988} PROGRAMMING 2500.0 Editorial of Codeforces Round 958 (Div. 2)
21059 Bouquet (Easy Version) binary search brute force greedy sortings sortings two pointers Statement B1 Codeforces Round 961 (Div. 2) {1995} PROGRAMMING 1000.0 Video Tutorial
19732 Fun binary search brute force number theory Statement D Codeforces Round 962 (Div. 3) {1996} PROGRAMMING Codeforces Round 962 (Div. 3) Editorial
3804 Level Up binary search brute force data structures implementation Statement E Educational Codeforces Round 168 (Rated for Div. 2) {1997} PROGRAMMING Video Tutorial
2290 Eliminating Balls With Merging (Easy Version) binary search brute force data structures divide and conquer dp greedy math Statement E1 Codeforces Round 965 (Div. 2) {1998} PROGRAMMING 1750.0 Video Tutorial
910 Eliminating Balls With Merging (Hard Version) binary search brute force data structures divide and conquer implementation Statement E2 Codeforces Round 965 (Div. 2) {1998} PROGRAMMING 1750.0 Video Tutorial
7128 Perform Operations to Maximize Score binary search brute force greedy Statement C Codeforces Round 965 (Div. 2) {1998} PROGRAMMING 1250.0 Video Tutorial
3155 Call During the Journey binary search brute force graphs greedy shortest paths Statement G Codeforces Round 966 (Div. 3) {2000} PROGRAMMING 132689
12871 Guess The Tree binary search brute force greedy interactive trees Statement C Codeforces Round 967 (Div. 2) {2001} PROGRAMMING 1500.0 Video Tutorial
6720 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
3627 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
36674 Longest Good Array binary search brute force math Statement C Codeforces Round 970 (Div. 3) {2008} PROGRAMMING Codeforces Round 970 (Div. 3) Editorial
19178 New Game binary search brute force greedy implementation two pointers Statement C Educational Codeforces Round 170 (Rated for Div. 2) {2025} PROGRAMMING Educational Codeforces Round 170 Editorial
16596 Black Cells binary search brute force greedy Statement B Educational Codeforces Round 171 (Rated for Div. 2) {2026} PROGRAMMING Educational Codeforces Round 171 Editorial
1188 Orangutan Approved Subarrays binary search brute force data structures greedy two pointers Statement F Codeforces Round 979 (Div. 2) {2030} PROGRAMMING 2500.0 Codeforces Round 979 Editorial
5853 Yet Another Real Number Problem binary search brute force data structures dp greedy implementation math two pointers Statement D Codeforces Global Round 27 {2035} PROGRAMMING 1500.0 Codeforces Global Round 27 Editorial
1975 Monster binary search brute force math Statement E Codeforces Global Round 27 {2035} PROGRAMMING 2000.0 Codeforces Global Round 27 Editorial
1937 Make It Equal binary search brute force greedy math Statement B 2024-2025 ICPC, NERC, Southern and Volga Russian Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2038} PROGRAMMING 2100
527 Vertex Pairs binary search brute force dfs and similar dp greedy trees Statement E Educational Codeforces Round 172 (Rated for Div. 2) {2042} PROGRAMMING 136886
329 Problem with Queries binary search brute force data structures Statement G Educational Codeforces Round 173 (Rated for Div. 2) {2043} PROGRAMMING Educational Codeforces Round 173 Editorial
11304 Sums on Segments binary search brute force data structures dp greedy math Statement C Educational Codeforces Round 173 (Rated for Div. 2) {2043} PROGRAMMING Educational Codeforces Round 173 Editorial
6146 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
17057 Outstanding Impressionist binary search brute force greedy Statement B Good Bye 2024: 2025 is NEAR {2053} PROGRAMMING 1000.0 Good Bye 2024: 2025 is NEAR Editorial
2651 Another Exercise on Graphs (Easy Version) binary search brute force dp graphs shortest paths Statement E1 Hello 2025 {2057} PROGRAMMING 1000.0
1939 Another Exercise on Graphs (hard version) binary search brute force dsu graphs shortest paths sortings trees Statement E2 Hello 2025 {2057} PROGRAMMING 2000.0
2282 Kevin and Binary String (Easy Version) binary search brute force data structures dp greedy implementation strings two pointers Statement F1 IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) {2061} PROGRAMMING 2000.0 IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) Editorial
22085 XOR and Triangle binary search bitmasks brute force greedy Statement C Codeforces Round 1009 (Div. 3) {2074} PROGRAMMING Codeforces Round 1009 (Div. 3) — Editorial
8942 Arcology On Permafrost binary search brute force constructive algorithms greedy math Statement D Teza Round 1 (Codeforces Round 1015, Div. 1 + Div. 2) {2084} PROGRAMMING 1750.0 141155
19116 Large Array and Segments binary search brute force dp greedy math Statement B Educational Codeforces Round 177 (Rated for Div. 2) {2086} PROGRAMMING Educational Codeforces Round 177 Editorial
6199 Igor and Mountain binary search brute force dp Statement F Codeforces Round 1013 (Div. 3) {2091} PROGRAMMING Codeforces Round 1013 (Div. 3) Editorial
3852 Shorten the Array binary search brute force data structures dfs and similar greedy strings trees two pointers Statement G Codeforces Round 1016 (Div. 3) {2093} PROGRAMMING Codeforces Round 1016 (Div. 3) Editorial
13579 Min Max MEX binary search brute force greedy Statement E Codeforces Round 1016 (Div. 3) {2093} PROGRAMMING Codeforces Round 1016 (Div. 3) Editorial
3820 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
2431 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
17906 Coloring Game binary search brute force greedy two pointers Statement C Educational Codeforces Round 180 (Rated for Div. 2) {2112} PROGRAMMING Educational Codeforces Round 180 — Editorial
5538 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
43486 Square Year binary search brute force math Statement A Codeforces Round 1027 (Div. 3) {2114} PROGRAMMING 143268
2275 Ice Baby binary search brute force data structures dp implementation sortings Statement H Codeforces Round 1032 (Div. 3) {2121} PROGRAMMING Codeforces Round 1032 (Div. 3) Editorial
8199 Yamakasi binary search brute force data structures greedy Statement F Codeforces Round 1032 (Div. 3) {2121} PROGRAMMING Codeforces Round 1032 (Div. 3) Editorial
7601 Chicken Jockey binary search brute force dp greedy math Statement D Codeforces Round 1044 (Div. 2) {2133} PROGRAMMING 2250.0 Codeforces Round 1044 (Div. 2) Editorial
1008 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
649 Antiamuny and Slider Movement binary search brute force combinatorics implementation math Statement D Codeforces Round 1048 (Div. 1) {2138} PROGRAMMING 2500.0 Codeforces Round 1048 (Div. 1, Div. 2) Editorial
2163 Maximum OR Popcount binary search bitmasks brute force data structures greedy Statement E Codeforces Global Round 29 (Div. 1 + Div. 2) {2147} PROGRAMMING 2500.0
2701 Buratsuta 3 binary search brute force data structures divide and conquer probabilities Statement G Codeforces Round 1054 (Div. 3) {2149} PROGRAMMING __rose
21048 Strange Machine binary search brute force greedy implementation Statement B Codeforces Round 1061 (Div. 2) {2156} PROGRAMMING 750.0 Codeforces Round 1061 (Div. 2) Editorial
11135 Dungeon binary search brute force data structures greedy sortings Statement C Codeforces Global Round 30 (Div. 1 + Div. 2) {2164} PROGRAMMING 1500.0 Codeforces Global Round 30 Editorial
713 BattleCows 2 binary search brute force data structures greedy Statement H Codeforces Round 1074 (Div. 4) {2185} PROGRAMMING Codeforces Round 1074 (Div. 4) Editorial
291 Fuzzy Concatenation (Easy Version) binary search bitmasks brute force data structures greedy string suffix structures Statement E1 Codeforces Round 1079 (Div. 1) {2196} PROGRAMMING 2000.0 Tutorial
1180 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 152930
15665 The 67th XOR Problem binary search bitmasks brute force trees Statement E Codeforces Round 1090 (Div. 4) {2218} PROGRAMMING Codeforces Round 1090 (Div. 4) Editorial
190 Statistics on Tree binary search brute force dfs and similar divide and conquer graphs trees Statement G Spectral::Cup 2026 Round 1 (Codeforces Round 1094, Div. 1 + Div. 2) {2222} PROGRAMMING 3500.0 Spectral::Cup 2026 Round 1 (Codeforces Round 1094, Div. 1 + Div. 2) Editorial
672 String Cutting binary search brute force greedy hashing string suffix structures strings Statement F Educational Codeforces Round 189 (Rated for Div. 2) {2225} PROGRAMMING Tutorial
11504 Palindromex binary search brute force constructive algorithms data structures greedy implementation two pointers Statement D Codeforces Round 1096 (Div. 3) {2227} PROGRAMMING Codeforces Round 1096 (Div. 3) — Editorial
6925 Cirno and Number (Easy Version) binary search brute force dp implementation Statement C1 Codeforces Round 1098 (Div. 2) {2228} PROGRAMMING 1500.0 Codeforces Round 1098 (Div. 2) Editorial