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 ... 33 34 35 36 37 ... 43 44 45 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
985 Graph Coloring (easy version) dp Statement F1 Educational Codeforces Round 142 (Rated for Div. 2) {1792} PROGRAMMING 111835
30950 GamingForces greedy sortings Statement A Educational Codeforces Round 142 (Rated for Div. 2) {1792} PROGRAMMING 111835
8024 Fixed Prefix Permutations binary search data structures math sortings strings Statement D Educational Codeforces Round 142 (Rated for Div. 2) {1792} PROGRAMMING 111835
1592 Divisors and Table dp number theory shortest paths Statement E Educational Codeforces Round 142 (Rated for Div. 2) {1792} PROGRAMMING 111835
18817 Yet Another Promotion greedy math Statement A Codeforces Round 852 (Div. 2) {1793} PROGRAMMING 500.0 Codeforces Round #852 Editorial
1334 Velepin and Marketing data structures dp greedy sortings Statement E Codeforces Round 852 (Div. 2) {1793} PROGRAMMING 2500.0 Codeforces Round #852 Editorial
1629 Rebrending brute force data structures dp implementation Statement F Codeforces Round 852 (Div. 2) {1793} PROGRAMMING 3250.0 Codeforces Round #852 Editorial
7123 Moscow Gorillas dp greedy implementation two pointers Statement D Codeforces Round 852 (Div. 2) {1793} PROGRAMMING 1750.0 Codeforces Round #852 Editorial
17080 Fedya and Array constructive algorithms math Statement B Codeforces Round 852 (Div. 2) {1793} PROGRAMMING 1000.0 Codeforces Round #852 Editorial
32883 Dora and Search constructive algorithms data structures two pointers Statement C Codeforces Round 852 (Div. 2) {1793} PROGRAMMING 1250.0 Codeforces Round #852 Editorial
21982 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
18806 Prefix and Suffix Array constructive algorithms strings Statement A Codeforces Round 856 (Div. 2) {1794} PROGRAMMING 750.0 Codeforces Round 856 (Div. 2) Editorial
39644 Not Dividing constructive algorithms greedy math Statement B Codeforces Round 856 (Div. 2) {1794} PROGRAMMING 1000.0 Codeforces Round 856 (Div. 2) Editorial
1529 Labeling the Tree with Distances data structures dp hashing implementation trees Statement E Codeforces Round 856 (Div. 2) {1794} PROGRAMMING 2750.0 Codeforces Round 856 (Div. 2) Editorial
4458 Counting Factorizations combinatorics dp math number theory Statement D Codeforces Round 856 (Div. 2) {1794} PROGRAMMING 2000.0 Codeforces Round 856 (Div. 2) Editorial
24638 Two Towers brute force implementation strings Statement A Educational Codeforces Round 143 (Rated for Div. 2) {1795} PROGRAMMING 112963
13012 Triangle Coloring combinatorics math Statement D Educational Codeforces Round 143 (Rated for Div. 2) {1795} PROGRAMMING 112963
17948 Tea Tasting binary search data structures implementation Statement C Educational Codeforces Round 143 (Rated for Div. 2) {1795} PROGRAMMING 112963
813 Removal Sequences bitmasks graphs Statement G Educational Codeforces Round 143 (Rated for Div. 2) {1795} PROGRAMMING 112963
24071 Ideal Point geometry greedy Statement B Educational Codeforces Round 143 (Rated for Div. 2) {1795} PROGRAMMING 112963
2377 Explosions? binary search data structures dp math Statement E Educational Codeforces Round 143 (Rated for Div. 2) {1795} PROGRAMMING 112963
1373 Blocking Chips binary search dfs and similar dp greedy Statement F Educational Codeforces Round 143 (Rated for Div. 2) {1795} PROGRAMMING 112963
19668 Typical Interview Problem implementation strings Statement A 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
5431 Maximum Subarray data structures dp greedy Statement D Educational Codeforces Round 144 (Rated for Div. 2) {1796} PROGRAMMING Educational Codeforces Round 144 Editorial
12159 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
1029 Colored Subgraphs data structures dp greedy trees Statement E Educational Codeforces Round 144 (Rated for Div. 2) {1796} PROGRAMMING Educational Codeforces Round 144 Editorial
18290 Asterisk-Minor Template implementation strings Statement B Educational Codeforces Round 144 (Rated for Div. 2) {1796} PROGRAMMING Educational Codeforces Round 144 Editorial
4636 Li Hua and Tree brute force data structures dfs and similar dp implementation trees Statement D Codeforces Round 864 (Div. 2) {1797} PROGRAMMING 1750.0 Codeforces Round 864 (Div. 2) Editorial
24497 Li Hua and Pattern constructive algorithms greedy Statement B Codeforces Round 864 (Div. 2) {1797} PROGRAMMING 1000.0 Codeforces Round 864 (Div. 2) Editorial
561 Li Hua and Path data structures dfs and similar divide and conquer dsu trees Statement F Codeforces Round 864 (Div. 2) {1797} PROGRAMMING 3000.0 Codeforces Round 864 (Div. 2) Editorial
19461 Li Hua and Maze constructive algorithms greedy Statement A Codeforces Round 864 (Div. 2) {1797} PROGRAMMING 500.0 Codeforces Round 864 (Div. 2) Editorial
8906 Li Hua and Chess brute force constructive algorithms greedy hashing interactive Statement C Codeforces Round 864 (Div. 2) {1797} PROGRAMMING 1500.0 Codeforces Round 864 (Div. 2) Editorial
1636 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
18784 Three Sevens brute force data structures greedy implementation Statement B Codeforces Round 860 (Div. 2) {1798} PROGRAMMING 750.0 Editorial of Codeforces Round 860 (Div. 2) 1000
14030 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
9362 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
2055 Multitest Generator brute force dp Statement E Codeforces Round 860 (Div. 2) {1798} PROGRAMMING 2250.0 Editorial of Codeforces Round 860 (Div. 2) 2300
644 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
21042 Showstopper greedy implementation sortings Statement A Codeforces Round 860 (Div. 2) {1798} PROGRAMMING 500.0 Editorial of Codeforces Round 860 (Div. 2) 800
382 Tree Cutting bitmasks dfs and similar dp Statement H Codeforces Round 854 by cybercats (Div. 1 + Div. 2) {1799} PROGRAMMING 3500.0 Codeforces Round #854 Editorial
12314 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
3053 Hot Start Up (hard version) data structures dp Statement D2 Codeforces Round 854 by cybercats (Div. 1 + Div. 2) {1799} PROGRAMMING 750.0 Codeforces Round #854 Editorial
5787 Hot Start Up (easy version) dp Statement D1 Codeforces Round 854 by cybercats (Div. 1 + Div. 2) {1799} PROGRAMMING 1500.0 Codeforces Round #854 Editorial
1077 Halve or Subtract brute force flows greedy sortings Statement F Codeforces Round 854 by cybercats (Div. 1 + Div. 2) {1799} PROGRAMMING 2500.0 Codeforces Round #854 Editorial
12719 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
6915 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
1066 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
15240 Unforgivable Curse (hard version) brute force constructive algorithms constructive algorithms dsu graphs greedy Statement E2 Codeforces Round 855 (Div. 3) {1800} PROGRAMMING Codeforces Round 855 (Div. 3) Editorial
15557 Unforgivable Curse (easy version) brute force constructive algorithms dsu graphs greedy Statement E1 Codeforces Round 855 (Div. 3) {1800} PROGRAMMING Codeforces Round 855 (Div. 3) Editorial
2524 Symmetree dfs and similar hashing trees Statement G Codeforces Round 855 (Div. 3) {1800} PROGRAMMING Codeforces Round 855 (Div. 3) Editorial
29274 Remove Two Letters data structures greedy hashing strings Statement D Codeforces Round 855 (Div. 3) {1800} PROGRAMMING Codeforces Round 855 (Div. 3) Editorial
26952 Powering the Hero (hard version) data structures greedy Statement C2 Codeforces Round 855 (Div. 3) {1800} PROGRAMMING Codeforces Round 855 (Div. 3) Editorial
26893 Powering the Hero (easy version) data structures greedy Statement C1 Codeforces Round 855 (Div. 3) {1800} PROGRAMMING Codeforces Round 855 (Div. 3) Editorial
36510 Is It a Cat? implementation strings Statement A Codeforces Round 855 (Div. 3) {1800} PROGRAMMING Codeforces Round 855 (Div. 3) Editorial
4747 Dasha and Nightmares bitmasks hashing meet-in-the-middle Statement F Codeforces Round 855 (Div. 3) {1800} PROGRAMMING Codeforces Round 855 (Div. 3) Editorial
28364 Count the Number of Pairs greedy strings Statement B Codeforces Round 855 (Div. 3) {1800} PROGRAMMING Codeforces Round 855 (Div. 3) Editorial
2858 The way home dp graphs greedy shortest paths sortings Statement D Codeforces Round 857 (Div. 1) {1801} PROGRAMMING 1750.0 Codeforces Round #857 Editorial
9726 The Very Beautiful Blanket bitmasks constructive algorithms Statement A Codeforces Round 857 (Div. 1) {1801} PROGRAMMING 500.0 Codeforces Round #857 Editorial
4098 Music Festival binary search data structures dp greedy sortings Statement C Codeforces Round 857 (Div. 1) {1801} PROGRAMMING 1250.0 Codeforces Round #857 Editorial
614 Gasoline prices data structures divide and conquer dsu trees Statement E Codeforces Round 857 (Div. 1) {1801} PROGRAMMING 2500.0 Codeforces Round #857 Editorial
7530 Buying gifts data structures dp greedy sortings Statement B Codeforces Round 857 (Div. 1) {1801} PROGRAMMING 1000.0 Codeforces Round #857 Editorial
705 A task for substrings data structures string suffix structures strings Statement G Codeforces Round 857 (Div. 1) {1801} PROGRAMMING 3500.0 Codeforces Round #857 Editorial
744 Another n-dimensional chocolate bar dp number theory Statement F Codeforces Round 857 (Div. 1) {1801} PROGRAMMING 3500.0 Codeforces Round #857 Editorial
14616 Settlement of Guinea Pigs implementation math Statement B Codeforces Round 857 (Div. 2) {1802} PROGRAMMING 750.0 Codeforces Round #857 Editorial
16652 Likes greedy implementation Statement A Codeforces Round 857 (Div. 2) {1802} PROGRAMMING 500.0 Codeforces Round #857 Editorial
15602 Vaccination greedy implementation two pointers Statement B Nebius Welcome Round (Div. 1 + Div. 2) {1804} PROGRAMMING 1000.0 Nebius Welcome Round Editorial
1703 Routing bitmasks dp graphs Statement E Nebius Welcome Round (Div. 1 + Div. 2) {1804} PROGRAMMING 2000.0 Nebius Welcome Round Editorial
13818 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
18654 Lame King greedy math Statement A Nebius Welcome Round (Div. 1 + Div. 2) {1804} PROGRAMMING 500.0 Nebius Welcome Round Editorial
237 Flow Control data structures implementation Statement G Nebius Welcome Round (Div. 1 + Div. 2) {1804} PROGRAMMING 3500.0 Nebius Welcome Round Editorial
245 Code Lock bitmasks dp Statement H Nebius Welcome Round (Div. 1 + Div. 2) {1804} PROGRAMMING 3500.0 Nebius Welcome Round Editorial
1174 Approximate Diameter binary search divide and conquer graphs shortest paths Statement F Nebius Welcome Round (Div. 1 + Div. 2) {1804} PROGRAMMING 2750.0 Nebius Welcome Round Editorial
5263 Accommodation dp greedy Statement D Nebius Welcome Round (Div. 1 + Div. 2) {1804} PROGRAMMING 1500.0 Nebius Welcome Round Editorial
41641 We Need the Zero bitmasks brute force Statement A Codeforces Round 862 (Div. 2) {1805} PROGRAMMING 500.0 Editorial of Codeforces Round #862 (Div. 2)
19960 The String Has a Target greedy strings Statement B Codeforces Round 862 (Div. 2) {1805} PROGRAMMING 750.0 Editorial of Codeforces Round #862 (Div. 2)
1907 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)
510 Survival of the Weakest (hard version) greedy sortings two pointers Statement F2 Codeforces Round 862 (Div. 2) {1805} PROGRAMMING 1750.0 Editorial of Codeforces Round #862 (Div. 2)
1326 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)
14157 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)
8945 A Wide, Wide Graph dfs and similar dp dsu greedy trees Statement D Codeforces Round 862 (Div. 2) {1805} PROGRAMMING 1750.0 Editorial of Codeforces Round #862 (Div. 2)
43166 Walking Master geometry greedy math Statement A Codeforces Round 858 (Div. 2) {1806} PROGRAMMING 500.0 Codeforces Round #858 (Div. 2) Editorial
3437 Tree Master brute force data structures dfs and similar hashing trees Statement E Codeforces Round 858 (Div. 2) {1806} PROGRAMMING 2250.0 Codeforces Round #858 (Div. 2) Editorial
8641 Sequence Master brute force constructive algorithms math Statement C Codeforces Round 858 (Div. 2) {1806} PROGRAMMING 1750.0 Codeforces Round #858 (Div. 2) Editorial
19694 Mex Master constructive algorithms greedy Statement B Codeforces Round 858 (Div. 2) {1806} PROGRAMMING 1000.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
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
1187 DSU Master combinatorics dp dsu math Statement D Codeforces Round 858 (Div. 2) {1806} PROGRAMMING 2000.0 Codeforces Round #858 (Div. 2) Editorial
27730 Subsequence Addition (Hard Version) dp greedy implementation math sortings Statement G2 Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
22217 Subsequence Addition (Easy Version) brute force dp greedy implementation sortings Statement G1 Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
84298 Plus or Minus implementation Statement A Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
56418 Odd Queries data structures implementation Statement D Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
16679 Interview binary search implementation interactive Statement E Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
49264 Grab the Candies greedy Statement B Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
34282 Find and Replace greedy implementation strings Statement C Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
7306 Bouncy Ball brute force brute force dfs and similar implementation Statement F Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
29495 Playing in a Casino math sortings Statement B Codeforces Round 861 (Div. 2) {1808} PROGRAMMING 1000.0 Codeforces Round #861 (Div. 2) editorial 1200
4323 Unlucky Numbers brute force greedy implementation Statement C Codeforces Round 861 (Div. 2) {1808} PROGRAMMING 1500.0 Codeforces Round #861 (Div. 2) editorial 1900
2704 Petya, Petya, Petr, and Palindromes binary search data structures two pointers Statement D Codeforces Round 861 (Div. 2) {1808} PROGRAMMING 1750.0 Codeforces Round #861 (Div. 2) editorial 2100
1595 Minibuses on Venus (easy version) brute force combinatorics dp Statement E1 Codeforces Round 861 (Div. 2) {1808} PROGRAMMING 1750.0 Codeforces Round #861 (Div. 2) editorial 2200
846 Minibuses on Venus (medium version) combinatorics divide and conquer dp matrices Statement E2 Codeforces Round 861 (Div. 2) {1808} PROGRAMMING 1000.0 Codeforces Round #861 (Div. 2) editorial 2500
572 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
20594 Lucky Numbers brute force implementation Statement A Codeforces Round 861 (Div. 2) {1808} PROGRAMMING 750.0 Codeforces Round #861 (Div. 2) editorial 900
1070 Two Tanks binary search dp implementation math Statement E Educational Codeforces Round 145 (Rated for Div. 2) {1809} PROGRAMMING 114300
930 Traveling in Berland binary search data structures graphs greedy implementation Statement F Educational Codeforces Round 145 (Rated for Div. 2) {1809} PROGRAMMING 114300
15146 Sum on Subarrays constructive algorithms greedy math Statement C Educational Codeforces Round 145 (Rated for Div. 2) {1809} PROGRAMMING 114300
553 Prediction combinatorics data structures dp Statement G Educational Codeforces Round 145 (Rated for Div. 2) {1809} PROGRAMMING 114300
22321 Points on Plane binary search greedy math Statement B Educational Codeforces Round 145 (Rated for Div. 2) {1809} PROGRAMMING 114300
25144 Garland implementation Statement A Educational Codeforces Round 145 (Rated for Div. 2) {1809} PROGRAMMING 114300
7265 Binary String Sorting binary search dp greedy Statement D Educational Codeforces Round 145 (Rated for Div. 2) {1809} PROGRAMMING 114300
1226 The Maximum Prefix dp Statement G CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!) {1810} PROGRAMMING 3000.0 Editorial of CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!)
659 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!)
3898 Monsters brute force data structures dfs and similar dsu graphs implementation trees Statement E CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!) {1810} PROGRAMMING 2000.0 Editorial of CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!)
16530 Make It Permutation brute force greedy sortings Statement C CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!) {1810} PROGRAMMING 1000.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!)
8531 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!)
18928 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!)
21891 Beautiful Sequence brute force greedy Statement A CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!) {1810} PROGRAMMING 500.0 Editorial of CodeTON Round 4 (Div. 1 + Div. 2, Rated, Prizes!)
2120 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
2482 Vlad and the Nice Paths (easy version) combinatorics dp math Statement G1 Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
8630 Umka and a Long Flight constructive algorithms implementation math Statement D Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
22203 Restore the Array constructive algorithms greedy Statement C Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
14385 Living Sequence binary search dp math number theory Statement E Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
2158 Is It Flower? dfs and similar dsu graphs implementation Statement F Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
34592 Insert Digit greedy math strings Statement A Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
22318 Conveyor Belts math Statement B Codeforces Round 863 (Div. 3) {1811} PROGRAMMING 114788
6055 Was it Rated? *special *special *special brute force implementation Statement B April Fools Day Contest 2023 {1812} PROGRAMMING Editorial of April Fools Day Contest 2023
6290 Unmysterious Language *special interactive strings Statement J April Fools Day Contest 2023 {1812} PROGRAMMING Editorial of April Fools Day Contest 2023
4899 Trivial Conjecture *special constructive algorithms math number theory Statement D April Fools Day Contest 2023 {1812} PROGRAMMING Editorial of April Fools Day Contest 2023
4302 Not a Geometry Problem *special *special geometry Statement E April Fools Day Contest 2023 {1812} PROGRAMMING Editorial of April Fools Day Contest 2023
289 Mountain Climber *special Statement I April Fools Day Contest 2023 {1812} PROGRAMMING Editorial of April Fools Day Contest 2023
1334 Factorization *special number theory Statement F April Fools Day Contest 2023 {1812} PROGRAMMING Editorial of April Fools Day Contest 2023
174 Expected Twist *special interactive Statement H April Fools Day Contest 2023 {1812} PROGRAMMING Editorial of April Fools Day Contest 2023
1370 Digits *special Statement C April Fools Day Contest 2023 {1812} PROGRAMMING Editorial of April Fools Day Contest 2023
622 Colour Vision *special implementation Statement G April Fools Day Contest 2023 {1812} PROGRAMMING Editorial of April Fools Day Contest 2023
14334 Are You a Robot? *special *special *special expression parsing Statement A April Fools Day Contest 2023 {1812} PROGRAMMING Editorial of April Fools Day Contest 2023
12452 Search in Parallel greedy math sortings Statement C Educational Codeforces Round 146 (Rated for Div. 2) {1814} PROGRAMMING Educational Codeforces Round 146 Editorial
11545 Long Legs brute force math Statement B Educational Codeforces Round 146 (Rated for Div. 2) {1814} PROGRAMMING Educational Codeforces Round 146 Editorial
926 Communication Towers brute force divide and conquer dsu Statement F Educational Codeforces Round 146 (Rated for Div. 2) {1814} PROGRAMMING Educational Codeforces Round 146 Editorial
51061 Coins math Statement A Educational Codeforces Round 146 (Rated for Div. 2) {1814} PROGRAMMING Educational Codeforces Round 146 Editorial
1707 Chain Chips data structures dp Statement E Educational Codeforces Round 146 (Rated for Div. 2) {1814} PROGRAMMING Educational Codeforces Round 146 Editorial
1022 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
15946 Ian and Array Sorting greedy implementation math Statement A Codeforces Round 865 (Div. 1) {1815} PROGRAMMING 500.0 Editorial of Codeforces Round #865 1300
3599 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
2354 Between constructive algorithms dfs and similar graphs greedy shortest paths Statement C Codeforces Round 865 (Div. 1) {1815} PROGRAMMING 1750.0 Editorial of Codeforces Round #865 2200
1493 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
16678 Grid Reconstruction constructive algorithms greedy Statement B Codeforces Round 865 (Div. 2) {1816} PROGRAMMING 1000.0 Editorial of Codeforces Round #865 1000
18852 Ian Visits Mary constructive algorithms geometry Statement A Codeforces Round 865 (Div. 2) {1816} PROGRAMMING 500.0 Editorial of Codeforces Round #865 800
1031 Toy Machine constructive algorithms games implementation Statement D Codeforces Round 869 (Div. 1) {1817} PROGRAMMING 2000.0 Codeforces Round #869 (Div.1, Div.2) Editorial
1226 Similar Polynomials math Statement C Codeforces Round 869 (Div. 1) {1817} PROGRAMMING 1250.0 Codeforces Round #869 (Div.1, Div.2) Editorial
320 Half-sum divide and conquer greedy Statement E Codeforces Round 869 (Div. 1) {1817} PROGRAMMING 2500.0 Codeforces Round #869 (Div.1, Div.2) Editorial
5084 Fish Graph brute force constructive algorithms dfs and similar graphs trees Statement B Codeforces Round 869 (Div. 1) {1817} PROGRAMMING 1000.0 Codeforces Round #869 (Div.1, Div.2) Editorial
328 Entangled Substrings string suffix structures Statement F Codeforces Round 869 (Div. 1) {1817} PROGRAMMING 3000.0 Codeforces Round #869 (Div.1, Div.2) Editorial
12747 Almost Increasing Subsequence data structures greedy Statement A Codeforces Round 869 (Div. 1) {1817} PROGRAMMING 500.0 Codeforces Round #869 (Div.1, Div.2) Editorial
14371 Politics greedy implementation Statement A Codeforces Round 869 (Div. 2) {1818} PROGRAMMING 500.0 Codeforces Round #869 (Div.1, Div.2) Editorial
17031 Indivisible constructive algorithms Statement B Codeforces Round 869 (Div. 2) {1818} PROGRAMMING 1000.0 Codeforces Round #869 (Div.1, Div.2) Editorial
174 Willy-nilly, Crack, Into Release! data structures dp Statement F Codeforces Round 866 (Div. 1) {1819} PROGRAMMING 3000.0 Codeforces Round #866 (Div.1, Div.2, based on Lipetsk Team Olympiad) Editorial
1734 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
4202 The Butcher greedy implementation sortings two pointers Statement B Codeforces Round 866 (Div. 1) {1819} PROGRAMMING 1250.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
838 Misha and Apples data structures dp Statement D Codeforces Round 866 (Div. 1) {1819} PROGRAMMING 2000.0 Codeforces Round #866 (Div.1, Div.2, based on Lipetsk Team Olympiad) Editorial
14575 Constructive Problem brute force greedy implementation Statement A Codeforces Round 866 (Div. 1) {1819} PROGRAMMING 750.0 Codeforces Round #866 (Div.1, Div.2, based on Lipetsk Team Olympiad) Editorial
17618 Yura's New Name implementation strings Statement A Codeforces Round 866 (Div. 2) {1820} PROGRAMMING 500.0 Codeforces Round #866 (Div.1, Div.2, based on Lipetsk Team Olympiad) Editorial
22903 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
938 Timber combinatorics dp fft math Statement F Educational Codeforces Round 147 (Rated for Div. 2) {1821} PROGRAMMING 115296
16196 Tear It Apart brute force implementation math strings Statement C Educational Codeforces Round 147 (Rated for Div. 2) {1821} PROGRAMMING 115296
28215 Sort the Subarray brute force greedy Statement B Educational Codeforces Round 147 (Rated for Div. 2) {1821} PROGRAMMING 115296
2697 Rearrange Brackets dp greedy math sortings Statement E Educational Codeforces Round 147 (Rated for Div. 2) {1821} PROGRAMMING 115296
21166 Matching combinatorics math Statement A Educational Codeforces Round 147 (Rated for Div. 2) {1821} PROGRAMMING 115296
5531 Black Cells binary search brute force greedy math Statement D Educational Codeforces Round 147 (Rated for Div. 2) {1821} PROGRAMMING 115296
26003 TubeTube Feed brute force implementation sortings Statement A Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
18996 Super-Permutation constructive algorithms math Statement D Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
12332 Making Anti-Palindromes greedy math strings Statement E Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
3035 Magic Triples (Hard Version) brute force math number theory Statement G2 Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
9447 Magic Triples (Easy Version) brute force math number theory Statement G1 Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
26575 Karina and Array greedy math Statement B Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
7616 Gardening Friends brute force dfs and similar dp graphs trees Statement F Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
24752 Bun Lover math Statement C Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
4306 Unique Palindromes binary search constructive algorithms greedy math strings Statement D Codeforces Round 868 (Div. 2) {1823} PROGRAMMING 2000.0 115465
13825 Strongly Composite greedy math number theory Statement C Codeforces Round 868 (Div. 2) {1823} PROGRAMMING 1250.0 115465
18088 Sort with Step brute force math sortings Statement B Codeforces Round 868 (Div. 2) {1823} PROGRAMMING 1000.0 115465
1442 Removing Graph games graphs math Statement E Codeforces Round 868 (Div. 2) {1823} PROGRAMMING 2000.0 115465
1286 Random Walk dp graphs math probabilities trees Statement F Codeforces Round 868 (Div. 2) {1823} PROGRAMMING 2500.0 115465
17159 A-characteristic combinatorics constructive algorithms math Statement A Codeforces Round 868 (Div. 2) {1823} PROGRAMMING 500.0 115465
12508 LuoTianyi and the Show greedy implementation Statement A Codeforces Round 872 (Div. 1) {1824} PROGRAMMING 500.0 CodeForces Round 872(Div. 1&2) Editorial 1400
5985 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
3349 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
1682 LuoTianyi and XOR-Tree data structures dfs and similar dp dsu greedy trees Statement C Codeforces Round 872 (Div. 1) {1824} PROGRAMMING 1750.0 CodeForces Round 872(Div. 1&2) Editorial 2500
652 LuoTianyi and the Function data structures Statement D Codeforces Round 872 (Div. 1) {1824} PROGRAMMING 2250.0 CodeForces Round 872(Div. 1&2) Editorial 3000
188 LuoTianyi and Cartridge data structures trees Statement E Codeforces Round 872 (Div. 1) {1824} PROGRAMMING 3000.0 CodeForces Round 872(Div. 1&2) Editorial 3500
16084 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
20740 LuoTianyi and the Palindrome String greedy strings Statement A Codeforces Round 872 (Div. 2) {1825} PROGRAMMING 500.0 CodeForces Round 872(Div. 1&2) Editorial 800
28042 Lunatic Never Content math number theory Statement B Codeforces Round 870 (Div. 2) {1826} PROGRAMMING 1000.0 Codeforces Round #870 (Div. 2) Editorial 1100
17258 Trust Nobody brute force greedy implementation sortings Statement A Codeforces Round 870 (Div. 2) {1826} PROGRAMMING 500.0 Codeforces Round #870 (Div. 2) Editorial 1200
15662 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
14864 Running Miles brute force dp greedy Statement D Codeforces Round 870 (Div. 2) {1826} PROGRAMMING 2000.0 Codeforces Round #870 (Div. 2) Editorial 1700
1954 Walk the Runway bitmasks brute force data structures dp graphs implementation sortings Statement E Codeforces Round 870 (Div. 2) {1826} PROGRAMMING 2500.0 Codeforces Round #870 (Div. 2) Editorial 2400
457 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
28705 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
4531 Range Sorting (Easy Version) binary search dp dsu greedy trees two pointers Statement B1 Codeforces Round 873 (Div. 1) {1827} PROGRAMMING 750.0 Codeforces Round #873 (Div. 1 & 2) Editorial 2000
2312 Range Sorting (Hard Version) binary search data structures dp greedy Statement B2 Codeforces Round 873 (Div. 1) {1827} PROGRAMMING 750.0 Codeforces Round #873 (Div. 1 & 2) Editorial 2400
1650 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
974 Two Centroids data structures dfs and similar greedy trees Statement D Codeforces Round 873 (Div. 1) {1827} PROGRAMMING 1750.0 Codeforces Round #873 (Div. 1 & 2) Editorial 2800
556 Bus Routes binary search constructive algorithms dfs and similar greedy trees Statement E Codeforces Round 873 (Div. 1) {1827} PROGRAMMING 2500.0 Codeforces Round #873 (Div. 1 & 2) Editorial 3400
134 Copium Permutation constructive algorithms data structures greedy Statement F Codeforces Round 873 (Div. 1) {1827} PROGRAMMING 3500.0 Codeforces Round #873 (Div. 1 & 2) Editorial 3500
25320 Divisible Array constructive algorithms math Statement A Codeforces Round 873 (Div. 2) {1828} PROGRAMMING 500.0 Codeforces Round #873 (Div. 1 & 2) Editorial 800
39093 Permutation Swap math number theory Statement B Codeforces Round 873 (Div. 2) {1828} PROGRAMMING 1000.0 Codeforces Round #873 (Div. 1 & 2) Editorial 900
34018 Gold Rush brute force dfs and similar dp implementation Statement D Codeforces Round 871 (Div. 4) {1829} PROGRAMMING Codeforces Round 871 (Div. 4) Editorial 1000
26527 The Lakes dfs and similar dsu graphs implementation Statement E Codeforces Round 871 (Div. 4) {1829} PROGRAMMING Codeforces Round 871 (Div. 4) Editorial 1100
21720 Forever Winter dfs and similar graphs math Statement F Codeforces Round 871 (Div. 4) {1829} PROGRAMMING Codeforces Round 871 (Div. 4) Editorial 1300
15073 Hits Different data structures dp implementation math Statement G Codeforces Round 871 (Div. 4) {1829} PROGRAMMING Codeforces Round 871 (Div. 4) Editorial 1600
10753 Don't Blame Me bitmasks combinatorics dp math Statement H Codeforces Round 871 (Div. 4) {1829} PROGRAMMING Codeforces Round 871 (Div. 4) Editorial 1700
32418 Mr. Perfectly Fine bitmasks greedy implementation Statement C Codeforces Round 871 (Div. 4) {1829} PROGRAMMING Codeforces Round 871 (Div. 4) Editorial 800
70446 Love Story implementation strings Statement A Codeforces Round 871 (Div. 4) {1829} PROGRAMMING Codeforces Round 871 (Div. 4) Editorial 800
77511 Blank Space implementation Statement B Codeforces Round 871 (Div. 4) {1829} PROGRAMMING Codeforces Round 871 (Div. 4) Editorial 800
359 The Third Grace data structures dp Statement F Codeforces Round 875 (Div. 1) {1830} PROGRAMMING 3500.0 Codeforces Round #875 (Div.1 + Div. 2) Editorial
5837 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
930 Mex Tree brute force dp trees Statement D Codeforces Round 875 (Div. 1) {1830} PROGRAMMING 2250.0 Codeforces Round #875 (Div.1 + Div. 2) Editorial
2179 Hyperregular Bracket Strings combinatorics hashing number theory sortings two pointers Statement C Codeforces Round 875 (Div. 1) {1830} PROGRAMMING 1750.0 Codeforces Round #875 (Div.1 + Div. 2) Editorial
20250 Copil Copac Draws Trees dfs and similar dp graphs trees Statement A Codeforces Round 875 (Div. 1) {1830} PROGRAMMING 500.0 Codeforces Round #875 (Div.1 + Div. 2) Editorial
322 Bully Sort data structures Statement E Codeforces Round 875 (Div. 1) {1830} PROGRAMMING 3000.0 Codeforces Round #875 (Div.1 + Div. 2) Editorial
46006 Twin Permutations constructive algorithms Statement A Codeforces Round 875 (Div. 2) {1831} PROGRAMMING 500.0 Codeforces Round #875 (Div.1 + Div. 2) Editorial
34880 Array merging constructive algorithms greedy Statement B Codeforces Round 875 (Div. 2) {1831} PROGRAMMING 750.0 Codeforces Round #875 (Div.1 + Div. 2) Editorial
35315 Maximum Sum brute force sortings two pointers Statement B Educational Codeforces Round 148 (Rated for Div. 2) {1832} PROGRAMMING 116454 1100
34234 Contrast Value greedy implementation Statement C Educational Codeforces Round 148 (Rated for Div. 2) {1832} PROGRAMMING 116454 1200
3375 Red-Blue Operations (Easy Version) binary search greedy implementation math Statement D1 Educational Codeforces Round 148 (Rated for Div. 2) {1832} PROGRAMMING 116454 2100
2534 Combinatorics Problem brute force combinatorics dp Statement E Educational Codeforces Round 148 (Rated for Div. 2) {1832} PROGRAMMING 116454 2200
2337 Red-Blue Operations (Hard Version) binary search constructive algorithms greedy implementation math Statement D2 Educational Codeforces Round 148 (Rated for Div. 2) {1832} PROGRAMMING 116454 2400
356 Zombies binary search dp Statement F Educational Codeforces Round 148 (Rated for Div. 2) {1832} PROGRAMMING 116454 3200
28940 New Palindrome strings Statement A Educational Codeforces Round 148 (Rated for Div. 2) {1832} PROGRAMMING 116454 800
27862 Vlad Building Beautiful Array greedy Statement C Codeforces Round 874 (Div. 3) {1833} PROGRAMMING 116636
18324 Round Dance dsu graphs shortest paths Statement E Codeforces Round 874 (Div. 3) {1833} PROGRAMMING 116636
29583 Restore the Weather greedy sortings Statement B Codeforces Round 874 (Div. 3) {1833} PROGRAMMING 116636
35030 Musical Puzzle implementation Statement A Codeforces Round 874 (Div. 3) {1833} PROGRAMMING 116636
6371 Ksyusha and Chinchilla dfs and similar dp dsu greedy implementation trees Statement G Codeforces Round 874 (Div. 3) {1833} PROGRAMMING 116636
10100 Ira and Flamenco combinatorics data structures implementation sortings Statement F Codeforces Round 874 (Div. 3) {1833} PROGRAMMING 116636
15069 Flipper brute force constructive algorithms Statement D Codeforces Round 874 (Div. 3) {1833} PROGRAMMING 116636
45336 Unit Array greedy math Statement A Codeforces Round 879 (Div. 2) {1834} PROGRAMMING 500.0 Codeforces Round #879 Editorial
660 Typewriter data structures math Statement F Codeforces Round 879 (Div. 2) {1834} PROGRAMMING 3000.0 Codeforces Round #879 Editorial
5541 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
2767 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
16983 Maximum Strength greedy math Statement B Codeforces Round 879 (Div. 2) {1834} PROGRAMMING 1000.0 Codeforces Round #879 Editorial
15017 Game with Reversing games strings Statement C Codeforces Round 879 (Div. 2) {1834} PROGRAMMING 1250.0 Codeforces Round #879 Editorial
1164 Twin Clusters bitmasks math meet-in-the-middle probabilities Statement C Codeforces Round 880 (Div. 1) {1835} PROGRAMMING 1500.0 Codeforces Round 880 Editorial
274 Old Mobile dp math probabilities Statement E Codeforces Round 880 (Div. 1) {1835} PROGRAMMING 2250.0 Codeforces Round 880 Editorial
1088 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
8725 k-th equality brute force implementation math Statement A Codeforces Round 880 (Div. 1) {1835} PROGRAMMING 500.0 Codeforces Round 880 Editorial