Codeforces problemset search & solutions
Exclude tags.

Review the problem statement from Codeforces (link will open a new tab). When you've matched your problem, go to the solutions.

Search on plain tags, ratings, names, and problem text. Example: brute force or binary search

< 1 2 3 ... 8 9 10 11 12 13 14 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
7663 Maximum AND bitmasks brute force divide and conquer greedy math sortings Statement D Educational Codeforces Round 134 (Rated for Div. 2) {1721} PROGRAMMING 106416
232 Deducing Sortability binary search bitmasks math Statement D COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
1920 Circular Mirror binary search combinatorics math two pointers Statement C COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
6681 Garage binary search math Statement G COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
3005 Hot Black Hot White constructive algorithms math Statement H COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
10118 Accumulation of Dominoes math Statement A COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
16824 Mainak and Interesting Sequence bitmasks constructive algorithms math Statement B Codeforces Round 819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 {1726} PROGRAMMING 1000.0 Codeforces Round #819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 Editorial
1702 Almost Perfect combinatorics fft math Statement E Codeforces Round 819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 {1726} PROGRAMMING 2250.0 Codeforces Round #819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 Editorial
105 Mainak and the Bleeding Polygon geometry implementation math Statement H Codeforces Round 819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 {1726} PROGRAMMING 3500.0 Codeforces Round #819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 Editorial
36242 Mainak and Array greedy math Statement A Codeforces Round 819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 {1726} PROGRAMMING 500.0 Codeforces Round #819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 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
25432 Colored Balls: Revisited greedy implementation sortings Statement A Educational Codeforces Round 135 (Rated for Div. 2) {1728} PROGRAMMING 106805
4539 Kirei and the Linear Function brute force math Statement F Codeforces Round 820 (Div. 3) {1729} PROGRAMMING Codeforces Round #820 (Div. 3) Editorial
45791 Two Elevators math Statement A Codeforces Round 820 (Div. 3) {1729} PROGRAMMING Codeforces Round #820 (Div. 3) Editorial
17912 Minimum Notation data structures greedy math sortings Statement C Codeforces Round 823 (Div. 2) {1730} PROGRAMMING 1500.0 Codeforces Round #823 — editorial 1200
17163 Meeting on the Line binary search greedy implementation math ternary search Statement B Codeforces Round 823 (Div. 2) {1730} PROGRAMMING 1000.0 Codeforces Round #823 — editorial 1600
12066 Even Subarrays bitmasks brute force hashing math number theory Statement C 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
846 Function Sum brute force combinatorics dp fft math Statement F Codeforces Round 841 (Div. 2) and Divide by Zero 2022 {1731} PROGRAMMING 2750.0 Codeforces Round #841 (Div. 2) and Divide By Zero 2022 Editorial
3465 Graph Cost dp greedy math number theory Statement E Codeforces Round 841 (Div. 2) and Divide by Zero 2022 {1731} PROGRAMMING 2000.0 Codeforces Round #841 (Div. 2) and Divide By Zero 2022 Editorial
23651 Joey Takes Money greedy math Statement A Codeforces Round 841 (Div. 2) and Divide by Zero 2022 {1731} PROGRAMMING 500.0 Codeforces Round #841 (Div. 2) and Divide By Zero 2022 Editorial
26606 Kill Demodogs greedy math Statement B Codeforces Round 841 (Div. 2) and Divide by Zero 2022 {1731} PROGRAMMING 1000.0 Codeforces Round #841 (Div. 2) and Divide By Zero 2022 Editorial
17493 Bestie brute force constructive algorithms implementation math number theory Statement A Codeforces Round 830 (Div. 2) {1732} PROGRAMMING 750.0 108327 1000
17216 Ugu dp greedy Statement B Codeforces Round 830 (Div. 2) {1732} PROGRAMMING 750.0 108327 900
21059 Rule of League constructive algorithms math Statement B Codeforces Round 821 (Div. 2) {1733} PROGRAMMING 1000.0 Codeforces Round #821 (Div. 2) Editorial
15004 Zero-One (Easy Version) dp greedy math Statement D1 Codeforces Round 821 (Div. 2) {1733} PROGRAMMING 1500.0 Codeforces Round #821 (Div. 2) Editorial
1481 Conveyor dp math Statement E Codeforces Round 821 (Div. 2) {1733} PROGRAMMING 2750.0 Codeforces Round #821 (Div. 2) Editorial
967 Zeros and Ones bitmasks divide and conquer dp math Statement F Codeforces Round 822 (Div. 2) {1734} PROGRAMMING 3250.0 Codeforces Round #822 (Div.2) Editorial
3236 Rectangular Congruence constructive algorithms math number theory Statement E Codeforces Round 822 (Div. 2) {1734} PROGRAMMING 2250.0 Codeforces Round #822 (Div.2) Editorial
28405 Removing Smallest Multiples greedy math Statement C Codeforces Round 822 (Div. 2) {1734} PROGRAMMING 1250.0 Codeforces Round #822 (Div.2) Editorial
22396 Select Three Sticks greedy math sortings Statement A Codeforces Round 822 (Div. 2) {1734} PROGRAMMING 500.0 Codeforces Round #822 (Div.2) Editorial
6737 Meta-set brute force combinatorics data structures hashing math Statement D Codeforces Round 824 (Div. 2) {1735} PROGRAMMING 1750.0 Codeforces Round #824 — editorial
21046 Working Week constructive algorithms greedy math Statement A Codeforces Round 824 (Div. 2) {1735} PROGRAMMING 500.0 Codeforces Round #824 — editorial
19290 Tea with Tangerines greedy math Statement B Codeforces Round 824 (Div. 2) {1735} PROGRAMMING 750.0 Codeforces Round #824 — editorial
20194 Playing with GCD math number theory Statement B Codeforces Round 825 (Div. 2) {1736} PROGRAMMING 1000.0 Codeforces Round #825 (Div. 2) Editorial
10163 Ela's Fitness and the Luxury Number binary search implementation math Statement B Dytechlab Cup 2022 {1737} PROGRAMMING 1000.0 Editorial of Dytechlab Cup 2022
157 Ela and Prime GCD constructive algorithms math number theory Statement F Dytechlab Cup 2022 {1737} PROGRAMMING 3500.0 Editorial of Dytechlab Cup 2022
6401 Ela and Crickets games implementation math Statement C Dytechlab Cup 2022 {1737} PROGRAMMING 1500.0 Editorial of Dytechlab Cup 2022
1792 Balance Addicts combinatorics dp math two pointers Statement E Codeforces Global Round 22 {1738} PROGRAMMING 2500.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>
12741 Even Number Addicts dp games greedy math Statement C Codeforces Global Round 22 {1738} PROGRAMMING 1500.0 Editorial of Codeforces Global Round <strong>22</strong>
24405 Array Recovery constructive algorithms greedy math Statement B Educational Codeforces Round 136 (Rated for Div. 2) {1739} PROGRAMMING Educational Codeforces Round 136 Editorial
9047 Knowledge Cards constructive algorithms data structures greedy math Statement D Codeforces Round 831 (Div. 1 + Div. 2) {1740} PROGRAMMING 1750.0 Tutorial 1500
1065 Conditional Mix combinatorics dp math Statement F Codeforces Round 831 (Div. 1 + Div. 2) {1740} PROGRAMMING 2500.0 Tutorial 2600
23104 Factorise N+M math number theory Statement A Codeforces Round 831 (Div. 1 + Div. 2) {1740} PROGRAMMING 500.0 Tutorial 800
2888 Multi-Colored Segments binary search data structures math sortings Statement F Codeforces Round 826 (Div. 3) {1741} PROGRAMMING 107908
19336 Minimize the Thickness brute force greedy math two pointers Statement C Codeforces Round 826 (Div. 3) {1741} PROGRAMMING 107908
26739 Funny Permutation constructive algorithms math Statement B Codeforces Round 826 (Div. 3) {1741} PROGRAMMING 107908
38271 Scuza binary search greedy math Statement E Codeforces Round 827 (Div. 4) {1742} PROGRAMMING 107962
13200 Orray bitmasks brute force greedy math Statement G Codeforces Round 827 (Div. 4) {1742} PROGRAMMING 107962
1793 Intersection and Union combinatorics data structures dp math matrices Statement F Educational Codeforces Round 137 (Rated for Div. 2) {1743} PROGRAMMING Educational Codeforces Round 137 Editorial 2300
304 Antifibonacci Cut bitmasks combinatorics dp math Statement G Educational Codeforces Round 137 (Rated for Div. 2) {1743} PROGRAMMING Educational Codeforces Round 137 Editorial 3000
12607 Divisible Numbers (easy version) brute force math number theory Statement E1 Codeforces Round 828 (Div. 3) {1744} PROGRAMMING Codeforces Round #828 (Div. 3) Editorial
6670 Divisible Numbers (hard version) brute force math number theory Statement E2 Codeforces Round 828 (Div. 3) {1744} PROGRAMMING Codeforces Round #828 (Div. 3) Editorial
3713 MEX vs MED brute force math two pointers Statement F Codeforces Round 828 (Div. 3) {1744} PROGRAMMING Codeforces Round #828 (Div. 3) Editorial
24475 Divisibility by 2^n greedy math sortings Statement D Codeforces Round 828 (Div. 3) {1744} PROGRAMMING Codeforces Round #828 (Div. 3) Editorial
24868 Even-Odd Increments implementation math Statement B Codeforces Round 828 (Div. 3) {1744} PROGRAMMING Codeforces Round #828 (Div. 3) Editorial
1688 Joking (Easy Version) binary search bitmasks constructive algorithms interactive ternary search Statement E1 Codeforces Global Round 23 {1746} PROGRAMMING 2000.0 Codeforces Global Round 23 Editorial
14019 Permutation Operations constructive algorithms greedy implementation math Statement C Codeforces Global Round 23 {1746} PROGRAMMING 1000.0 Codeforces Global Round 23 Editorial
483 Joking (Hard Version) dp interactive Statement E2 Codeforces Global Round 23 {1746} PROGRAMMING 1750.0 Codeforces Global Round 23 Editorial
659 List Generation combinatorics math Statement E Codeforces Round 832 (Div. 2) {1747} PROGRAMMING 2500.0 Codeforces Round #832 (Div. 2) Editorial
25294 The Ultimate Square math Statement A Codeforces Round 833 (Div. 2) {1748} PROGRAMMING 500.0 Codeforces Round #833 (Div. 2) Editorial 800
6348 Counting Arrays math number theory Statement D Educational Codeforces Round 138 (Rated for Div. 2) {1749} PROGRAMMING 108269
1655 Bracket Cost binary search data structures divide and conquer dp greedy strings Statement E CodeTON Round 3 (Div. 1 + Div. 2, Rated, Prizes!) {1750} PROGRAMMING 2250.0 CodeTON Round 3 (Div. 1 + Div. 2) Editorial
7334 Count GCD bitmasks combinatorics dp math number theory Statement D CodeTON Round 3 (Div. 1 + Div. 2, Rated, Prizes!) {1750} PROGRAMMING 1750.0 CodeTON Round 3 (Div. 1 + Div. 2) Editorial
17799 Indirect Sort constructive algorithms math Statement A CodeTON Round 3 (Div. 1 + Div. 2, Rated, Prizes!) {1750} PROGRAMMING 500.0 CodeTON Round 3 (Div. 1 + Div. 2) Editorial
352 Doping dp dp math math Statement G CodeTON Round 3 (Div. 1 + Div. 2, Rated, Prizes!) {1750} PROGRAMMING 3250.0 CodeTON Round 3 (Div. 1 + Div. 2) Editorial
14949 Factorial Divisibility greedy math Statement B Codeforces Round 829 (Div. 1) {1753} PROGRAMMING 750.0 Tutorial 1600
5255 Wish I Knew How to Sort dp math probabilities Statement C Codeforces Round 829 (Div. 1) {1753} PROGRAMMING 1750.0 Tutorial 2000
19703 Kevin and Permutation constructive algorithms constructive algorithms math Statement B Codeforces Round 829 (Div. 2) {1754} PROGRAMMING 1000.0 Tutorial 800
8457 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
213 Decent Division data structures Statement F Codeforces Round 836 (Div. 2) {1758} PROGRAMMING 3000.0 Codeforces Round #836 (Div. 2) Editorial
5478 Restore the Permutation binary search data structures greedy math Statement G Codeforces Round 834 (Div. 3) {1759} PROGRAMMING 109254
4493 All Possible Digits binary search data structures greedy math number theory Statement F Codeforces Round 834 (Div. 3) {1759} PROGRAMMING 109254
19361 Thermostat greedy math shortest paths Statement C Codeforces Round 834 (Div. 3) {1759} PROGRAMMING 109254
23617 Lost Permutation math Statement B Codeforces Round 834 (Div. 3) {1759} PROGRAMMING 109254
10240 SlavicG's Favorite Problem bitmasks brute force constructive algorithms data structures dfs and similar graphs greedy Statement G Codeforces Round 835 (Div. 4) {1760} PROGRAMMING 109348
22957 Binary Inversions data structures greedy math Statement E Codeforces Round 835 (Div. 4) {1760} PROGRAMMING 109348
2760 Carry Bit bitmasks brute force combinatorics dp math Statement D Pinely Round 1 (Div. 1 + Div. 2) {1761} PROGRAMMING 1750.0 Pinely Round 1 (Div. 1 + Div. 2) Editorial
102 Anti-median (Hard Version) combinatorics dp math Statement F2 Pinely Round 1 (Div. 1 + Div. 2) {1761} PROGRAMMING 2000.0 Pinely Round 1 (Div. 1 + Div. 2) Editorial
254 Anti-median (Easy Version) dp math Statement F1 Pinely Round 1 (Div. 1 + Div. 2) {1761} PROGRAMMING 2500.0 Pinely Round 1 (Div. 1 + Div. 2) Editorial
10147 Binary Strings are Fun combinatorics dp Statement C Codeforces Round 838 (Div. 2) {1762} PROGRAMMING 1750.0 Codeforces Round #838 (Div. 2) Editorial
20558 Divide and Conquer greedy math number theory Statement A Codeforces Round 838 (Div. 2) {1762} PROGRAMMING 500.0 Codeforces Round #838 (Div. 2) Editorial
16982 Absolute Maximization bitmasks constructive algorithms greedy math Statement A Codeforces Round 840 (Div. 2) and Enigma 2022 - Cybros LNMIIT {1763} PROGRAMMING 500.0 Codeforces Round #840 (Div. 2) and Enigma 2022 — Cybros LNMIIT Editorial
2341 Valid Bitonic Permutations combinatorics dp implementation math Statement D Codeforces Round 840 (Div. 2) and Enigma 2022 - Cybros LNMIIT {1763} PROGRAMMING 2000.0 Codeforces Round #840 (Div. 2) and Enigma 2022 — Cybros LNMIIT Editorial
2198 Node Pairs dp graphs math Statement E Codeforces Round 840 (Div. 2) and Enigma 2022 - Cybros LNMIIT {1763} PROGRAMMING 2000.0 Codeforces Round #840 (Div. 2) and Enigma 2022 — Cybros LNMIIT Editorial
697 Doremy's Perfect DS Class (Easy Version) binary search interactive Statement G1 Codeforces Global Round 24 {1764} PROGRAMMING 2000.0 Codeforces Global Round 24 Editorial
636 Doremy's Perfect DS Class (Medium Version) binary search interactive Statement G2 Codeforces Global Round 24 {1764} PROGRAMMING 500.0 Codeforces Global Round 24 Editorial
558 Doremy's Perfect DS Class (Hard Version) binary search interactive Statement G3 Codeforces Global Round 24 {1764} PROGRAMMING 500.0 Codeforces Global Round 24 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
3135 Doremy's Pegging Game combinatorics geometry math Statement D Codeforces Global Round 24 {1764} PROGRAMMING 1750.0 Codeforces Global Round 24 Editorial
10435 Doremy's City Construction constructive algorithms greedy math Statement C Codeforces Global Round 24 {1764} PROGRAMMING 1500.0 Codeforces Global Round 24 Editorial
17863 Doremy's Perfect Math Class number theory Statement B Codeforces Global Round 24 {1764} PROGRAMMING 1000.0 Codeforces Global Round 24 Editorial
11776 Exchange math Statement E 2022-2023 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Preferably Teams) {1765} PROGRAMMING 109642 1000
31565 Minimum LCM math Statement M 2022-2023 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Preferably Teams) {1765} PROGRAMMING 109642 1000
6750 Torus Path dp greedy math Statement K 2022-2023 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Preferably Teams) {1765} PROGRAMMING 109642 1500
10500 Lucky Chains brute force dp greedy math number theory Statement D Educational Codeforces Round 139 (Rated for Div. 2) {1766} PROGRAMMING 110066
45555 Extremely Round implementation math Statement A Educational Codeforces Round 139 (Rated for Div. 2) {1766} PROGRAMMING 110066
2261 Partial Sorting combinatorics fft math number theory Statement E Codeforces Round 842 (Div. 2) {1768} PROGRAMMING 2250.0 Codeforces Round #842 (Div. 2) Editorial
25597 Quick Sort greedy math Statement B Codeforces Round 842 (Div. 2) {1768} PROGRAMMING 1000.0 Codeforces Round #842 (Div. 2) Editorial
31021 Greatest Convex greedy math number theory Statement A Codeforces Round 842 (Div. 2) {1768} PROGRAMMING 500.0 Codeforces Round #842 (Div. 2) Editorial
941 Koxia and Sequence bitmasks combinatorics math Statement F Good Bye 2022: 2023 is NEAR {1770} PROGRAMMING 2500.0 Good Bye 2022 -- Editorial
9638 Koxia and Number Theory chinese remainder theorem math number theory Statement C Good Bye 2022: 2023 is NEAR {1770} PROGRAMMING 1250.0 Good Bye 2022 -- Editorial
1607 Koxia and Tree combinatorics dp math probabilities trees Statement E Good Bye 2022: 2023 is NEAR {1770} PROGRAMMING 2000.0 Good Bye 2022 -- Editorial
187 Koxia and Bracket divide and conquer fft math Statement G Good Bye 2022: 2023 is NEAR {1770} PROGRAMMING 3250.0 Good Bye 2022 -- Editorial
1519 Hossam and Range Minimum Query binary search bitmasks data structures hashing probabilities strings trees Statement F Codeforces Round 837 (Div. 2) {1771} PROGRAMMING 3500.0 Codeforces Round #837 (Div. 2) Editorial
25252 Hossam and Combinatorics combinatorics math sortings Statement A Codeforces Round 837 (Div. 2) {1771} PROGRAMMING 500.0 Codeforces Round #837 (Div. 2) Editorial
11549 Hossam and Trainees math number theory Statement C Codeforces Round 837 (Div. 2) {1771} PROGRAMMING 1750.0 Codeforces Round #837 (Div. 2) Editorial
1599 Gaining Rating binary search greedy math sortings Statement G Codeforces Round 839 (Div. 3) {1772} PROGRAMMING 110313
26091 Different Differences greedy math Statement C Codeforces Round 839 (Div. 3) {1772} PROGRAMMING 110313
18462 Absolute Sorting math Statement D Codeforces Round 839 (Div. 3) {1772} PROGRAMMING 110313
545 Game of Questions bitmasks dp math probabilities Statement G 2022-2023 ICPC, NERC, Northern Eurasia Onsite (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1773} PROGRAMMING 2800
23501 Add Plus Minus Sign constructive algorithms math Statement A Polynomial Round 2022 (Div. 1 + Div. 2, Rated, Prizes!) {1774} PROGRAMMING 500.0 Polynomial Round 2022 (Div. 1 + Div. 2) Editorial
14097 Interesting Sequence binary search bitmasks math Statement C Codeforces Round 843 (Div. 2) {1775} PROGRAMMING 1500.0 Codeforces Round #843 (Div. 2) Editorial
857 Laboratory on Pluto brute force combinatorics dp fft greedy math Statement F Codeforces Round 843 (Div. 2) {1775} PROGRAMMING 3000.0 Codeforces Round #843 (Div. 2) Editorial
3850 The Human Equation data structures dp dsu greedy Statement E Codeforces Round 843 (Div. 2) {1775} PROGRAMMING 2250.0 Codeforces Round #843 (Div. 2) Editorial
8406 Friendly Spiders dfs and similar graphs math number theory shortest paths Statement D Codeforces Round 843 (Div. 2) {1775} PROGRAMMING 2000.0 Codeforces Round #843 (Div. 2) Editorial
11440 Controllers binary search math Statement L SWERC 2022-2023 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1776} PROGRAMMING
86 Uniform Chemistry dp math Statement K SWERC 2022-2023 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1776} PROGRAMMING
102 Count Permutations math Statement N SWERC 2022-2023 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1776} PROGRAMMING
43531 Everybody Likes Good Arrays! greedy math Statement A Codeforces Round 845 (Div. 2) and ByteRace 2023 {1777} PROGRAMMING 500.0 Codeforces Round #845 (Div. 2) and ByteRace 2023 Editorial
19169 Emordnilap greedy math Statement B Codeforces Round 845 (Div. 2) and ByteRace 2023 {1777} PROGRAMMING 1000.0 Codeforces Round #845 (Div. 2) and ByteRace 2023 Editorial
12221 Quiz Master math sortings two pointers Statement C Codeforces Round 845 (Div. 2) and ByteRace 2023 {1777} PROGRAMMING 1500.0 Codeforces Round #845 (Div. 2) and ByteRace 2023 Editorial
1092 The Tree Has Fallen! bitmasks dfs and similar math trees Statement E Codeforces Round 848 (Div. 2) {1778} PROGRAMMING 2250.0 Codeforces Round #848 (Div. 2) Editorial
3388 Flexible String Revisit combinatorics dp math probabilities Statement D Codeforces Round 848 (Div. 2) {1778} PROGRAMMING 1750.0 Codeforces Round #848 (Div. 2) Editorial
862 Maximizing Root dfs and similar dp graphs math trees Statement F Codeforces Round 848 (Div. 2) {1778} PROGRAMMING 2750.0 Codeforces Round #848 (Div. 2) Editorial
14521 The Forbidden Permutation greedy math Statement B Codeforces Round 848 (Div. 2) {1778} PROGRAMMING 1000.0 Codeforces Round #848 (Div. 2) Editorial
24037 Hall of Fame constructive algorithms greedy math strings Statement A Hello 2023 {1779} PROGRAMMING 500.0
25038 MKnez's ConstructiveForces Task constructive algorithms math Statement B Hello 2023 {1779} PROGRAMMING 750.0
14345 Least Prefix Sum data structures greedy Statement C Hello 2023 {1779} PROGRAMMING 1250.0
5814 Bit Guessing Game binary search bitmasks interactive Statement D Codeforces Round 846 (Div. 2) {1780} PROGRAMMING 1500.0 111841
25785 GCD Partition brute force greedy math number theory Statement B Codeforces Round 846 (Div. 2) {1780} PROGRAMMING 1000.0 111841
984 Delicious Dessert math number theory string suffix structures strings Statement G Codeforces Round 846 (Div. 2) {1780} PROGRAMMING 2500.0 111841
14732 Going to the Cinema binary search math sortings two pointers Statement B VK Cup 2022 - Отборочный раунд (Engine) {1781} PROGRAMMING 1000.0 Tutorial
1312 Bracket Insertion brute force combinatorics constructive algorithms dp math trees Statement F VK Cup 2022 - Отборочный раунд (Engine) {1781} PROGRAMMING 3250.0 Tutorial
6286 Many Perfect Squares brute force math number theory Statement D VK Cup 2022 - Отборочный раунд (Engine) {1781} PROGRAMMING 2000.0 Tutorial
16012 Parallel Projection math Statement A VK Cup 2022 - Отборочный раунд (Engine) {1781} PROGRAMMING 500.0 Tutorial
2431 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
3656 Letter Exchange constructive algorithms constructive algorithms Statement B VK Cup 2022 - Финальный раунд (Engine) {1784} PROGRAMMING 1250.0 Codeforces Round #850 Editorial
2714 The Harmonization of XOR bitmasks constructive algorithms greedy math Statement E TypeDB Forces 2023 (Div. 1 + Div. 2, Rated, Prizes!) {1787} PROGRAMMING 2250.0 TypeDB Forces 2023 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
799 Inverse Transformation constructive algorithms implementation math Statement F TypeDB Forces 2023 (Div. 1 + Div. 2, Rated, Prizes!) {1787} PROGRAMMING 2500.0 TypeDB Forces 2023 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
20370 Exponential Equation constructive algorithms math Statement A TypeDB Forces 2023 (Div. 1 + Div. 2, Rated, Prizes!) {1787} PROGRAMMING 500.0 TypeDB Forces 2023 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
8257 Remove the Bracket dp greedy math Statement C TypeDB Forces 2023 (Div. 1 + Div. 2, Rated, Prizes!) {1787} PROGRAMMING 1750.0 TypeDB Forces 2023 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
14869 Number Factorization greedy math number theory Statement B TypeDB Forces 2023 (Div. 1 + Div. 2, Rated, Prizes!) {1787} PROGRAMMING 1000.0 TypeDB Forces 2023 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
4635 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
52466 One and Two brute force math Statement A Codeforces Round 851 (Div. 2) {1788} PROGRAMMING 500.0 Codeforces Round #851 (Div. 2) Editorial
22292 Sum of Two Numbers constructive algorithms greedy implementation math Statement B Codeforces Round 851 (Div. 2) {1788} PROGRAMMING 1000.0 Codeforces Round #851 (Div. 2) Editorial
19425 Matching Numbers constructive algorithms greedy math Statement C Codeforces Round 851 (Div. 2) {1788} PROGRAMMING 1500.0 Codeforces Round #851 (Div. 2) Editorial
964 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
32616 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
9916 Serval and Toxel's Arrays combinatorics implementation math Statement C Codeforces Round 853 (Div. 2) {1789} PROGRAMMING 1250.0 Codeforces Round #853 (Div. 2) Editorial
3983 Timofey and Black-White Tree brute force dfs and similar divide and conquer graphs greedy math shortest paths trees Statement F Codeforces Round 847 (Div. 3) {1790} PROGRAMMING 111948
26791 Premutation brute force implementation math Statement C Codeforces Round 847 (Div. 3) {1790} PROGRAMMING 111948
28966 Taisia and Dice greedy greedy math Statement B Codeforces Round 847 (Div. 3) {1790} PROGRAMMING 111948
40830 Polycarp and the Day of Pi implementation math strings Statement A Codeforces Round 847 (Div. 3) {1790} PROGRAMMING 111948
52486 Following Directions geometry implementation Statement B Codeforces Round 849 (Div. 4) {1791} PROGRAMMING 112282
16705 Min Max Sort binary search brute force greedy math Statement C Educational Codeforces Round 142 (Rated for Div. 2) {1792} PROGRAMMING 111835
8009 Fixed Prefix Permutations binary search data structures math sortings strings Statement D Educational Codeforces Round 142 (Rated for Div. 2) {1792} PROGRAMMING 111835
24087 Stand-up Comedian greedy math Statement B Educational Codeforces Round 142 (Rated for Div. 2) {1792} PROGRAMMING 111835
17076 Fedya and Array constructive algorithms math Statement B Codeforces Round 852 (Div. 2) {1793} PROGRAMMING 1000.0 Codeforces Round #852 Editorial
18812 Yet Another Promotion greedy math Statement A Codeforces Round 852 (Div. 2) {1793} PROGRAMMING 500.0 Codeforces Round #852 Editorial
21919 Scoring Subsequences binary search greedy math two pointers Statement C Codeforces Round 856 (Div. 2) {1794} PROGRAMMING 1250.0 Codeforces Round 856 (Div. 2) Editorial
4450 Counting Factorizations combinatorics dp math number theory Statement D Codeforces Round 856 (Div. 2) {1794} PROGRAMMING 2000.0 Codeforces Round 856 (Div. 2) Editorial
39498 Not Dividing constructive algorithms greedy math Statement B Codeforces Round 856 (Div. 2) {1794} PROGRAMMING 1000.0 Codeforces Round 856 (Div. 2) Editorial
2375 Explosions? binary search data structures dp math Statement E Educational Codeforces Round 143 (Rated for Div. 2) {1795} PROGRAMMING 112963
12967 Triangle Coloring combinatorics math Statement D Educational Codeforces Round 143 (Rated for Div. 2) {1795} PROGRAMMING 112963
12143 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
220 Strange Triples math Statement F Educational Codeforces Round 144 (Rated for Div. 2) {1796} PROGRAMMING Educational Codeforces Round 144 Editorial
1634 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
13994 Shocking Arrangement constructive algorithms greedy math Statement D Codeforces Round 860 (Div. 2) {1798} PROGRAMMING 1750.0 Editorial of Codeforces Round 860 (Div. 2) 1600
9357 Candy Store greedy math number theory Statement C Codeforces Round 860 (Div. 2) {1798} PROGRAMMING 1250.0 Editorial of Codeforces Round 860 (Div. 2) 1700
643 Gifts from Grandfather Ahmed dp math number theory Statement F Codeforces Round 860 (Div. 2) {1798} PROGRAMMING 3000.0 Editorial of Codeforces Round 860 (Div. 2) 2500
12711 Equalize by Divide brute force constructive algorithms greedy math Statement B Codeforces Round 854 by cybercats (Div. 1 + Div. 2) {1799} PROGRAMMING 1000.0 Codeforces Round #854 Editorial
1064 Count Voting combinatorics dp math Statement G Codeforces Round 854 by cybercats (Div. 1 + Div. 2) {1799} PROGRAMMING 3000.0 Codeforces Round #854 Editorial
1399 City Union constructive algorithms dp geometry greedy implementation math Statement E Codeforces Round 854 by cybercats (Div. 1 + Div. 2) {1799} PROGRAMMING 2250.0 Codeforces Round #854 Editorial
6910 Double Lexicographically Minimum constructive algorithms greedy implementation strings Statement C Codeforces Round 854 by cybercats (Div. 1 + Div. 2) {1799} PROGRAMMING 1500.0 Codeforces Round #854 Editorial
12311 Recent Actions data structures greedy implementation math Statement A Codeforces Round 854 by cybercats (Div. 1 + Div. 2) {1799} PROGRAMMING 500.0 Codeforces Round #854 Editorial
4738 Dasha and Nightmares bitmasks hashing meet-in-the-middle Statement F Codeforces Round 855 (Div. 3) {1800} PROGRAMMING Codeforces Round 855 (Div. 3) Editorial
14605 Settlement of Guinea Pigs implementation math Statement B Codeforces Round 857 (Div. 2) {1802} PROGRAMMING 750.0 Codeforces Round #857 Editorial
13808 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
18651 Lame King greedy math Statement A Nebius Welcome Round (Div. 1 + Div. 2) {1804} PROGRAMMING 500.0 Nebius Welcome Round Editorial
14148 Place for a Selfie binary search geometry math sortings Statement C Codeforces Round 862 (Div. 2) {1805} PROGRAMMING 1250.0 Editorial of Codeforces Round #862 (Div. 2)
1322 Survival of the Weakest (easy version) brute force math sortings Statement F1 Codeforces Round 862 (Div. 2) {1805} PROGRAMMING 1750.0 Editorial of Codeforces Round #862 (Div. 2)
1902 There Should Be a Lot of Maximums data structures dfs and similar dsu graphs trees Statement E Codeforces Round 862 (Div. 2) {1805} PROGRAMMING 2250.0 Editorial of Codeforces Round #862 (Div. 2)
8634 Sequence Master brute force constructive algorithms math Statement C Codeforces Round 858 (Div. 2) {1806} PROGRAMMING 1750.0 Codeforces Round #858 (Div. 2) Editorial
1184 DSU Master combinatorics dp dsu math Statement D Codeforces Round 858 (Div. 2) {1806} PROGRAMMING 2000.0 Codeforces Round #858 (Div. 2) Editorial
42992 Walking Master geometry greedy math Statement A Codeforces Round 858 (Div. 2) {1806} PROGRAMMING 500.0 Codeforces Round #858 (Div. 2) Editorial
463 GCD Master (easy version) greedy math number theory sortings Statement F1 Codeforces Round 858 (Div. 2) {1806} PROGRAMMING 2500.0 Codeforces Round #858 (Div. 2) Editorial
465 GCD Master (hard version) greedy math sortings Statement F2 Codeforces Round 858 (Div. 2) {1806} PROGRAMMING 1500.0 Codeforces Round #858 (Div. 2) Editorial
16582 Interview binary search implementation interactive Statement E Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
27659 Subsequence Addition (Hard Version) dp greedy implementation math sortings Statement G2 Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
29386 Playing in a Casino math sortings Statement B Codeforces Round 861 (Div. 2) {1808} PROGRAMMING 1000.0 Codeforces Round #861 (Div. 2) editorial 1200
564 Minibuses on Venus (hard version) brute force combinatorics dp math Statement E3 Codeforces Round 861 (Div. 2) {1808} PROGRAMMING 750.0 Codeforces Round #861 (Div. 2) editorial 2800
1066 Two Tanks binary search dp implementation math Statement E Educational Codeforces Round 145 (Rated for Div. 2) {1809} PROGRAMMING 114300
22309 Points on Plane binary search greedy math Statement B Educational Codeforces Round 145 (Rated for Div. 2) {1809} PROGRAMMING 114300
15129 Sum on Subarrays constructive algorithms greedy math Statement C Educational Codeforces Round 145 (Rated for Div. 2) {1809} PROGRAMMING 114300
8516 Climbing the Tree binary search math Statement D CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!) {1810} PROGRAMMING 1250.0 Editorial of CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!)
18919 Candies constructive algorithms math number theory Statement B CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!) {1810} PROGRAMMING 750.0 Editorial of CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!)
656 M-tree data structures Statement F CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!) {1810} PROGRAMMING 2500.0 Editorial of CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!)
170 Last Number math Statement H CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!) {1810} PROGRAMMING 3500.0 Editorial of CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!)
2117 Vlad and the Nice Paths (hard version) binary search combinatorics data structures dp math two pointers Statement G2 Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
14374 Living Sequence binary search dp math number theory Statement E Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
2480 Vlad and the Nice Paths (easy version) combinatorics dp math Statement G1 Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
8623 Umka and a Long Flight constructive algorithms implementation math Statement D Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
34572 Insert Digit greedy math strings Statement A Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
22304 Conveyor Belts math Statement B Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
4895 Trivial Conjecture *special constructive algorithms math number theory Statement D April Fools Day Contest 2023 {1812} PROGRAMMING Editorial of April Fools Day Contest 2023
171 Expected Twist *special interactive Statement H April Fools Day Contest 2023 {1812} PROGRAMMING Editorial of April Fools Day Contest 2023
11534 Long Legs brute force math Statement B Educational Codeforces Round 146 (Rated for Div. 2) {1814} PROGRAMMING Educational Codeforces Round 146 Editorial
12447 Search in Parallel greedy math sortings Statement C Educational Codeforces Round 146 (Rated for Div. 2) {1814} PROGRAMMING Educational Codeforces Round 146 Editorial
50851 Coins math Statement A Educational Codeforces Round 146 (Rated for Div. 2) {1814} PROGRAMMING Educational Codeforces Round 146 Editorial
15935 Ian and Array Sorting greedy implementation math Statement A Codeforces Round 865 (Div. 1) {1815} PROGRAMMING 500.0 Editorial of Codeforces Round #865 1300
3593 Sum Graph constructive algorithms graphs implementation interactive math shortest paths trees Statement B Codeforces Round 865 (Div. 1) {1815} PROGRAMMING 1250.0 Editorial of Codeforces Round #865 2000
1488 XOR Counting bitmasks combinatorics dp math Statement D Codeforces Round 865 (Div. 1) {1815} PROGRAMMING 2500.0 Editorial of Codeforces Round #865 2600
419 Bosco and Particle dp math number theory strings Statement E Codeforces Round 865 (Div. 1) {1815} PROGRAMMING 3000.0 Editorial of Codeforces Round #865 3100
315 OH NO1 (-2-3-4) constructive algorithms graphs math shortest paths Statement F Codeforces Round 865 (Div. 1) {1815} PROGRAMMING 3500.0 Editorial of Codeforces Round #865 3500
18838 Ian Visits Mary constructive algorithms geometry Statement A Codeforces Round 865 (Div. 2) {1816} PROGRAMMING 500.0 Editorial of Codeforces Round #865 800
1223 Similar Polynomials math Statement C Codeforces Round 869 (Div. 1) {1817} PROGRAMMING 1250.0 Codeforces Round #869 (Div.1, Div.2) Editorial
1733 The Fox and the Complete Tree Traversal constructive algorithms dp games implementation math trees Statement C Codeforces Round 866 (Div. 1) {1819} PROGRAMMING 1500.0 Codeforces Round #866 (Div.1, Div.2, based on Lipetsk Team Olympiad) Editorial
379 Roads in E City interactive math probabilities trees Statement E Codeforces Round 866 (Div. 1) {1819} PROGRAMMING 2750.0 Codeforces Round #866 (Div.1, Div.2, based on Lipetsk Team Olympiad) Editorial
22822 JoJo's Incredible Adventures math strings two pointers Statement B Codeforces Round 866 (Div. 2) {1820} PROGRAMMING 1000.0 Codeforces Round #866 (Div.1, Div.2, based on Lipetsk Team Olympiad) Editorial
5525 Black Cells binary search brute force greedy math Statement D Educational Codeforces Round 147 (Rated for Div. 2) {1821} PROGRAMMING 115296
16184 Tear It Apart brute force implementation math strings Statement C Educational Codeforces Round 147 (Rated for Div. 2) {1821} PROGRAMMING 115296
935 Timber combinatorics dp fft math Statement F Educational Codeforces Round 147 (Rated for Div. 2) {1821} PROGRAMMING 115296
21150 Matching combinatorics math Statement A Educational Codeforces Round 147 (Rated for Div. 2) {1821} PROGRAMMING 115296
2696 Rearrange Brackets dp greedy math sortings Statement E Educational Codeforces Round 147 (Rated for Div. 2) {1821} PROGRAMMING 115296
9414 Magic Triples (Easy Version) brute force math number theory Statement G1 Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
3029 Magic Triples (Hard Version) brute force math number theory Statement G2 Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
18980 Super-Permutation constructive algorithms math Statement D Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
26555 Karina and Array greedy math Statement B Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
12314 Making Anti-Palindromes greedy math strings Statement E Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
24737 Bun Lover math Statement C Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
4300 Unique Palindromes binary search constructive algorithms greedy math strings Statement D Codeforces Round 868 (Div. 2) {1823} PROGRAMMING 2000.0 115465
18077 Sort with Step brute force math sortings Statement B Codeforces Round 868 (Div. 2) {1823} PROGRAMMING 1000.0 115465
17155 A-characteristic combinatorics constructive algorithms math Statement A Codeforces Round 868 (Div. 2) {1823} PROGRAMMING 500.0 115465
1283 Random Walk dp graphs math probabilities trees Statement F Codeforces Round 868 (Div. 2) {1823} PROGRAMMING 2500.0 115465
1441 Removing Graph games graphs math Statement E Codeforces Round 868 (Div. 2) {1823} PROGRAMMING 2000.0 115465
13816 Strongly Composite greedy math number theory Statement C Codeforces Round 868 (Div. 2) {1823} PROGRAMMING 1250.0 115465
5971 LuoTianyi and the Floating Islands (Easy Version) combinatorics math probabilities trees Statement B1 Codeforces Round 872 (Div. 1) {1824} PROGRAMMING 500.0 CodeForces Round 872(Div. 1&2) Editorial 1800
3340 LuoTianyi and the Floating Islands (Hard Version) combinatorics dfs and similar math probabilities trees Statement B2 Codeforces Round 872 (Div. 1) {1824} PROGRAMMING 750.0 CodeForces Round 872(Div. 1&2) Editorial 2300
16072 LuoTianyi and the Table greedy math Statement B Codeforces Round 872 (Div. 2) {1825} PROGRAMMING 1000.0 CodeForces Round 872(Div. 1&2) Editorial 1000
27907 Lunatic Never Content math number theory Statement B Codeforces Round 870 (Div. 2) {1826} PROGRAMMING 1000.0 Codeforces Round #870 (Div. 2) Editorial 1100
15643 Dreaming of Freedom greedy math number theory Statement C Codeforces Round 870 (Div. 2) {1826} PROGRAMMING 1500.0 Codeforces Round #870 (Div. 2) Editorial 1300
456 Fading into Fog geometry interactive math probabilities Statement F Codeforces Round 870 (Div. 2) {1826} PROGRAMMING 3000.0 Codeforces Round #870 (Div. 2) Editorial 2800
28616 Counting Orders combinatorics math sortings two pointers Statement A Codeforces Round 873 (Div. 1) {1827} PROGRAMMING 500.0 Codeforces Round #873 (Div. 1 & 2) Editorial 1100
25313 Divisible Array constructive algorithms math Statement A Codeforces Round 873 (Div. 2) {1828} PROGRAMMING 500.0 Codeforces Round #873 (Div. 1 & 2) Editorial 800
38959 Permutation Swap math number theory Statement B Codeforces Round 873 (Div. 2) {1828} PROGRAMMING 1000.0 Codeforces Round #873 (Div. 1 & 2) Editorial 900
21667 Forever Winter dfs and similar graphs math Statement F Codeforces Round 871 (Div. 4) {1829} PROGRAMMING Codeforces Round 871 (Div. 4) Editorial 1300
15015 Hits Different data structures dp implementation math Statement G Codeforces Round 871 (Div. 4) {1829} PROGRAMMING Codeforces Round 871 (Div. 4) Editorial 1600
10723 Don't Blame Me bitmasks combinatorics dp math Statement H Codeforces Round 871 (Div. 4) {1829} PROGRAMMING Codeforces Round 871 (Div. 4) Editorial 1700
5814 The BOSS Can Count Pairs brute force data structures math Statement B Codeforces Round 875 (Div. 1) {1830} PROGRAMMING 1000.0 Codeforces Round #875 (Div.1 + Div. 2) Editorial