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 ... 10 11 12 13 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
18962 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
28484 Two Screens binary search greedy strings two pointers Statement A Educational Codeforces Round 170 (Rated for Div. 2) {2025} PROGRAMMING Educational Codeforces Round 170 Editorial
2354 Card Game combinatorics dp fft greedy math Statement E Educational Codeforces Round 170 (Rated for Div. 2) {2025} PROGRAMMING Educational Codeforces Round 170 Editorial
1047 Choose Your Queries dfs and similar dp graphs greedy trees Statement F Educational Codeforces Round 170 (Rated for Div. 2) {2025} PROGRAMMING Educational Codeforces Round 170 Editorial
16459 Black Cells binary search brute force greedy Statement B Educational Codeforces Round 171 (Rated for Div. 2) {2026} PROGRAMMING Educational Codeforces Round 171 Editorial
12575 Action Figures data structures greedy Statement C Educational Codeforces Round 171 (Rated for Div. 2) {2026} PROGRAMMING Educational Codeforces Round 171 Editorial
1897 The Endspeaker (Hard Version) binary search combinatorics data structures dp greedy implementation two pointers Statement D2 Codeforces Round 982 (Div. 2) {2027} PROGRAMMING 1000.0 Codeforces Round #982 (Div. 2) Editorial
6929 The Endspeaker (Easy Version) binary search dp graphs greedy implementation two pointers Statement D1 Codeforces Round 982 (Div. 2) {2027} PROGRAMMING 1250.0 Codeforces Round #982 (Div. 2) Editorial
17681 Stalin Sort brute force greedy Statement B Codeforces Round 982 (Div. 2) {2027} PROGRAMMING 1000.0 Codeforces Round #982 (Div. 2) Editorial
9922 Alice's Adventures in Cutting Cake binary search dp greedy two pointers Statement C Codeforces Round 986 (Div. 2) {2028} PROGRAMMING 1500.0 Codeforces Round 986 (Div. 2) Editorial
3724 Alice's Adventures in Cards constructive algorithms data structures dfs and similar dp graphs greedy implementation shortest paths Statement D Codeforces Round 986 (Div. 2) {2028} PROGRAMMING 1750.0 Codeforces Round 986 (Div. 2) Editorial
1892 Alice's Adventures in the Rabbit Hole constructive algorithms dfs and similar dp greedy math probabilities trees Statement E Codeforces Round 986 (Div. 2) {2028} PROGRAMMING 2000.0 Codeforces Round 986 (Div. 2) Editorial
7549 New Rating binary search data structures dp greedy Statement C Refact.ai Match 1 (Codeforces Round 985) {2029} PROGRAMMING 1750.0 Refact.ai Match 1 (Codeforces Round 985) Editorial
14138 Set binary search greedy math Statement A Refact.ai Match 1 (Codeforces Round 985) {2029} PROGRAMMING 750.0 Refact.ai Match 1 (Codeforces Round 985) Editorial
3520 Common Generator brute force constructive algorithms greedy math number theory Statement E Refact.ai Match 1 (Codeforces Round 985) {2029} PROGRAMMING 2500.0 Refact.ai Match 1 (Codeforces Round 985) Editorial
848 Palindrome Everywhere constructive algorithms greedy Statement F Refact.ai Match 1 (Codeforces Round 985) {2029} PROGRAMMING 3000.0 Refact.ai Match 1 (Codeforces Round 985) Editorial
146 Variance Challenge flows graphs greedy Statement I Refact.ai Match 1 (Codeforces Round 985) {2029} PROGRAMMING 5500.0 Refact.ai Match 1 (Codeforces Round 985) Editorial
11692 Replacement games greedy strings Statement B Refact.ai Match 1 (Codeforces Round 985) {2029} PROGRAMMING 1250.0 Refact.ai Match 1 (Codeforces Round 985) Editorial
1155 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
27546 A Gift From Orangutan brute force dfs and similar greedy sortings Statement A Codeforces Round 979 (Div. 2) {2030} PROGRAMMING 250.0 Codeforces Round 979 Editorial
19765 A TRUE Battle brute force games greedy Statement C Codeforces Round 979 (Div. 2) {2030} PROGRAMMING 1000.0 Codeforces Round 979 Editorial
9642 Penchick and Desert Rabbit data structures dfs and similar dp dsu greedy two pointers Statement D Codeforces Round 987 (Div. 2) {2031} PROGRAMMING 2000.0 Codeforces Round 987 (Div. 2) Editorial
2677 Penchick and Chloe's Trees data structures dfs and similar dp greedy sortings trees Statement E Codeforces Round 987 (Div. 2) {2031} PROGRAMMING 2500.0 Codeforces Round 987 (Div. 2) Editorial
20892 Penchick and Modern Monument dp greedy math two pointers Statement A Codeforces Round 987 (Div. 2) {2031} PROGRAMMING 500.0 Codeforces Round 987 (Div. 2) Editorial
20742 Penchick and Satay Sticks greedy sortings Statement B Codeforces Round 987 (Div. 2) {2031} PROGRAMMING 1000.0 Codeforces Round 987 (Div. 2) Editorial
20539 Medians constructive algorithms greedy hashing implementation math Statement B Codeforces Round 983 (Div. 2) {2032} PROGRAMMING 750.0 Codeforces Round 983 (Div. 2) Editorial
24642 Circuit greedy implementation math number theory Statement A Codeforces Round 983 (Div. 2) {2032} PROGRAMMING 500.0 Codeforces Round 983 (Div. 2) Editorial
17753 Sakurako's Field Trip binary search dp greedy Statement C Codeforces Round 981 (Div. 3) {2033} PROGRAMMING 135520
14084 Sakurako, Kosuke, and the Permutation brute force data structures dfs and similar dsu fft greedy math Statement E Codeforces Round 981 (Div. 3) {2033} PROGRAMMING 135520
28797 Sakurako and Water constructive algorithms greedy Statement B Codeforces Round 981 (Div. 3) {2033} PROGRAMMING 135520
18141 Kousuke's Assignment dp dsu greedy math Statement D Codeforces Round 981 (Div. 3) {2033} PROGRAMMING 135520
2015 Permutations Harmony brute force combinatorics constructive algorithms greedy hashing implementation math Statement E Rayan Programming Contest 2024 - Selection (Codeforces Round 989, Div. 1 + Div. 2) {2034} PROGRAMMING 2000.0 Rayan 2024 Selection Round Editorial
6579 Darius' Wisdom constructive algorithms greedy implementation sortings Statement D Rayan Programming Contest 2024 - Selection (Codeforces Round 989, Div. 1 + Div. 2) {2034} PROGRAMMING 1500.0 Rayan 2024 Selection Round Editorial
15708 Rakhsh's Revival data structures greedy implementation two pointers Statement B Rayan Programming Contest 2024 - Selection (Codeforces Round 989, Div. 1 + Div. 2) {2034} PROGRAMMING 750.0 Rayan 2024 Selection Round Editorial
77 Simurgh's Watch (Easy Version) greedy implementation Statement G1 Rayan Programming Contest 2024 - Selection (Codeforces Round 989, Div. 1 + Div. 2) {2034} PROGRAMMING 3000.0 Rayan 2024 Selection Round Editorial
77 Simurgh's Watch (Hard Version) greedy implementation Statement G2 Rayan Programming Contest 2024 - Selection (Codeforces Round 989, Div. 1 + Div. 2) {2034} PROGRAMMING 3000.0 Rayan 2024 Selection Round Editorial
5809 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
20513 Everyone Loves Tres constructive algorithms greedy math number theory Statement B Codeforces Global Round 27 {2035} PROGRAMMING 500.0 Codeforces Global Round 27 Editorial
9507 Reverse the Rivers binary search greedy Statement E Codeforces Round 984 (Div. 3) {2036} PROGRAMMING Codeforces Round 984 (Div. 3) Editorial
29708 Startup greedy sortings Statement B Codeforces Round 984 (Div. 3) {2036} PROGRAMMING Codeforces Round 984 (Div. 3) Editorial
25464 Superultra's Favorite Permutation constructive algorithms greedy math number theory Statement C Codeforces Round 988 (Div. 3) {2037} PROGRAMMING Video Tutorial
14703 Sharky Surfing data structures greedy two pointers Statement D Codeforces Round 988 (Div. 3) {2037} PROGRAMMING Video Tutorial
7349 Kachina's Favorite Binary String greedy interactive two pointers Statement E Codeforces Round 988 (Div. 3) {2037} PROGRAMMING Video Tutorial
7958 Bridge Renovation brute force dp greedy math Statement L 2024-2025 ICPC, NERC, Southern and Volga Russian Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2038} PROGRAMMING 1400
5406 Bonus Project games greedy Statement A 2024-2025 ICPC, NERC, Southern and Volga Russian Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2038} PROGRAMMING 1400
6884 DIY geometry greedy Statement C 2024-2025 ICPC, NERC, Southern and Volga Russian Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2038} PROGRAMMING 1400
1904 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
1770 Grid Walk dp greedy math number theory Statement K 2024-2025 ICPC, NERC, Southern and Volga Russian Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2038} PROGRAMMING 2100
156 Barrels data structures greedy math Statement E 2024-2025 ICPC, NERC, Southern and Volga Russian Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2038} PROGRAMMING 2900
8754 Waiting for... greedy implementation Statement J 2024-2025 ICPC, NERC, Southern and Volga Russian Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2038} PROGRAMMING 800
17241 Shohag Loves Strings constructive algorithms greedy implementation strings Statement B CodeTON Round 9 (Div. 1 + Div. 2, Rated, Prizes!) {2039} PROGRAMMING 1000.0 Editorial of CodeTON Round 9 (Div. 1 + Div. 2)
6941 Shohag Loves GCD constructive algorithms greedy math number theory Statement D CodeTON Round 9 (Div. 1 + Div. 2, Rated, Prizes!) {2039} PROGRAMMING 2000.0 Editorial of CodeTON Round 9 (Div. 1 + Div. 2)
5833 Non Prime Tree brute force constructive algorithms dfs and similar greedy number theory trees two pointers Statement D Codeforces Round 992 (Div. 2) {2040} PROGRAMMING 2000.0 Codeforces Round #992 (Div.2) Editorial
2656 Control of Randomness combinatorics dfs and similar graphs greedy math probabilities trees Statement E Codeforces Round 992 (Div. 2) {2040} PROGRAMMING 2250.0 Codeforces Round #992 (Div.2) Editorial
24032 Paint a Strip constructive algorithms greedy math Statement B Codeforces Round 992 (Div. 2) {2040} PROGRAMMING 1000.0 Codeforces Round #992 (Div.2) Editorial
10732 Ordered Permutations constructive algorithms greedy math Statement C Codeforces Round 992 (Div. 2) {2040} PROGRAMMING 1500.0 Codeforces Round #992 (Div.2) Editorial
263 Bottle Arrangement dsu greedy Statement J 2024 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2041} PROGRAMMING Problem Analysis and Hints (PDF)
1319 Selection Sort greedy Statement M 2024 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2041} PROGRAMMING Problem Analysis and Hints (PDF)
520 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
19441 Game with Colored Marbles games greedy Statement B Educational Codeforces Round 172 (Rated for Div. 2) {2042} PROGRAMMING 136886
20826 Greedy Monocarp greedy sortings Statement A Educational Codeforces Round 172 (Rated for Div. 2) {2042} PROGRAMMING 136886
8605 Competitive Fishing greedy sortings Statement C Educational Codeforces Round 172 (Rated for Div. 2) {2042} PROGRAMMING 136886
11149 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
17964 Insane Problem binary search greedy implementation math Statement E Codeforces Round 993 (Div. 4) {2044} PROGRAMMING Codeforces Round 993 (Div. 4) Editorial
23997 Harder Problem constructive algorithms greedy math Statement D Codeforces Round 993 (Div. 4) {2044} PROGRAMMING Codeforces Round 993 (Div. 4) Editorial
45045 Hard Problem greedy math Statement C Codeforces Round 993 (Div. 4) {2044} PROGRAMMING Codeforces Round 993 (Div. 4) Editorial
7162 Saraga greedy strings Statement C 2024-2025 ICPC Asia Jakarta Regional Contest (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2045} PROGRAMMING raRzKDJLPHcUnqTcwvGznwEdKiDWjEkd.pdf 1400
2549 Scrambled Scrabble brute force greedy Statement A 2024-2025 ICPC Asia Jakarta Regional Contest (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2045} PROGRAMMING raRzKDJLPHcUnqTcwvGznwEdKiDWjEkd.pdf 1700
10812 Move Back at a Cost binary search data structures greedy sortings Statement B Codeforces Round 990 (Div. 1) {2046} PROGRAMMING 750.0 Разбор Codeforces Round 990 (Div. 2 + Div. 1)
132 Yandex Cuneiform (Easy Version) constructive algorithms data structures greedy Statement F1 Codeforces Round 990 (Div. 1) {2046} PROGRAMMING 2000.0 Разбор Codeforces Round 990 (Div. 2 + Div. 1)
95 Yandex Cuneiform (Hard Version) constructive algorithms data structures greedy Statement F2 Codeforces Round 990 (Div. 1) {2046} PROGRAMMING 2500.0 Разбор Codeforces Round 990 (Div. 2 + Div. 1)
228 Cheops and a Contest (Easy Version) constructive algorithms greedy Statement E1 Codeforces Round 990 (Div. 1) {2046} PROGRAMMING 2000.0 Разбор Codeforces Round 990 (Div. 2 + Div. 1)
89 Cheops and a Contest (Hard Version) greedy Statement E2 Codeforces Round 990 (Div. 1) {2046} PROGRAMMING 1500.0 Разбор Codeforces Round 990 (Div. 2 + Div. 1)
16746 Swap Columns and Find a Path greedy sortings Statement A Codeforces Round 990 (Div. 1) {2046} PROGRAMMING 500.0 Разбор Codeforces Round 990 (Div. 2 + Div. 1)
19188 Replace Character brute force combinatorics greedy strings Statement B Codeforces Round 990 (Div. 2) {2047} PROGRAMMING 1000.0 Разбор Codeforces Round 990 (Div. 2 + Div. 1)
8265 Kevin and Competition Memories binary search data structures greedy sortings two pointers Statement D Codeforces Global Round 28 {2048} PROGRAMMING 1250.0 Tutorial
15081 Kevin and Binary Strings bitmasks brute force greedy strings Statement C Codeforces Global Round 28 {2048} PROGRAMMING 1000.0 Tutorial
3478 Kevin and Bipartite Graph constructive algorithms graphs greedy Statement E Codeforces Global Round 28 {2048} PROGRAMMING 1750.0 Tutorial
20600 Kevin and Permutation constructive algorithms greedy Statement B Codeforces Global Round 28 {2048} PROGRAMMING 500.0 Tutorial
13565 MEX Cycle constructive algorithms greedy implementation Statement C Codeforces Round 994 (Div. 2) {2049} PROGRAMMING 1000.0 Codeforces Round #994 (Div. 2) Editorial
24087 MEX Destruction greedy implementation Statement A Codeforces Round 994 (Div. 2) {2049} PROGRAMMING 500.0 Codeforces Round #994 (Div. 2) Editorial
26944 Transfusion brute force greedy math Statement B Codeforces Round 991 (Div. 3) {2050} PROGRAMMING Разбор Codeforces Round 991 (Div. 3)
18894 Digital string maximization brute force greedy math strings Statement D Codeforces Round 991 (Div. 3) {2050} PROGRAMMING Разбор Codeforces Round 991 (Div. 3)
5356 Tree Destruction dfs and similar dp greedy trees Statement G Codeforces Round 991 (Div. 3) {2050} PROGRAMMING Разбор Codeforces Round 991 (Div. 3)
11898 Best Price brute force data structures greedy sortings Statement E Codeforces Round 995 (Div. 3) {2051} PROGRAMMING 137623
34925 Preparing for the Olympiad greedy Statement A Codeforces Round 995 (Div. 3) {2051} PROGRAMMING 137623
3981 Joker greedy math Statement F Codeforces Round 995 (Div. 3) {2051} PROGRAMMING 137623
1538 Judicious Watching binary search greedy Statement J 2024-2025 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2052} PROGRAMMING
16894 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
7662 Refined Product Optimality binary search data structures greedy implementation math schedules sortings Statement D Good Bye 2024: 2025 is NEAR {2053} PROGRAMMING 1750.0 Good Bye 2024: 2025 is NEAR Editorial
224 Naive String Splits brute force greedy hashing strings Statement G Good Bye 2024: 2025 is NEAR {2053} PROGRAMMING 4250.0 Good Bye 2024: 2025 is NEAR Editorial
105 Affectionate Arrays (Hard Version) data structures dp graphs greedy math shortest paths two pointers Statement I2 Good Bye 2024: 2025 is NEAR {2053} PROGRAMMING 2000.0 Good Bye 2024: 2025 is NEAR Editorial
946 Earnest Matrix Complement data structures dp greedy implementation Statement F Good Bye 2024: 2025 is NEAR {2053} PROGRAMMING 2500.0 Good Bye 2024: 2025 is NEAR Editorial
556 Affectionate Arrays (Easy Version) dp greedy Statement I1 Good Bye 2024: 2025 is NEAR {2053} PROGRAMMING 3000.0 Good Bye 2024: 2025 is NEAR Editorial
4351 Scarecrow binary search greedy Statement D Codeforces Round 996 (Div. 2) {2055} PROGRAMMING 2250.0 Codeforces Round 996 (Div. 2) Editorial
470 Haystacks constructive algorithms data structures greedy Statement E Codeforces Round 996 (Div. 2) {2055} PROGRAMMING 3000.0 Codeforces Round 996 (Div. 2) Editorial
33516 Two Frogs constructive algorithms games greedy Statement A Codeforces Round 996 (Div. 2) {2055} PROGRAMMING 500.0 Codeforces Round 996 (Div. 2) Editorial
17180 The Trail constructive algorithms greedy math Statement C Codeforces Round 996 (Div. 2) {2055} PROGRAMMING 1500.0 Codeforces Round 996 (Div. 2) Editorial
27188 Crafting greedy sortings Statement B Codeforces Round 996 (Div. 2) {2055} PROGRAMMING 1000.0 Codeforces Round 996 (Div. 2) Editorial
13696 Trip to the Olympiad bitmasks constructive algorithms greedy math Statement C Hello 2025 {2057} PROGRAMMING 1500.0
27441 MEX Table constructive algorithms greedy Statement A Hello 2025 {2057} PROGRAMMING 500.0
185 Coffee Break data structures greedy greedy math Statement H Hello 2025 {2057} PROGRAMMING 4500.0
5354 Gifts Order data structures greedy math Statement D Hello 2025 {2057} PROGRAMMING 2250.0
23158 Gorilla and the Exam greedy sortings Statement B Hello 2025 {2057} PROGRAMMING 1000.0
12478 Customer Service brute force constructive algorithms graph matchings greedy math sortings Statement C Codeforces Round 1002 (Div. 2) {2059} PROGRAMMING 1500.0 139094
882 Stop Gaming (Easy Version) brute force constructive algorithms greedy hashing Statement E1 Codeforces Round 1002 (Div. 2) {2059} PROGRAMMING 1500.0 139094
18705 Cost of the Array brute force constructive algorithms greedy math Statement B Codeforces Round 1002 (Div. 2) {2059} PROGRAMMING 1000.0 139094
29089 Milya and Two Arrays constructive algorithms greedy sortings Statement A Codeforces Round 1002 (Div. 2) {2059} PROGRAMMING 500.0 139094
6493 Graph and Graph data structures graphs greedy shortest paths Statement D Codeforces Round 1002 (Div. 2) {2059} PROGRAMMING 2000.0 139094
12171 Graph Composition dfs and similar dsu graphs greedy Statement E Codeforces Round 998 (Div. 3) {2060} PROGRAMMING Codeforces Round 998 (Div. 3) Editorial
1280 Bugged Sort dp greedy sortings Statement G Codeforces Round 998 (Div. 3) {2060} PROGRAMMING Codeforces Round 998 (Div. 3) Editorial
31980 Game of Mathletes games greedy sortings two pointers Statement C Codeforces Round 998 (Div. 3) {2060} PROGRAMMING Codeforces Round 998 (Div. 3) Editorial
26130 Subtract Min Sort greedy Statement D Codeforces Round 998 (Div. 3) {2060} PROGRAMMING Codeforces Round 998 (Div. 3) Editorial
28507 Farmer John's Card Game greedy sortings Statement B Codeforces Round 998 (Div. 3) {2060} PROGRAMMING Codeforces Round 998 (Div. 3) Editorial
2259 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
3938 Kevin and And bitmasks brute force dp greedy Statement E 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
14621 Kevin and Geometry brute force constructive algorithms data structures geometry greedy implementation math two pointers Statement B IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) {2061} PROGRAMMING 1000.0 IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) Editorial
10709 Kevin and Numbers brute force data structures greedy implementation math Statement D IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) {2061} PROGRAMMING 1500.0 IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) Editorial
22245 Kevin and Arithmetic constructive algorithms greedy math Statement A IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) {2061} PROGRAMMING 500.0 IAEPC Preliminary Contest (Codeforces Round 999, Div. 1 + Div. 2) Editorial
3531 Balanced Tree dfs and similar dp greedy trees Statement D Ethflow Round 1 (Codeforces Round 1001, Div. 1 + Div. 2) {2062} PROGRAMMING 2000.0 Ethflow Round 1 (Codeforces Round 1001, Div. 1 + Div. 2) Editorial
610 Traveling Salescat dp geometry greedy math sortings Statement F Ethflow Round 1 (Codeforces Round 1001, Div. 1 + Div. 2) {2062} PROGRAMMING 3500.0 Ethflow Round 1 (Codeforces Round 1001, Div. 1 + Div. 2) Editorial
23648 Clockwork greedy Statement B Ethflow Round 1 (Codeforces Round 1001, Div. 1 + Div. 2) {2062} PROGRAMMING 1000.0 Ethflow Round 1 (Codeforces Round 1001, Div. 1 + Div. 2) Editorial
28218 String greedy strings Statement A Ethflow Round 1 (Codeforces Round 1001, Div. 1 + Div. 2) {2062} PROGRAMMING 500.0 Ethflow Round 1 (Codeforces Round 1001, Div. 1 + Div. 2) Editorial
4991 Game With Triangles binary search data structures dp greedy math ternary search two pointers Statement D Codeforces Round 1000 (Div. 2) {2063} PROGRAMMING 2250.0 Codeforces Round 1000 (Div. 2) — Editorial
14529 Remove Exactly Two brute force data structures dp graphs greedy sortings trees Statement C Codeforces Round 1000 (Div. 2) {2063} PROGRAMMING 1500.0 Codeforces Round 1000 (Div. 2) — Editorial
2343 Triangle Tree data structures dfs and similar dp dsu greedy trees Statement E Codeforces Round 1000 (Div. 2) {2063} PROGRAMMING 2750.0 Codeforces Round 1000 (Div. 2) — Editorial
23072 Subsequence Update greedy sortings Statement B Codeforces Round 1000 (Div. 2) {2063} PROGRAMMING 1000.0 Codeforces Round 1000 (Div. 2) — Editorial
5819 Eating binary search bitmasks data structures greedy two pointers Statement D Codeforces Round 1005 (Div. 2) {2064} PROGRAMMING 1750.0 Codeforces Round 1005 (Div. 2) Editorial
17669 Remove the Ends brute force constructive algorithms dp greedy Statement C Codeforces Round 1005 (Div. 2) {2064} PROGRAMMING 1250.0 Codeforces Round 1005 (Div. 2) Editorial
20017 Variety is Discouraged constructive algorithms constructive algorithms greedy greedy Statement B Codeforces Round 1005 (Div. 2) {2064} PROGRAMMING 1000.0 Codeforces Round 1005 (Div. 2) Editorial
27016 Brogramming Contest greedy strings Statement A Codeforces Round 1005 (Div. 2) {2064} PROGRAMMING 500.0 Codeforces Round 1005 (Div. 2) Editorial
27646 Skibidus and Fanum Tax (easy version) binary search greedy Statement C1 Codeforces Round 1003 (Div. 4) {2065} PROGRAMMING Video Tutorial
18708 Skibidus and Fanum Tax (hard version) binary search greedy Statement C2 Codeforces Round 1003 (Div. 4) {2065} PROGRAMMING Video Tutorial
11900 Skibidus and Rizz constructive algorithms greedy Statement E Codeforces Round 1003 (Div. 4) {2065} PROGRAMMING Video Tutorial
7049 Skibidus and Slay data structures dfs and similar graphs greedy trees Statement F Codeforces Round 1003 (Div. 4) {2065} PROGRAMMING Video Tutorial
5423 White Magic constructive algorithms greedy implementation Statement B Codeforces Round 1004 (Div. 1) {2066} PROGRAMMING 750.0 139415
420 Tropical Season data structures greedy implementation Statement E Codeforces Round 1004 (Div. 1) {2066} PROGRAMMING 2000.0 139415
12635 Devyatkino brute force dp greedy math Statement C Codeforces Round 1004 (Div. 2) {2067} PROGRAMMING 1250.0
18891 Two Large Bags dp greedy sortings Statement B Codeforces Round 1004 (Div. 2) {2067} PROGRAMMING 1000.0
1632 Ads binary search greedy two pointers Statement C European Championship 2025 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {2068} PROGRAMMING 140239
1472 Mascot Naming brute force greedy strings Statement F European Championship 2025 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {2068} PROGRAMMING 140239
1601 The Ultimate Wine Tasting Event combinatorics greedy Statement J European Championship 2025 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {2068} PROGRAMMING 140239
403 Statues constructive algorithms greedy Statement H European Championship 2025 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {2068} PROGRAMMING 140239
265 Morse Code dp greedy sortings trees Statement D European Championship 2025 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {2068} PROGRAMMING 140239
7000 Palindrome Shuffle binary search greedy hashing strings two pointers Statement D Educational Codeforces Round 174 (Rated for Div. 2) {2069} PROGRAMMING 139774
26483 Was there an Array? brute force greedy Statement A Educational Codeforces Round 174 (Rated for Div. 2) {2069} PROGRAMMING 139774
14686 Beautiful Sequence combinatorics dp greedy Statement C Educational Codeforces Round 174 (Rated for Div. 2) {2069} PROGRAMMING 139774
1893 A, B, AB and BA constructive algorithms greedy sortings strings Statement E Educational Codeforces Round 174 (Rated for Div. 2) {2069} PROGRAMMING 139774
18723 Set of Strangers greedy matrices Statement B Educational Codeforces Round 174 (Rated for Div. 2) {2069} PROGRAMMING 139774
13722 Limited Repainting binary search greedy Statement C Educational Codeforces Round 175 (Rated for Div. 2) {2070} PROGRAMMING Video Tutorial
1834 Game with Binary String data structures divide and conquer games greedy math Statement E Educational Codeforces Round 175 (Rated for Div. 2) {2070} PROGRAMMING Video Tutorial
20785 Perfecto brute force constructive algorithms greedy math probabilities Statement B Codeforces Round 1007 (Div. 2) {2071} PROGRAMMING 1000.0 Codeforces Round 1007 (Div. 2) Editorial
12206 Do You Love Your Hero and His Two-Hit Multi-Target Attacks? binary search constructive algorithms geometry greedy math Statement E Codeforces Round 1006 (Div. 3) {2072} PROGRAMMING Codeforces Round 1006 (Div. 3) Editorial
19460 Creating Keys for StORages Has Become My Main Skill bitmasks constructive algorithms greedy Statement C Codeforces Round 1006 (Div. 3) {2072} PROGRAMMING Codeforces Round 1006 (Div. 3) Editorial
17590 For Wizards, the Exam Is Easy, but I Couldn't Handle It brute force greedy implementation Statement D Codeforces Round 1006 (Div. 3) {2072} PROGRAMMING Codeforces Round 1006 (Div. 3) Editorial
40564 New World, New Me, New Array greedy greedy implementation math Statement A Codeforces Round 1006 (Div. 3) {2072} PROGRAMMING Codeforces Round 1006 (Div. 3) Editorial
21908 XOR and Triangle binary search bitmasks brute force greedy Statement C Codeforces Round 1009 (Div. 3) {2074} PROGRAMMING Codeforces Round 1009 (Div. 3) — Editorial
2155 Game With Triangles: Season 2 dp greedy Statement G Codeforces Round 1009 (Div. 3) {2074} PROGRAMMING Codeforces Round 1009 (Div. 3) — Editorial
34660 The Third Side greedy math Statement B Codeforces Round 1009 (Div. 3) {2074} PROGRAMMING Codeforces Round 1009 (Div. 3) — Editorial
5758 Equalization bitmasks brute force dp greedy math Statement D Educational Codeforces Round 176 (Rated for Div. 2) {2075} PROGRAMMING Educational Codeforces Round 176 Editorial
18735 Array Recoloring greedy Statement B Educational Codeforces Round 176 (Rated for Div. 2) {2075} PROGRAMMING Educational Codeforces Round 176 Editorial
27824 To Zero greedy math Statement A Educational Codeforces Round 176 (Rated for Div. 2) {2075} PROGRAMMING Educational Codeforces Round 176 Editorial
14426 Breach of Faith constructive algorithms greedy math sortings Statement A Codeforces Round 1008 (Div. 1) {2077} PROGRAMMING 500.0 Codeforces Round 1008 (Div. 1, Div. 2) Editorial
18221 Vicious Labyrinth constructive algorithms graphs greedy implementation math Statement B Codeforces Round 1008 (Div. 2) {2078} PROGRAMMING 750.0 Codeforces Round 1008 (Div. 1, Div. 2) Editorial
6466 Scammy Game Ad dp greedy math Statement D Codeforces Round 1008 (Div. 2) {2078} PROGRAMMING 1750.0 Codeforces Round 1008 (Div. 1, Div. 2) Editorial
23245 Final Verdict greedy math Statement A Codeforces Round 1008 (Div. 2) {2078} PROGRAMMING 500.0 Codeforces Round 1008 (Div. 1, Div. 2) Editorial
154 Arithmetic Exercise *special data structures dp greedy Statement B XIX Open Olympiad in Informatics - Final Stage, Day 1 (Unrated, Online Mirror, IOI rules) {2079} PROGRAMMING
353 Quaternary Matrix bitmasks greedy Statement C Codeforces Round 1010 (Div. 1, Unrated) {2081} PROGRAMMING 1750.0 Codeforces Round 1010 (Div. 1, Div. 2, based on Zhili Cup 2025) Editorial
1170 MST in Modulo Graph constructive algorithms dsu graphs greedy math number theory sortings Statement D Codeforces Round 1010 (Div. 1, Unrated) {2081} PROGRAMMING 1750.0 Codeforces Round 1010 (Div. 1, Div. 2, based on Zhili Cup 2025) Editorial
991 Balancing greedy Statement B Codeforces Round 1010 (Div. 1, Unrated) {2081} PROGRAMMING 1000.0 Codeforces Round 1010 (Div. 1, Div. 2, based on Zhili Cup 2025) Editorial
8765 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
505 Skyscape constructive algorithms data structures greedy Statement F Teza Round 1 (Codeforces Round 1015, Div. 1 + Div. 2) {2084} PROGRAMMING 3000.0 141155
11628 You Soared Afar With Grace constructive algorithms greedy implementation Statement C Teza Round 1 (Codeforces Round 1015, Div. 1 + Div. 2) {2084} PROGRAMMING 1500.0 141155
725 Wish Upon a Satellite (Easy Version) dp games greedy Statement G1 Teza Round 1 (Codeforces Round 1015, Div. 1 + Div. 2) {2084} PROGRAMMING 2500.0 141155
16506 MIN = GCD greedy math Statement B Teza Round 1 (Codeforces Round 1015, Div. 1 + Div. 2) {2084} PROGRAMMING 1000.0 141155
13466 Serval and The Formula bitmasks constructive algorithms greedy Statement C Codeforces Round 1011 (Div. 2) {2085} PROGRAMMING 1250.0 Codeforces Round #1011 (Div. 2) Editorial
5241 Serval and Kaitenzushi Buffet data structures graph matchings greedy Statement D Codeforces Round 1011 (Div. 2) {2085} PROGRAMMING 1750.0 Codeforces Round #1011 (Div. 2) Editorial
753 Serval and Colorful Array (Easy Version) data structures greedy Statement F1 Codeforces Round 1011 (Div. 2) {2085} PROGRAMMING 2000.0 Codeforces Round #1011 (Div. 2) Editorial
514 Serval and Colorful Array (Hard Version) data structures greedy Statement F2 Codeforces Round 1011 (Div. 2) {2085} PROGRAMMING 1000.0 Codeforces Round #1011 (Div. 2) Editorial
18937 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
16043 Disappearing Permutation dfs and similar dsu graphs greedy implementation Statement C Educational Codeforces Round 177 (Rated for Div. 2) {2086} PROGRAMMING Educational Codeforces Round 177 Editorial
488 Coin Game *special greedy Statement C Kotlin Heroes: Episode 12 {2087} PROGRAMMING 141608
89 Esports in Berland *special *special greedy greedy Statement G Kotlin Heroes: Episode 12 {2087} PROGRAMMING 141608
3203 Canteen (Easy Version) binary search data structures flows greedy two pointers Statement B1 Codeforces Round 1012 (Div. 1) {2089} PROGRAMMING 1000.0 Codeforces Round 1012 (Div.1, Div. 2, based on THUPC 2025 — Finals) Editorial
1269 Canteen (Hard Version) binary search data structures greedy math two pointers Statement B2 Codeforces Round 1012 (Div. 1) {2089} PROGRAMMING 500.0 Codeforces Round 1012 (Div.1, Div. 2, based on THUPC 2025 — Finals) Editorial
6248 Dining Hall greedy implementation sortings sortings Statement C Codeforces Round 1012 (Div. 2) {2090} PROGRAMMING 1750.0 Codeforces Round 1012 (Div.1, Div. 2, based on THUPC 2025 — Finals) Editorial
23309 Place of the Olympiad binary search greedy math Statement D Codeforces Round 1013 (Div. 3) {2091} PROGRAMMING Codeforces Round 1013 (Div. 3) Editorial
1492 Gleb and Boating brute force constructive algorithms data structures dp graphs greedy math shortest paths Statement G Codeforces Round 1013 (Div. 3) {2091} PROGRAMMING Codeforces Round 1013 (Div. 3) Editorial
28625 Combination Lock constructive algorithms greedy Statement C Codeforces Round 1013 (Div. 3) {2091} PROGRAMMING Codeforces Round 1013 (Div. 3) Editorial
32474 Team Training dp greedy sortings Statement B Codeforces Round 1013 (Div. 3) {2091} PROGRAMMING Codeforces Round 1013 (Div. 3) Editorial
38818 Olympiad Date greedy strings Statement A Codeforces Round 1013 (Div. 3) {2091} PROGRAMMING Codeforces Round 1013 (Div. 3) Editorial
6827 Mishkin Energizer brute force constructive algorithms greedy implementation strings Statement D Codeforces Round 1014 (Div. 2) {2092} PROGRAMMING 1750.0 Codeforces Round #1014 (Div. 2) Editorial
428 Andryusha and CCB brute force constructive algorithms greedy math number theory strings Statement F Codeforces Round 1014 (Div. 2) {2092} PROGRAMMING 3000.0 Codeforces Round #1014 (Div. 2) Editorial
22477 Asuna and the Mosquitoes constructive algorithms greedy math Statement C Codeforces Round 1014 (Div. 2) {2092} PROGRAMMING 1250.0 Codeforces Round #1014 (Div. 2) Editorial
28254 Kamilka and the Sheep greedy implementation math sortings Statement A Codeforces Round 1014 (Div. 2) {2092} PROGRAMMING 500.0 Codeforces Round #1014 (Div. 2) Editorial
3770 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
13359 Min Max MEX binary search brute force greedy Statement E Codeforces Round 1016 (Div. 3) {2093} PROGRAMMING Codeforces Round 1016 (Div. 3) Editorial
5856 Hackers and Neural Networks bitmasks brute force greedy Statement F Codeforces Round 1016 (Div. 3) {2093} PROGRAMMING Codeforces Round 1016 (Div. 3) Editorial
30729 Expensive Number greedy math Statement B Codeforces Round 1016 (Div. 3) {2093} PROGRAMMING Codeforces Round 1016 (Div. 3) Editorial
23743 Tung Tung Sahur greedy strings two pointers Statement D Codeforces Round 1017 (Div. 4) {2094} PROGRAMMING Codeforces Round 1017 (Div. 4) Editorial
20461 Wonderful Sticks constructive algorithms greedy Statement A Neowise Labs Contest 1 (Codeforces Round 1018, Div. 1 + Div. 2) {2096} PROGRAMMING 500.0 Neowise Labs Contest 1 (Codeforces Round 1018, Div. 1 + Div. 2) Editorial
2028 Wonderful Teddy Bears greedy implementation sortings Statement E Neowise Labs Contest 1 (Codeforces Round 1018, Div. 1 + Div. 2) {2096} PROGRAMMING 2000.0 Neowise Labs Contest 1 (Codeforces Round 1018, Div. 1 + Div. 2) Editorial
16491 Wonderful Gloves greedy math sortings Statement B Neowise Labs Contest 1 (Codeforces Round 1018, Div. 1 + Div. 2) {2096} PROGRAMMING 750.0 Neowise Labs Contest 1 (Codeforces Round 1018, Div. 1 + Div. 2) Editorial
14681 Vadim's Collection brute force greedy Statement A Codeforces Round 1021 (Div. 2) {2098} PROGRAMMING 500.0 142316
2251 23 Kingdom binary search data structures greedy ternary search two pointers Statement C Codeforces Round 1024 (Div. 1) {2101} PROGRAMMING 2000.0 142788
270 Kia Bakes a Cake data structures dp graphs greedy Statement E Codeforces Round 1024 (Div. 1) {2101} PROGRAMMING 3250.0 142788
6740 Quartet Swapping data structures greedy sortings Statement B Codeforces Round 1024 (Div. 1) {2101} PROGRAMMING 1250.0 142788
24865 Common Multiple brute force greedy math Statement A Codeforces Round 1019 (Div. 2) {2103} PROGRAMMING 500.0 142149
10479 Median Splits dp greedy Statement C Codeforces Round 1019 (Div. 2) {2103} PROGRAMMING 1500.0 142149
17611 Binary Typewriter greedy math Statement B Codeforces Round 1019 (Div. 2) {2103} PROGRAMMING 1000.0 142149
8005 Unpleasant Strings binary search data structures dp greedy strings Statement E Educational Codeforces Round 178 (Rated for Div. 2) {2104} PROGRAMMING Educational Codeforces Round 178 Editorial
13108 Array and GCD binary search greedy math number theory Statement D Educational Codeforces Round 178 (Rated for Div. 2) {2104} PROGRAMMING Educational Codeforces Round 178 Editorial
20608 Move to the End brute force data structures dp greedy Statement B Educational Codeforces Round 178 (Rated for Div. 2) {2104} PROGRAMMING Educational Codeforces Round 178 Editorial
17271 Card Game brute force games greedy math Statement C Educational Codeforces Round 178 (Rated for Div. 2) {2104} PROGRAMMING Educational Codeforces Round 178 Editorial
12196 Flower Boy binary search dp greedy two pointers Statement D Codeforces Round 1020 (Div. 3) {2106} PROGRAMMING Codeforces Round 1020 (Div. 3) Editorial
5903 Wolf binary search greedy math Statement E Codeforces Round 1020 (Div. 3) {2106} PROGRAMMING Codeforces Round 1020 (Div. 3) Editorial
28287 St. Chroma constructive algorithms greedy math Statement B Codeforces Round 1020 (Div. 3) {2106} PROGRAMMING Codeforces Round 1020 (Div. 3) Editorial
4402 Goblin dp dsu greedy math Statement F Codeforces Round 1020 (Div. 3) {2106} PROGRAMMING Codeforces Round 1020 (Div. 3) Editorial
25501 Cherry Bomb greedy math sortings Statement C Codeforces Round 1020 (Div. 3) {2106} PROGRAMMING Codeforces Round 1020 (Div. 3) Editorial
497 Cycling (Hard Version) binary search data structures dp geometry greedy Statement F2 Codeforces Round 1023 (Div. 2) {2107} PROGRAMMING 2500.0 Codeforces Round 1023 (Div 2) Editorial
3520 Apple Tree Traversing brute force dfs and similar greedy implementation trees Statement D Codeforces Round 1023 (Div. 2) {2107} PROGRAMMING 2000.0 Codeforces Round 1023 (Div 2) Editorial
924 Ain and Apple Tree constructive algorithms greedy math trees Statement E Codeforces Round 1023 (Div. 2) {2107} PROGRAMMING 2750.0 Codeforces Round 1023 (Div 2) Editorial
1810 Cycling (Easy Version) dp greedy Statement F1 Codeforces Round 1023 (Div. 2) {2107} PROGRAMMING 2250.0 Codeforces Round 1023 (Div 2) Editorial
19652 Apples in Boxes games greedy math Statement B Codeforces Round 1023 (Div. 2) {2107} PROGRAMMING 750.0 Codeforces Round 1023 (Div 2) Editorial
22136 LRC and VIP greedy number theory Statement A Codeforces Round 1023 (Div. 2) {2107} PROGRAMMING 250.0 Codeforces Round 1023 (Div 2) Editorial
539 Fallen Towers binary search greedy Statement F Codeforces Round 1022 (Div. 2) {2108} PROGRAMMING 3250.0 Codeforces Round 1022 Editorial
14479 SUMdamental Decomposition bitmasks constructive algorithms greedy implementation math Statement B Codeforces Round 1022 (Div. 2) {2108} PROGRAMMING 1250.0 Codeforces Round 1022 Editorial
22088 Permutation Warm-Up combinatorics greedy math number theory Statement A Codeforces Round 1022 (Div. 2) {2108} PROGRAMMING 500.0 Codeforces Round 1022 Editorial
14566 Neo's Escape data structures dsu graphs greedy implementation Statement C Codeforces Round 1022 (Div. 2) {2108} PROGRAMMING 1500.0 Codeforces Round 1022 Editorial
17232 Slice to Survive bitmasks greedy Statement B Codeforces Round 1025 (Div. 2) {2109} PROGRAMMING 1000.0 Codeforces Round 1025 (Div. 2) Editorial
5560 D/D/D dfs and similar graphs greedy shortest paths Statement D Codeforces Round 1025 (Div. 2) {2109} PROGRAMMING 1750.0 Codeforces Round 1025 (Div. 2) Editorial
8529 Fewer Batteries binary search dfs and similar dp graphs greedy Statement D Codeforces Round 1026 (Div. 2) {2110} PROGRAMMING 2000.0 Codeforces Round 1026 (Div. 2) Editorial
15735 Racing constructive algorithms dp greedy Statement C Codeforces Round 1026 (Div. 2) {2110} PROGRAMMING 1500.0 Codeforces Round 1026 (Div. 2) Editorial
5391 Changing the String binary search data structures greedy implementation sortings strings Statement E Educational Codeforces Round 179 (Rated for Div. 2) {2111} PROGRAMMING Educational Codeforces Round 179 Editorial
1400 Puzzle brute force constructive algorithms greedy math Statement F Educational Codeforces Round 179 (Rated for Div. 2) {2111} PROGRAMMING Educational Codeforces Round 179 Editorial
11909 Creating a Schedule constructive algorithms data structures greedy sortings Statement D Educational Codeforces Round 179 (Rated for Div. 2) {2111} PROGRAMMING Educational Codeforces Round 179 Editorial
20653 Energy Crystals greedy implementation math Statement A Educational Codeforces Round 179 (Rated for Div. 2) {2111} PROGRAMMING Educational Codeforces Round 179 Editorial
17602 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
20984 Shrinking Array brute force greedy Statement B Educational Codeforces Round 180 (Rated for Div. 2) {2112} PROGRAMMING Educational Codeforces Round 180 — Editorial
626 Variables and Operations graphs greedy shortest paths Statement F Educational Codeforces Round 180 (Rated for Div. 2) {2112} PROGRAMMING Educational Codeforces Round 180 — Editorial
2859 Cheater binary search constructive algorithms data structures greedy Statement D Codeforces Round 1031 (Div. 2) {2113} PROGRAMMING 1750.0 Codeforces Round #1031 Editorial
7930 Smilo and Minecraft brute force constructive algorithms dp greedy Statement C Codeforces Round 1031 (Div. 2) {2113} PROGRAMMING 1250.0 Codeforces Round #1031 Editorial
20428 Shashliks greedy math Statement A Codeforces Round 1031 (Div. 2) {2113} PROGRAMMING 500.0 Codeforces Round #1031 Editorial
14575 Come a Little Closer brute force greedy implementation math Statement D Codeforces Round 1027 (Div. 3) {2114} PROGRAMMING 143268
30766 Need More Arrays greedy greedy greedy Statement C Codeforces Round 1027 (Div. 3) {2114} PROGRAMMING 143268
30400 Not Quite a Palindromic String greedy greedy math math Statement B Codeforces Round 1027 (Div. 3) {2114} PROGRAMMING 143268
14807 Gellyfish and Flaming Peony brute force constructive algorithms dp greedy math number theory shortest paths Statement A Codeforces Round 1028 (Div. 1) {2115} PROGRAMMING 500.0 Codeforces Round 1028 (Div.1, Div.2) Editorial
903 Gellyfish and Eternal Violet combinatorics dp greedy math meet-in-the-middle probabilities Statement C Codeforces Round 1028 (Div. 1) {2115} PROGRAMMING 1750.0 Codeforces Round 1028 (Div.1, Div.2) Editorial
3945 Gellyfish and Camellia Japonica constructive algorithms dfs and similar dp graphs greedy Statement B Codeforces Round 1028 (Div. 1) {2115} PROGRAMMING 1250.0 Codeforces Round 1028 (Div.1, Div.2) Editorial
26855 Gellyfish and Tricolor Pansy greedy Statement A Codeforces Round 1028 (Div. 2) {2116} PROGRAMMING 500.0 Codeforces Round 1028 (Div.1, Div.2) Editorial