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 14 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
19382 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
29074 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
2397 Card Game combinatorics dp fft greedy math Statement E Educational Codeforces Round 170 (Rated for Div. 2) {2025} PROGRAMMING Educational Codeforces Round 170 Editorial
1081 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
16775 Black Cells binary search brute force greedy Statement B Educational Codeforces Round 171 (Rated for Div. 2) {2026} PROGRAMMING Educational Codeforces Round 171 Editorial
12887 Action Figures data structures greedy Statement C Educational Codeforces Round 171 (Rated for Div. 2) {2026} PROGRAMMING Educational Codeforces Round 171 Editorial
1935 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
7121 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
17956 Stalin Sort brute force greedy Statement B Codeforces Round 982 (Div. 2) {2027} PROGRAMMING 1000.0 Codeforces Round #982 (Div. 2) Editorial
10217 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
3814 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
1975 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
7812 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
14282 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
3591 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
865 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
169 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
11962 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
1209 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
27765 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
20121 A TRUE Battle brute force games greedy Statement C Codeforces Round 979 (Div. 2) {2030} PROGRAMMING 1000.0 Codeforces Round 979 Editorial
10040 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
2751 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
21202 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
21071 Penchick and Satay Sticks greedy sortings Statement B Codeforces Round 987 (Div. 2) {2031} PROGRAMMING 1000.0 Codeforces Round 987 (Div. 2) Editorial
21027 Medians constructive algorithms greedy hashing implementation math Statement B Codeforces Round 983 (Div. 2) {2032} PROGRAMMING 750.0 Codeforces Round 983 (Div. 2) Editorial
24902 Circuit greedy implementation math number theory Statement A Codeforces Round 983 (Div. 2) {2032} PROGRAMMING 500.0 Codeforces Round 983 (Div. 2) Editorial
18189 Sakurako's Field Trip binary search dp greedy Statement C Codeforces Round 981 (Div. 3) {2033} PROGRAMMING 135520
14454 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
29237 Sakurako and Water constructive algorithms greedy Statement B Codeforces Round 981 (Div. 3) {2033} PROGRAMMING 135520
18498 Kousuke's Assignment dp dsu greedy math Statement D Codeforces Round 981 (Div. 3) {2033} PROGRAMMING 135520
2048 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
6774 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
16045 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
80 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
83 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
5900 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
20872 Everyone Loves Tres constructive algorithms greedy math number theory Statement B Codeforces Global Round 27 {2035} PROGRAMMING 500.0 Codeforces Global Round 27 Editorial
9775 Reverse the Rivers binary search greedy Statement E Codeforces Round 984 (Div. 3) {2036} PROGRAMMING Codeforces Round 984 (Div. 3) Editorial
29976 Startup greedy sortings Statement B Codeforces Round 984 (Div. 3) {2036} PROGRAMMING Codeforces Round 984 (Div. 3) Editorial
25941 Superultra's Favorite Permutation constructive algorithms greedy math number theory Statement C Codeforces Round 988 (Div. 3) {2037} PROGRAMMING Video Tutorial
14986 Sharky Surfing data structures greedy two pointers Statement D Codeforces Round 988 (Div. 3) {2037} PROGRAMMING Video Tutorial
7565 Kachina's Favorite Binary String greedy interactive two pointers Statement E Codeforces Round 988 (Div. 3) {2037} PROGRAMMING Video Tutorial
8317 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
5592 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
7168 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
1958 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
1806 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
157 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
8870 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
17569 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)
7137 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)
5933 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
2747 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
24473 Paint a Strip constructive algorithms greedy math Statement B Codeforces Round 992 (Div. 2) {2040} PROGRAMMING 1000.0 Codeforces Round #992 (Div.2) Editorial
11012 Ordered Permutations constructive algorithms greedy math Statement C Codeforces Round 992 (Div. 2) {2040} PROGRAMMING 1500.0 Codeforces Round #992 (Div.2) Editorial
271 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)
1358 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)
534 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
19733 Game with Colored Marbles games greedy Statement B Educational Codeforces Round 172 (Rated for Div. 2) {2042} PROGRAMMING 136886
21001 Greedy Monocarp greedy sortings Statement A Educational Codeforces Round 172 (Rated for Div. 2) {2042} PROGRAMMING 136886
8822 Competitive Fishing greedy sortings Statement C Educational Codeforces Round 172 (Rated for Div. 2) {2042} PROGRAMMING 136886
11466 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
18438 Insane Problem binary search greedy implementation math Statement E Codeforces Round 993 (Div. 4) {2044} PROGRAMMING Codeforces Round 993 (Div. 4) Editorial
24466 Harder Problem constructive algorithms greedy math Statement D Codeforces Round 993 (Div. 4) {2044} PROGRAMMING Codeforces Round 993 (Div. 4) Editorial
45959 Hard Problem greedy math Statement C Codeforces Round 993 (Div. 4) {2044} PROGRAMMING Codeforces Round 993 (Div. 4) Editorial
7489 Saraga greedy strings Statement C 2024-2025 ICPC Asia Jakarta Regional Contest (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2045} PROGRAMMING raRzKDJLPHcUnqTcwvGznwEdKiDWjEkd.pdf 1400
2649 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
11147 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)
142 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)
109 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)
235 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)
95 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)
17095 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)
19563 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)
8494 Kevin and Competition Memories binary search data structures greedy sortings two pointers Statement D Codeforces Global Round 28 {2048} PROGRAMMING 1250.0 Tutorial
15409 Kevin and Binary Strings bitmasks brute force greedy strings Statement C Codeforces Global Round 28 {2048} PROGRAMMING 1000.0 Tutorial
3572 Kevin and Bipartite Graph constructive algorithms graphs greedy Statement E Codeforces Global Round 28 {2048} PROGRAMMING 1750.0 Tutorial
20905 Kevin and Permutation constructive algorithms greedy Statement B Codeforces Global Round 28 {2048} PROGRAMMING 500.0 Tutorial
13904 MEX Cycle constructive algorithms greedy implementation Statement C Codeforces Round 994 (Div. 2) {2049} PROGRAMMING 1000.0 Codeforces Round #994 (Div. 2) Editorial
24289 MEX Destruction greedy implementation Statement A Codeforces Round 994 (Div. 2) {2049} PROGRAMMING 500.0 Codeforces Round #994 (Div. 2) Editorial
27595 Transfusion brute force greedy math Statement B Codeforces Round 991 (Div. 3) {2050} PROGRAMMING Разбор Codeforces Round 991 (Div. 3)
19360 Digital string maximization brute force greedy math strings Statement D Codeforces Round 991 (Div. 3) {2050} PROGRAMMING Разбор Codeforces Round 991 (Div. 3)
5520 Tree Destruction dfs and similar dp greedy trees Statement G Codeforces Round 991 (Div. 3) {2050} PROGRAMMING Разбор Codeforces Round 991 (Div. 3)
12254 Best Price brute force data structures greedy sortings Statement E Codeforces Round 995 (Div. 3) {2051} PROGRAMMING 137623
35471 Preparing for the Olympiad greedy Statement A Codeforces Round 995 (Div. 3) {2051} PROGRAMMING 137623
4067 Joker greedy math Statement F Codeforces Round 995 (Div. 3) {2051} PROGRAMMING 137623
1571 Judicious Watching binary search greedy Statement J 2024-2025 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2052} PROGRAMMING
17214 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
7807 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
228 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
109 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
959 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
565 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
4418 Scarecrow binary search greedy Statement D Codeforces Round 996 (Div. 2) {2055} PROGRAMMING 2250.0 Codeforces Round 996 (Div. 2) Editorial
495 Haystacks constructive algorithms data structures greedy Statement E Codeforces Round 996 (Div. 2) {2055} PROGRAMMING 3000.0 Codeforces Round 996 (Div. 2) Editorial
33922 Two Frogs constructive algorithms games greedy Statement A Codeforces Round 996 (Div. 2) {2055} PROGRAMMING 500.0 Codeforces Round 996 (Div. 2) Editorial
17524 The Trail constructive algorithms greedy math Statement C Codeforces Round 996 (Div. 2) {2055} PROGRAMMING 1500.0 Codeforces Round 996 (Div. 2) Editorial
27639 Crafting greedy sortings Statement B Codeforces Round 996 (Div. 2) {2055} PROGRAMMING 1000.0 Codeforces Round 996 (Div. 2) Editorial
14045 Trip to the Olympiad bitmasks constructive algorithms greedy math Statement C Hello 2025 {2057} PROGRAMMING 1500.0
27716 MEX Table constructive algorithms greedy Statement A Hello 2025 {2057} PROGRAMMING 500.0
189 Coffee Break data structures greedy greedy math Statement H Hello 2025 {2057} PROGRAMMING 4500.0
5531 Gifts Order data structures greedy math Statement D Hello 2025 {2057} PROGRAMMING 2250.0
23595 Gorilla and the Exam greedy sortings Statement B Hello 2025 {2057} PROGRAMMING 1000.0
12811 Customer Service brute force constructive algorithms graph matchings greedy math sortings Statement C Codeforces Round 1002 (Div. 2) {2059} PROGRAMMING 1500.0 139094
904 Stop Gaming (Easy Version) brute force constructive algorithms greedy hashing Statement E1 Codeforces Round 1002 (Div. 2) {2059} PROGRAMMING 1500.0 139094
19084 Cost of the Array brute force constructive algorithms greedy math Statement B Codeforces Round 1002 (Div. 2) {2059} PROGRAMMING 1000.0 139094
29387 Milya and Two Arrays constructive algorithms greedy sortings Statement A Codeforces Round 1002 (Div. 2) {2059} PROGRAMMING 500.0 139094
6712 Graph and Graph data structures graphs greedy shortest paths Statement D Codeforces Round 1002 (Div. 2) {2059} PROGRAMMING 2000.0 139094
12629 Graph Composition dfs and similar dsu graphs greedy Statement E Codeforces Round 998 (Div. 3) {2060} PROGRAMMING Codeforces Round 998 (Div. 3) Editorial
1327 Bugged Sort dp greedy sortings Statement G Codeforces Round 998 (Div. 3) {2060} PROGRAMMING Codeforces Round 998 (Div. 3) Editorial
32692 Game of Mathletes games greedy sortings two pointers Statement C Codeforces Round 998 (Div. 3) {2060} PROGRAMMING Codeforces Round 998 (Div. 3) Editorial
26587 Subtract Min Sort greedy Statement D Codeforces Round 998 (Div. 3) {2060} PROGRAMMING Codeforces Round 998 (Div. 3) Editorial
28962 Farmer John's Card Game greedy sortings Statement B Codeforces Round 998 (Div. 3) {2060} PROGRAMMING Codeforces Round 998 (Div. 3) Editorial
2297 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
4062 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
14926 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
11018 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
22471 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
3601 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
630 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
24083 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
28501 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
5129 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
15009 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
2411 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
23517 Subsequence Update greedy sortings Statement B Codeforces Round 1000 (Div. 2) {2063} PROGRAMMING 1000.0 Codeforces Round 1000 (Div. 2) — Editorial
5980 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
18096 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
20397 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
27282 Brogramming Contest greedy strings Statement A Codeforces Round 1005 (Div. 2) {2064} PROGRAMMING 500.0 Codeforces Round 1005 (Div. 2) Editorial
28285 Skibidus and Fanum Tax (easy version) binary search greedy Statement C1 Codeforces Round 1003 (Div. 4) {2065} PROGRAMMING Video Tutorial
19170 Skibidus and Fanum Tax (hard version) binary search greedy Statement C2 Codeforces Round 1003 (Div. 4) {2065} PROGRAMMING Video Tutorial
12274 Skibidus and Rizz constructive algorithms greedy Statement E Codeforces Round 1003 (Div. 4) {2065} PROGRAMMING Video Tutorial
7315 Skibidus and Slay data structures dfs and similar graphs greedy trees Statement F Codeforces Round 1003 (Div. 4) {2065} PROGRAMMING Video Tutorial
5568 White Magic constructive algorithms greedy implementation Statement B Codeforces Round 1004 (Div. 1) {2066} PROGRAMMING 750.0 139415
427 Tropical Season data structures greedy implementation Statement E Codeforces Round 1004 (Div. 1) {2066} PROGRAMMING 2000.0 139415
12990 Devyatkino brute force dp greedy math Statement C Codeforces Round 1004 (Div. 2) {2067} PROGRAMMING 1250.0
19362 Two Large Bags dp greedy sortings Statement B Codeforces Round 1004 (Div. 2) {2067} PROGRAMMING 1000.0
1683 Ads binary search greedy two pointers Statement C European Championship 2025 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {2068} PROGRAMMING 140239
1540 Mascot Naming brute force greedy strings Statement F European Championship 2025 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {2068} PROGRAMMING 140239
1645 The Ultimate Wine Tasting Event combinatorics greedy Statement J European Championship 2025 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {2068} PROGRAMMING 140239
412 Statues constructive algorithms greedy Statement H European Championship 2025 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {2068} PROGRAMMING 140239
270 Morse Code dp greedy sortings trees Statement D European Championship 2025 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {2068} PROGRAMMING 140239
7202 Palindrome Shuffle binary search greedy hashing strings two pointers Statement D Educational Codeforces Round 174 (Rated for Div. 2) {2069} PROGRAMMING 139774
26727 Was there an Array? brute force greedy Statement A Educational Codeforces Round 174 (Rated for Div. 2) {2069} PROGRAMMING 139774
15203 Beautiful Sequence combinatorics dp greedy Statement C Educational Codeforces Round 174 (Rated for Div. 2) {2069} PROGRAMMING 139774
1949 A, B, AB and BA constructive algorithms greedy sortings strings Statement E Educational Codeforces Round 174 (Rated for Div. 2) {2069} PROGRAMMING 139774
19108 Set of Strangers greedy matrices Statement B Educational Codeforces Round 174 (Rated for Div. 2) {2069} PROGRAMMING 139774
14208 Limited Repainting binary search greedy Statement C Educational Codeforces Round 175 (Rated for Div. 2) {2070} PROGRAMMING Video Tutorial
1903 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
21237 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
12606 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
19921 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
17958 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
41122 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
22289 XOR and Triangle binary search bitmasks brute force greedy Statement C Codeforces Round 1009 (Div. 3) {2074} PROGRAMMING Codeforces Round 1009 (Div. 3) — Editorial
2226 Game With Triangles: Season 2 dp greedy Statement G Codeforces Round 1009 (Div. 3) {2074} PROGRAMMING Codeforces Round 1009 (Div. 3) — Editorial
35225 The Third Side greedy math Statement B Codeforces Round 1009 (Div. 3) {2074} PROGRAMMING Codeforces Round 1009 (Div. 3) — Editorial
5968 Equalization bitmasks brute force dp greedy math Statement D Educational Codeforces Round 176 (Rated for Div. 2) {2075} PROGRAMMING Educational Codeforces Round 176 Editorial
19220 Array Recoloring greedy Statement B Educational Codeforces Round 176 (Rated for Div. 2) {2075} PROGRAMMING Educational Codeforces Round 176 Editorial
28110 To Zero greedy math Statement A Educational Codeforces Round 176 (Rated for Div. 2) {2075} PROGRAMMING Educational Codeforces Round 176 Editorial
14898 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
18572 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
6682 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
23458 Final Verdict greedy math Statement A Codeforces Round 1008 (Div. 2) {2078} PROGRAMMING 500.0 Codeforces Round 1008 (Div. 1, Div. 2) Editorial
161 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
371 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
1224 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
1016 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
9089 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
517 Skyscape constructive algorithms data structures greedy Statement F Teza Round 1 (Codeforces Round 1015, Div. 1 + Div. 2) {2084} PROGRAMMING 3000.0 141155
11978 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
767 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
17037 MIN = GCD greedy math Statement B Teza Round 1 (Codeforces Round 1015, Div. 1 + Div. 2) {2084} PROGRAMMING 1000.0 141155
13962 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
5445 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
809 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
533 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
19329 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
16451 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
490 Coin Game *special greedy Statement C Kotlin Heroes: Episode 12 {2087} PROGRAMMING 141608
90 Esports in Berland *special *special greedy greedy Statement G Kotlin Heroes: Episode 12 {2087} PROGRAMMING 141608
3297 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
1307 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
6480 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
23981 Place of the Olympiad binary search greedy math Statement D Codeforces Round 1013 (Div. 3) {2091} PROGRAMMING Codeforces Round 1013 (Div. 3) Editorial
1557 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
29319 Combination Lock constructive algorithms greedy Statement C Codeforces Round 1013 (Div. 3) {2091} PROGRAMMING Codeforces Round 1013 (Div. 3) Editorial
33072 Team Training dp greedy sortings Statement B Codeforces Round 1013 (Div. 3) {2091} PROGRAMMING Codeforces Round 1013 (Div. 3) Editorial
39423 Olympiad Date greedy strings Statement A Codeforces Round 1013 (Div. 3) {2091} PROGRAMMING Codeforces Round 1013 (Div. 3) Editorial
6988 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
437 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
23054 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
28674 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
3945 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
13798 Min Max MEX binary search brute force greedy Statement E Codeforces Round 1016 (Div. 3) {2093} PROGRAMMING Codeforces Round 1016 (Div. 3) Editorial
5983 Hackers and Neural Networks bitmasks brute force greedy Statement F Codeforces Round 1016 (Div. 3) {2093} PROGRAMMING Codeforces Round 1016 (Div. 3) Editorial
31371 Expensive Number greedy math Statement B Codeforces Round 1016 (Div. 3) {2093} PROGRAMMING Codeforces Round 1016 (Div. 3) Editorial
24446 Tung Tung Sahur greedy strings two pointers Statement D Codeforces Round 1017 (Div. 4) {2094} PROGRAMMING Codeforces Round 1017 (Div. 4) Editorial
20750 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
2086 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
16888 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
14898 Vadim's Collection brute force greedy Statement A Codeforces Round 1021 (Div. 2) {2098} PROGRAMMING 500.0 142316
3381 23 Kingdom binary search data structures greedy ternary search two pointers Statement C Codeforces Round 1024 (Div. 1) {2101} PROGRAMMING 2000.0 142788
1576 Kia Bakes a Cake data structures dp graphs greedy Statement E Codeforces Round 1024 (Div. 1) {2101} PROGRAMMING 3250.0 142788
7612 Quartet Swapping data structures greedy sortings Statement B Codeforces Round 1024 (Div. 1) {2101} PROGRAMMING 1250.0 142788
25175 Common Multiple brute force greedy math Statement A Codeforces Round 1019 (Div. 2) {2103} PROGRAMMING 500.0 142149
10926 Median Splits dp greedy Statement C Codeforces Round 1019 (Div. 2) {2103} PROGRAMMING 1500.0 142149
17984 Binary Typewriter greedy math Statement B Codeforces Round 1019 (Div. 2) {2103} PROGRAMMING 1000.0 142149
8319 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
13622 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
21217 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
17723 Card Game brute force games greedy math Statement C Educational Codeforces Round 178 (Rated for Div. 2) {2104} PROGRAMMING Educational Codeforces Round 178 Editorial
12583 Flower Boy binary search dp greedy two pointers Statement D Codeforces Round 1020 (Div. 3) {2106} PROGRAMMING Codeforces Round 1020 (Div. 3) Editorial
6072 Wolf binary search greedy math Statement E Codeforces Round 1020 (Div. 3) {2106} PROGRAMMING Codeforces Round 1020 (Div. 3) Editorial
28827 St. Chroma constructive algorithms greedy math Statement B Codeforces Round 1020 (Div. 3) {2106} PROGRAMMING Codeforces Round 1020 (Div. 3) Editorial
4525 Goblin dp dsu greedy math Statement F Codeforces Round 1020 (Div. 3) {2106} PROGRAMMING Codeforces Round 1020 (Div. 3) Editorial
26126 Cherry Bomb greedy math sortings Statement C Codeforces Round 1020 (Div. 3) {2106} PROGRAMMING Codeforces Round 1020 (Div. 3) Editorial
561 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
3615 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
956 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
1874 Cycling (Easy Version) dp greedy Statement F1 Codeforces Round 1023 (Div. 2) {2107} PROGRAMMING 2250.0 Codeforces Round 1023 (Div 2) Editorial
20163 Apples in Boxes games greedy math Statement B Codeforces Round 1023 (Div. 2) {2107} PROGRAMMING 750.0 Codeforces Round 1023 (Div 2) Editorial
22401 LRC and VIP greedy number theory Statement A Codeforces Round 1023 (Div. 2) {2107} PROGRAMMING 250.0 Codeforces Round 1023 (Div 2) Editorial
563 Fallen Towers binary search greedy Statement F Codeforces Round 1022 (Div. 2) {2108} PROGRAMMING 3250.0 Codeforces Round 1022 Editorial
14852 SUMdamental Decomposition bitmasks constructive algorithms greedy implementation math Statement B Codeforces Round 1022 (Div. 2) {2108} PROGRAMMING 1250.0 Codeforces Round 1022 Editorial
22329 Permutation Warm-Up combinatorics greedy math number theory Statement A Codeforces Round 1022 (Div. 2) {2108} PROGRAMMING 500.0 Codeforces Round 1022 Editorial
15108 Neo's Escape data structures dsu graphs greedy implementation Statement C Codeforces Round 1022 (Div. 2) {2108} PROGRAMMING 1500.0 Codeforces Round 1022 Editorial
17727 Slice to Survive bitmasks greedy Statement B Codeforces Round 1025 (Div. 2) {2109} PROGRAMMING 1000.0 Codeforces Round 1025 (Div. 2) Editorial
5828 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
8810 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
16190 Racing constructive algorithms dp greedy Statement C Codeforces Round 1026 (Div. 2) {2110} PROGRAMMING 1500.0 Codeforces Round 1026 (Div. 2) Editorial
5487 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
1452 Puzzle brute force constructive algorithms greedy math Statement F Educational Codeforces Round 179 (Rated for Div. 2) {2111} PROGRAMMING Educational Codeforces Round 179 Editorial
12312 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
20884 Energy Crystals greedy implementation math Statement A Educational Codeforces Round 179 (Rated for Div. 2) {2111} PROGRAMMING Educational Codeforces Round 179 Editorial
18129 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
21495 Shrinking Array brute force greedy Statement B Educational Codeforces Round 180 (Rated for Div. 2) {2112} PROGRAMMING Educational Codeforces Round 180 — Editorial
659 Variables and Operations graphs greedy shortest paths Statement F Educational Codeforces Round 180 (Rated for Div. 2) {2112} PROGRAMMING Educational Codeforces Round 180 — Editorial
2954 Cheater binary search constructive algorithms data structures greedy Statement D Codeforces Round 1031 (Div. 2) {2113} PROGRAMMING 1750.0 Codeforces Round #1031 Editorial
8208 Smilo and Minecraft brute force constructive algorithms dp greedy Statement C Codeforces Round 1031 (Div. 2) {2113} PROGRAMMING 1250.0 Codeforces Round #1031 Editorial
20706 Shashliks greedy math Statement A Codeforces Round 1031 (Div. 2) {2113} PROGRAMMING 500.0 Codeforces Round #1031 Editorial
14958 Come a Little Closer brute force greedy implementation math Statement D Codeforces Round 1027 (Div. 3) {2114} PROGRAMMING 143268
31513 Need More Arrays greedy greedy greedy Statement C Codeforces Round 1027 (Div. 3) {2114} PROGRAMMING 143268
31034 Not Quite a Palindromic String greedy greedy math math Statement B Codeforces Round 1027 (Div. 3) {2114} PROGRAMMING 143268
15976 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
1234 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
4583 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
27195 Gellyfish and Tricolor Pansy greedy Statement A Codeforces Round 1028 (Div. 2) {2116} PROGRAMMING 500.0 Codeforces Round 1028 (Div.1, Div.2) Editorial