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 ... 42 43 44 45 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
26263 Circle of Apple Trees greedy Statement A Codeforces Round 1057 (Div. 2) {2153} PROGRAMMING 500.0 Codeforces Round 1057 (Div. 2) Editorial
22499 Bitwise Reversion bitmasks Statement B Codeforces Round 1057 (Div. 2) {2153} PROGRAMMING 750.0 Codeforces Round 1057 (Div. 2) Editorial
23043 Notelock greedy two pointers Statement A Codeforces Round 1060 (Div. 2) {2154} PROGRAMMING 500.0 Codeforces Round 1060 (Div. 2) Editorial
1195 No Mind To Think binary search greedy sortings ternary search two pointers Statement E Codeforces Round 1060 (Div. 2) {2154} PROGRAMMING 2500.0 Codeforces Round 1060 (Div. 2) Editorial
5467 No Cost Too Great (Hard Version) greedy math number theory Statement C2 Codeforces Round 1060 (Div. 2) {2154} PROGRAMMING 1000.0 Codeforces Round 1060 (Div. 2) Editorial
13422 No Cost Too Great (Easy Version) greedy implementation math number theory Statement C1 Codeforces Round 1060 (Div. 2) {2154} PROGRAMMING 1250.0 Codeforces Round 1060 (Div. 2) Editorial
19674 Make it Zigzag constructive algorithms greedy Statement B Codeforces Round 1060 (Div. 2) {2154} PROGRAMMING 1000.0 Codeforces Round 1060 (Div. 2) Editorial
4726 Catshock constructive algorithms dfs and similar graphs trees Statement D Codeforces Round 1060 (Div. 2) {2154} PROGRAMMING 1750.0 Codeforces Round 1060 (Div. 2) Editorial
173 Bombing (Hard Version) combinatorics dp Statement F2 Codeforces Round 1060 (Div. 2) {2154} PROGRAMMING 1750.0 Codeforces Round 1060 (Div. 2) Editorial
552 Bombing (Easy Version) combinatorics dp Statement F1 Codeforces Round 1060 (Div. 2) {2154} PROGRAMMING 2250.0 Codeforces Round 1060 (Div. 2) Editorial
10177 The Ancient Wizards' Capes brute force dp implementation Statement C Codeforces Round 1056 (Div. 2) {2155} PROGRAMMING 1750.0 Codeforces Round 1056 (Div. 2) Editorial
2807 Mimo & Yuyu games greedy math Statement E Codeforces Round 1056 (Div. 2) {2155} PROGRAMMING 2250.0 Codeforces Round 1056 (Div. 2) Editorial
625 Juan's Colorful Tree data structures data structures dfs and similar dfs and similar dsu graphs graphs trees Statement F Codeforces Round 1056 (Div. 2) {2155} PROGRAMMING 3000.0 Codeforces Round 1056 (Div. 2) Editorial
25048 El fucho implementation math Statement A Codeforces Round 1056 (Div. 2) {2155} PROGRAMMING 500.0 Codeforces Round 1056 (Div. 2) Editorial
5821 Batteries interactive math Statement D Codeforces Round 1056 (Div. 2) {2155} PROGRAMMING 2000.0 Codeforces Round 1056 (Div. 2) Editorial
16873 Abraham's Great Escape constructive algorithms graphs Statement B Codeforces Round 1056 (Div. 2) {2155} PROGRAMMING 1000.0 Codeforces Round 1056 (Div. 2) Editorial
235 Strange Operation (Hard Version) data structures greedy Statement F2 Codeforces Round 1061 (Div. 2) {2156} PROGRAMMING 3250.0 Codeforces Round 1061 (Div. 2) Editorial
1605 Strange Operation (Easy Version) brute force data structures greedy implementation Statement F1 Codeforces Round 1061 (Div. 2) {2156} PROGRAMMING 3250.0 Codeforces Round 1061 (Div. 2) Editorial
20608 Strange Machine binary search brute force greedy implementation Statement B Codeforces Round 1061 (Div. 2) {2156} PROGRAMMING 750.0 Codeforces Round 1061 (Div. 2) Editorial
26706 Pizza Time brute force constructive algorithms greedy Statement A Codeforces Round 1061 (Div. 2) {2156} PROGRAMMING 500.0 Codeforces Round 1061 (Div. 2) Editorial
12177 Maximum GCD on Whiteboard greedy math number theory Statement C Codeforces Round 1061 (Div. 2) {2156} PROGRAMMING 1500.0 Codeforces Round 1061 (Div. 2) Editorial
5337 Find the Last Number bitmasks constructive algorithms interactive math Statement D Codeforces Round 1061 (Div. 2) {2156} PROGRAMMING 2000.0 Codeforces Round 1061 (Div. 2) Editorial
951 Best Time to Buy and Sell Stock binary search data structures games greedy Statement E Codeforces Round 1061 (Div. 2) {2156} PROGRAMMING 2750.0 Codeforces Round 1061 (Div. 2) Editorial
9136 Meximum Array 2 constructive algorithms greedy math Statement C Codeforces Round 1066 (Div. 1 + Div. 2) {2157} PROGRAMMING 1500.0 Codeforces Round 1066 (Div. 1 + Div. 2) Editorial
115 Keygen 3 brute force combinatorics constructive algorithms Statement H Codeforces Round 1066 (Div. 1 + Div. 2) {2157} PROGRAMMING 3750.0 Codeforces Round 1066 (Div. 1 + Div. 2) Editorial
402 Isaac's Queries brute force constructive algorithms dfs and similar divide and conquer greedy interactive math probabilities Statement G Codeforces Round 1066 (Div. 1 + Div. 2) {2157} PROGRAMMING 3000.0 Codeforces Round 1066 (Div. 1 + Div. 2) Editorial
153 Hyper Smawk Bros dp dp games Statement I Codeforces Round 1066 (Div. 1 + Div. 2) {2157} PROGRAMMING 4000.0 Codeforces Round 1066 (Div. 1 + Div. 2) Editorial
1275 Git Gud constructive algorithms data structures divide and conquer Statement F Codeforces Round 1066 (Div. 1 + Div. 2) {2157} PROGRAMMING 2500.0 Codeforces Round 1066 (Div. 1 + Div. 2) Editorial
12756 Expansion Plan 2 implementation math Statement B Codeforces Round 1066 (Div. 1 + Div. 2) {2157} PROGRAMMING 1000.0 Codeforces Round 1066 (Div. 1 + Div. 2) Editorial
16364 Dungeon Equilibrium greedy implementation sortings Statement A Codeforces Round 1066 (Div. 1 + Div. 2) {2157} PROGRAMMING 500.0 Codeforces Round 1066 (Div. 1 + Div. 2) Editorial
5935 Billion Players Game greedy math sortings ternary search two pointers Statement D Codeforces Round 1066 (Div. 1 + Div. 2) {2157} PROGRAMMING 1500.0 Codeforces Round 1066 (Div. 1 + Div. 2) Editorial
3538 Adjusting Drones binary search data structures dsu greedy implementation sortings Statement E Codeforces Round 1066 (Div. 1 + Div. 2) {2157} PROGRAMMING 2000.0 Codeforces Round 1066 (Div. 1 + Div. 2) Editorial
23215 Suspension greedy math Statement A Codeforces Round 1067 (Div. 2) {2158} PROGRAMMING 500.0 Codeforces Round 1067 (Div. 2) Editorial
13794 Split constructive algorithms greedy math Statement B Codeforces Round 1067 (Div. 2) {2158} PROGRAMMING 1250.0 Codeforces Round 1067 (Div. 2) Editorial
612 Sink data structures dsu dsu graphs graphs Statement E Codeforces Round 1067 (Div. 2) {2158} PROGRAMMING 2750.0 Codeforces Round 1067 (Div. 2) Editorial
3246 Palindrome Flipping brute force constructive algorithms implementation strings Statement D Codeforces Round 1067 (Div. 2) {2158} PROGRAMMING 2000.0 Codeforces Round 1067 (Div. 2) Editorial
209 Distinct GCDs (Hard Version) combinatorics constructive algorithms graphs graphs graphs math number theory number theory Statement F2 Codeforces Round 1067 (Div. 2) {2158} PROGRAMMING 1000.0 Codeforces Round 1067 (Div. 2) Editorial
373 Distinct GCDs (Easy Version) constructive algorithms constructive algorithms graphs graphs number theory number theory Statement F1 Codeforces Round 1067 (Div. 2) {2158} PROGRAMMING 2500.0 Codeforces Round 1067 (Div. 2) Editorial
10919 Annoying Game dp games greedy Statement C Codeforces Round 1067 (Div. 2) {2158} PROGRAMMING 1500.0 Codeforces Round 1067 (Div. 2) Editorial
1672 Twin Polynomials combinatorics graph matchings graphs math Statement C Codeforces Round 1058 (Div. 1) {2159} PROGRAMMING 1500.0 Codeforces Round 1058 Editorial
194 Super-Short-Polynomial-San math math meet-in-the-middle meet-in-the-middle Statement E Codeforces Round 1058 (Div. 1) {2159} PROGRAMMING 3000.0 Codeforces Round 1058 Editorial
2295 Rectangles data structures dsu implementation two pointers Statement B Codeforces Round 1058 (Div. 1) {2159} PROGRAMMING 1500.0 Codeforces Round 1058 Editorial
8086 MAD Interactive Problem constructive algorithms implementation interactive Statement A Codeforces Round 1058 (Div. 1) {2159} PROGRAMMING 750.0 Codeforces Round 1058 Editorial
388 Inverse Minimum Partition (Hard Version) dp greedy Statement D2 Codeforces Round 1058 (Div. 1) {2159} PROGRAMMING 1750.0 Codeforces Round 1058 Editorial
1004 Inverse Minimum Partition (Easy Version) binary search data structures dp greedy math two pointers Statement D1 Codeforces Round 1058 (Div. 1) {2159} PROGRAMMING 1500.0 Codeforces Round 1058 Editorial
134 Grand Finale: Snakes binary search interactive Statement F Codeforces Round 1058 (Div. 1) {2159} PROGRAMMING 3500.0 Codeforces Round 1058 Editorial
15014 Reverse XOR bitmasks Statement C Codeforces Round 1058 (Div. 2) {2160} PROGRAMMING 1250.0 Codeforces Round 1058 Editorial
22342 MEX Partition math Statement A Codeforces Round 1058 (Div. 2) {2160} PROGRAMMING 500.0 Codeforces Round 1058 Editorial
17638 Distinct Elements greedy math Statement B Codeforces Round 1058 (Div. 2) {2160} PROGRAMMING 1000.0 Codeforces Round 1058 Editorial
338 SubMST combinatorics graphs trees Statement F Pinely Round 5 (Div. 1 + Div. 2) {2161} PROGRAMMING 3250.0
15653 Round Trip games greedy implementation math Statement A Pinely Round 5 (Div. 1 + Div. 2) {2161} PROGRAMMING 500.0
5337 Make Connected brute force dsu implementation Statement B Pinely Round 5 (Div. 1 + Div. 2) {2161} PROGRAMMING 1000.0
12409 Loyalty constructive algorithms greedy sortings two pointers Statement C Pinely Round 5 (Div. 1 + Div. 2) {2161} PROGRAMMING 1750.0
2752 Locked Out binary search data structures dp graphs greedy implementation two pointers Statement D Pinely Round 5 (Div. 1 + Div. 2) {2161} PROGRAMMING 2250.0
774 Left is Always Right combinatorics math Statement E Pinely Round 5 (Div. 1 + Div. 2) {2161} PROGRAMMING 3000.0
57 Cycle Sort Statement H Pinely Round 5 (Div. 1 + Div. 2) {2161} PROGRAMMING 5000.0
89 Bitwise And Equals bitmasks Statement G Pinely Round 5 (Div. 1 + Div. 2) {2161} PROGRAMMING 3750.0
21138 Beautiful XOR bitmasks constructive algorithms Statement C Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
2795 Beautiful Tree constructive algorithms math trees Statement G Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
27714 Beautiful String constructive algorithms Statement B Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
309 Beautiful Problem dp Statement H Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
12250 Beautiful Permutation binary search interactive Statement D Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
9244 Beautiful Palindromes constructive algorithms greedy schedules Statement E Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
2886 Beautiful Intervals constructive algorithms greedy Statement F Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
41306 Beautiful Average brute force greedy Statement A Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
19482 Souvlaki VS. Kalamaki math sortings Statement A Codeforces Round 1063 (Div. 2) {2163} PROGRAMMING 500.0 Codeforces Round 1063 Editorial
9067 Siga ta Kymata constructive algorithms math Statement B Codeforces Round 1063 (Div. 2) {2163} PROGRAMMING 1000.0 Codeforces Round 1063 Editorial
623 Plegma interactive Statement E Codeforces Round 1063 (Div. 2) {2163} PROGRAMMING 2750.0 Codeforces Round 1063 Editorial
8891 Monopati dp math two pointers Statement C Codeforces Round 1063 (Div. 2) {2163} PROGRAMMING 1250.0 Codeforces Round 1063 Editorial
1484 Diadrash (Hard Version) binary search interactive Statement D2 Codeforces Round 1063 (Div. 2) {2163} PROGRAMMING 1250.0 Codeforces Round 1063 Editorial
2712 Diadrash (Easy Version) binary search divide and conquer interactive Statement D1 Codeforces Round 1063 (Div. 2) {2163} PROGRAMMING 1500.0 Codeforces Round 1063 Editorial
20677 Sequence Game brute force greedy Statement A Codeforces Global Round 30 (Div. 1 + Div. 2) {2164} PROGRAMMING 500.0 Codeforces Global Round 30 Editorial
202 Pointless Machine interactive Statement G Codeforces Global Round 30 (Div. 1 + Div. 2) {2164} PROGRAMMING 3500.0 Codeforces Global Round 30 Editorial
41 PalindromePalindrome data structures strings Statement H Codeforces Global Round 30 (Div. 1 + Div. 2) {2164} PROGRAMMING 5500.0 Codeforces Global Round 30 Editorial
1566 Journey dfs and similar dsu graphs greedy Statement E Codeforces Global Round 30 (Div. 1 + Div. 2) {2164} PROGRAMMING 2250.0 Codeforces Global Round 30 Editorial
18103 Even Modulo Pair brute force probabilities Statement B Codeforces Global Round 30 (Div. 1 + Div. 2) {2164} PROGRAMMING 750.0 Codeforces Global Round 30 Editorial
10571 Dungeon binary search brute force data structures greedy sortings Statement C Codeforces Global Round 30 (Div. 1 + Div. 2) {2164} PROGRAMMING 1500.0 Codeforces Global Round 30 Editorial
4917 Copy String binary search greedy implementation strings Statement D Codeforces Global Round 30 (Div. 1 + Div. 2) {2164} PROGRAMMING 1750.0 Codeforces Global Round 30 Editorial
418 Chain Prefix Rank (Hard Version) combinatorics data structures dp math Statement F2 Codeforces Global Round 30 (Div. 1 + Div. 2) {2164} PROGRAMMING 1500.0 Codeforces Global Round 30 Editorial
643 Chain Prefix Rank (Easy Version) combinatorics dfs and similar dp math Statement F1 Codeforces Global Round 30 (Div. 1 + Div. 2) {2164} PROGRAMMING 2500.0 Codeforces Global Round 30 Editorial
249 Rainbow Branch dp trees Statement E Codeforces Round 1064 (Div. 1) {2165} PROGRAMMING 3000.0 148452
881 Path Split dp graph matchings greedy Statement D Codeforces Round 1064 (Div. 1) {2165} PROGRAMMING 2500.0 148452
4461 Marble Council dp math Statement B Codeforces Round 1064 (Div. 1) {2165} PROGRAMMING 1000.0 148452
13965 Cyclic Merging brute force constructive algorithms graphs greedy trees Statement A Codeforces Round 1064 (Div. 1) {2165} PROGRAMMING 500.0 148452
3470 Binary Wine bitmasks greedy Statement C Codeforces Round 1064 (Div. 1) {2165} PROGRAMMING 1500.0 148452
189 Arctic Acquisition data structures Statement F Codeforces Round 1064 (Div. 1) {2165} PROGRAMMING 4000.0 148452
17979 Tab Closing math Statement B Codeforces Round 1064 (Div. 2) {2166} PROGRAMMING 750.0 Codeforces Round 1064 (Div. 1, Div. 2) Editorial
22738 Same Difference brute force dp strings Statement A Codeforces Round 1064 (Div. 2) {2166} PROGRAMMING 500.0 Codeforces Round 1064 (Div. 1, Div. 2) Editorial
51213 Your Name sortings strings Statement B Codeforces Round 1062 (Div. 4) {2167} PROGRAMMING Arpa Video Tutorial
29936 Yet Another Array Problem brute force math number theory Statement D Codeforces Round 1062 (Div. 4) {2167} PROGRAMMING Arpa Video Tutorial
7056 Tree, TREE!!! data structures dp trees Statement F Codeforces Round 1062 (Div. 4) {2167} PROGRAMMING Arpa Video Tutorial
57583 Square? math Statement A Codeforces Round 1062 (Div. 4) {2167} PROGRAMMING Arpa Video Tutorial
10831 Mukhammadali and the Smooth Array data structures dp Statement G Codeforces Round 1062 (Div. 4) {2167} PROGRAMMING Arpa Video Tutorial
8987 khba Loves to Sleep! binary search data structures geometry implementation math Statement E Codeforces Round 1062 (Div. 4) {2167} PROGRAMMING Arpa Video Tutorial
35775 Isamatdin and His Magic Wand! constructive algorithms greedy implementation sortings Statement C Codeforces Round 1062 (Div. 4) {2167} PROGRAMMING Arpa Video Tutorial
1541 Locate binary search constructive algorithms greedy interactive Statement B Testing Round 20 (Unrated, Communication Problems) {2168} PROGRAMMING Testing Round 20 Editorial (officially unofficial)
867 Intercepting Butterflies bitmasks constructive algorithms graphs interactive Statement C Testing Round 20 (Unrated, Communication Problems) {2168} PROGRAMMING Testing Round 20 Editorial (officially unofficial)
3289 Encode and Decode (Hard Version) bitmasks interactive math Statement A2 Testing Round 20 (Unrated, Communication Problems) {2168} PROGRAMMING Testing Round 20 Editorial (officially unofficial)
5006 Encode and Decode (Easy Version) constructive algorithms interactive Statement A1 Testing Round 20 (Unrated, Communication Problems) {2168} PROGRAMMING Testing Round 20 Editorial (officially unofficial)
330 Subsequence Problem combinatorics dp fft math Statement F Educational Codeforces Round 184 (Rated for Div. 2) {2169} PROGRAMMING Educational Codeforces Round 184 Editorial
2251 Removal of a Sequence (Hard Version) binary search constructive algorithms divide and conquer greedy implementation math number theory probabilities Statement D2 Educational Codeforces Round 184 (Rated for Div. 2) {2169} PROGRAMMING Educational Codeforces Round 184 Editorial
8453 Removal of a Sequence (Easy Version) binary search bitmasks geometry implementation math number theory Statement D1 Educational Codeforces Round 184 (Rated for Div. 2) {2169} PROGRAMMING Educational Codeforces Round 184 Editorial
12527 Range Operation math two pointers Statement C Educational Codeforces Round 184 (Rated for Div. 2) {2169} PROGRAMMING Educational Codeforces Round 184 Editorial
994 Points Selection dp geometry greedy Statement E Educational Codeforces Round 184 (Rated for Div. 2) {2169} PROGRAMMING Educational Codeforces Round 184 Editorial
15978 Drifting Away implementation implementation implementation implementation implementation Statement B Educational Codeforces Round 184 (Rated for Div. 2) {2169} PROGRAMMING Educational Codeforces Round 184 Editorial
18884 Alice and Bob greedy Statement A Educational Codeforces Round 184 (Rated for Div. 2) {2169} PROGRAMMING Educational Codeforces Round 184 Editorial
11133 Quotient and Remainder binary search greedy two pointers Statement C Educational Codeforces Round 185 (Rated for Div. 2) {2170} PROGRAMMING Educational Codeforces Round 185 Editorial
19759 Maximum Neighborhood greedy math Statement A Educational Codeforces Round 185 (Rated for Div. 2) {2170} PROGRAMMING Educational Codeforces Round 185 Editorial
768 Build XOR on a Segment bitmasks dp Statement F Educational Codeforces Round 185 (Rated for Div. 2) {2170} PROGRAMMING Educational Codeforces Round 185 Editorial
2301 Binary Strings and Blocks combinatorics dp Statement E Educational Codeforces Round 185 (Rated for Div. 2) {2170} PROGRAMMING Educational Codeforces Round 185 Editorial
1664 Almost Roman constructive algorithms greedy implementation Statement D Educational Codeforces Round 185 (Rated for Div. 2) {2170} PROGRAMMING Educational Codeforces Round 185 Editorial
14130 Addition on a Segment greedy math Statement B Educational Codeforces Round 185 (Rated for Div. 2) {2170} PROGRAMMING Educational Codeforces Round 185 Editorial
26863 Yuu Koito and Minimum Absolute Sum Statement B Codeforces Round 1065 (Div. 3) {2171} PROGRAMMING Codeforces Round 1065 (Div. 3) Editorial
36953 Shizuku Hoshikawa and Farm Legs math Statement A Codeforces Round 1065 (Div. 3) {2171} PROGRAMMING Codeforces Round 1065 (Div. 3) Editorial
998 Shiori Miyagi and Maximum Array Score binary search data structures dp Statement H Codeforces Round 1065 (Div. 3) {2171} PROGRAMMING Codeforces Round 1065 (Div. 3) Editorial
2292 Sakura Adachi and Optimal Sequences bitmasks combinatorics greedy math Statement G Codeforces Round 1065 (Div. 3) {2171} PROGRAMMING Codeforces Round 1065 (Div. 3) Editorial
11720 Renako Amaori and XOR Game (hard version) bitmasks games greedy Statement C2 Codeforces Round 1065 (Div. 3) {2171} PROGRAMMING Codeforces Round 1065 (Div. 3) Editorial
19074 Renako Amaori and XOR Game (easy version) games greedy Statement C1 Codeforces Round 1065 (Div. 3) {2171} PROGRAMMING Codeforces Round 1065 (Div. 3) Editorial
7038 Rae Taylor and Trees (hard version) binary search constructive algorithms data structures dp dsu implementation trees Statement F Codeforces Round 1065 (Div. 3) {2171} PROGRAMMING Codeforces Round 1065 (Div. 3) Editorial
11420 Rae Taylor and Trees (easy version) binary search data structures dp dsu greedy implementation trees Statement D Codeforces Round 1065 (Div. 3) {2171} PROGRAMMING Codeforces Round 1065 (Div. 3) Editorial
3605 Anisphia Wynn Palettia and Good Permutations constructive algorithms greedy number theory Statement E Codeforces Round 1065 (Div. 3) {2171} PROGRAMMING Codeforces Round 1065 (Div. 3) Editorial
558 Sliding Tiles Statement J 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
297 Shuffling Cards with Problem Solver 68! string suffix structures Statement H 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
5788 Number Maze constructive algorithms implementation Statement E 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
162 New Kingdom Statement N 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
5696 Maximum Distance To Port Statement M 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
791 Maximum Color Segment dp Statement L 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
834 Kindergarten Homework Statement K 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
65 Gene Editor Statement G 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
98 Divisor Card Game Statement D 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
3824 Cluster Computing System Statement F 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
93 Circles Are Far from Each Other Statement C 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
2114 Buses Statement B 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
1063 Birthday geometry Statement I 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
14394 ASCII Art Contest implementation Statement A 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
3588 Taiga's Carry Chains bitmasks brute force dp greedy Statement D Codeforces Round 1068 (Div. 2) {2173} PROGRAMMING 1750.0
23605 Sleeping Through Classes implementation Statement A Codeforces Round 1068 (Div. 2) {2173} PROGRAMMING 500.0
1506 Shiro's Mirror Duel interactive probabilities Statement E Codeforces Round 1068 (Div. 2) {2173} PROGRAMMING 2250.0
17964 Niko's Tactical Cards dp greedy Statement B Codeforces Round 1068 (Div. 2) {2173} PROGRAMMING 1000.0
12221 Kanade's Perfect Multiples greedy number theory Statement C Codeforces Round 1068 (Div. 2) {2173} PROGRAMMING 1250.0
548 Isla's Memory Thresholds binary search data structures divide and conquer math Statement F Codeforces Round 1068 (Div. 2) {2173} PROGRAMMING 3000.0
3919 Wishing Cards dp Statement B Codeforces Round 1069 (Div. 1) {2174} PROGRAMMING 1250.0 Codeforces Round 1069 Editorial
289 Secret Message data structures greedy trees Statement D Codeforces Round 1069 (Div. 1) {2174} PROGRAMMING 2750.0 Codeforces Round 1069 Editorial
14103 Needle in a Haystack greedy strings two pointers Statement A Codeforces Round 1069 (Div. 1) {2174} PROGRAMMING 500.0 Codeforces Round 1069 Editorial
447 Mosaic Tree combinatorics dp fft math trees Statement F Codeforces Round 1069 (Div. 1) {2174} PROGRAMMING 3500.0 Codeforces Round 1069 Editorial
92 Game of Scientists (Version 2) brute force chinese remainder theorem interactive math Statement E2 Codeforces Round 1069 (Div. 1) {2174} PROGRAMMING 1750.0 Codeforces Round 1069 Editorial
126 Game of Scientists (Version 1) chinese remainder theorem interactive math Statement E1 Codeforces Round 1069 (Div. 1) {2174} PROGRAMMING 1750.0 Codeforces Round 1069 Editorial
990 Beautiful Patterns (Hard Version) math probabilities Statement C2 Codeforces Round 1069 (Div. 1) {2174} PROGRAMMING 500.0 Codeforces Round 1069 Editorial
1136 Beautiful Patterns (Easy Version) math probabilities Statement C1 Codeforces Round 1069 (Div. 1) {2174} PROGRAMMING 1500.0 Codeforces Round 1069 Editorial
12048 XOR Array math Statement B Codeforces Round 1069 (Div. 2) {2175} PROGRAMMING 750.0 Codeforces Round 1069 Editorial
18587 Little Fairy's Painting implementation Statement A Codeforces Round 1069 (Div. 2) {2175} PROGRAMMING 500.0 Codeforces Round 1069 Editorial
1247 Remove at the lowest cost data structures dfs and similar greedy implementation trees Statement E Codeforces Round 1070 (Div. 2) {2176} PROGRAMMING 2500.0 Codeforces Round 1070 (Div.2) Editorial
22733 Optimal Shifts bitmasks greedy strings Statement B Codeforces Round 1070 (Div. 2) {2176} PROGRAMMING 1000.0 Codeforces Round 1070 (Div.2) Editorial
28855 Operations with Inversions data structures greedy implementation Statement A Codeforces Round 1070 (Div. 2) {2176} PROGRAMMING 500.0 Codeforces Round 1070 (Div.2) Editorial
1463 Omega Numbers bitmasks dp math number theory Statement F Codeforces Round 1070 (Div. 2) {2176} PROGRAMMING 2750.0 Codeforces Round 1070 (Div.2) Editorial
15581 Odd Process greedy math sortings Statement C Codeforces Round 1070 (Div. 2) {2176} PROGRAMMING 1500.0 Codeforces Round 1070 (Div.2) Editorial
5686 Fibonacci Paths data structures dp geometry graphs sortings Statement D Codeforces Round 1070 (Div. 2) {2176} PROGRAMMING 2000.0 Codeforces Round 1070 (Div.2) Editorial
25498 Yes or Yes brute force greedy strings Statement A Good Bye 2025 {2178} PROGRAMMING 500.0
6653 Xmas or Hysteria constructive algorithms graphs greedy implementation Statement D Good Bye 2025 {2178} PROGRAMMING 1750.0
215 Numbers or Fireworks combinatorics dp Statement I Good Bye 2025 {2178} PROGRAMMING 4000.0
21455 Impost or Sus greedy implementation strings Statement B Good Bye 2025 {2178} PROGRAMMING 750.0
3665 Flatten or Concatenate binary search divide and conquer interactive Statement E Good Bye 2025 {2178} PROGRAMMING 2250.0
15540 First or Second dp greedy implementation Statement C Good Bye 2025 {2178} PROGRAMMING 1250.0
586 deCH OR Dations data structures hashing Statement G Good Bye 2025 {2178} PROGRAMMING 3500.0
306 Create or Duplicate number theory shortest paths Statement H Good Bye 2025 {2178} PROGRAMMING 3750.0
1808 Conquer or of Forest combinatorics dfs and similar dsu trees Statement F Good Bye 2025 {2178} PROGRAMMING 2750.0
28142 Blackslex and Showering greedy implementation Statement B Codeforces Round 1071 (Div. 3) {2179} PROGRAMMING Codeforces Round 1071 (Div. 3) Editorial
1291 Blackslex and Plants bitmasks data structures dp math Statement H Codeforces Round 1071 (Div. 3) {2179} PROGRAMMING Codeforces Round 1071 (Div. 3) Editorial
1196 Blackslex and Penguin Migration brute force interactive math Statement G Codeforces Round 1071 (Div. 3) {2179} PROGRAMMING Codeforces Round 1071 (Div. 3) Editorial
13361 Blackslex and Penguin Civilization bitmasks constructive algorithms greedy math Statement D Codeforces Round 1071 (Div. 3) {2179} PROGRAMMING Codeforces Round 1071 (Div. 3) Editorial
34164 Blackslex and Password math strings Statement A Codeforces Round 1071 (Div. 3) {2179} PROGRAMMING Codeforces Round 1071 (Div. 3) Editorial
22103 Blackslex and Number Theory math number theory sortings sortings Statement C Codeforces Round 1071 (Div. 3) {2179} PROGRAMMING Codeforces Round 1071 (Div. 3) Editorial
5719 Blackslex and Girls constructive algorithms geometry math Statement E Codeforces Round 1071 (Div. 3) {2179} PROGRAMMING Codeforces Round 1071 (Div. 3) Editorial
2713 Blackslex and Another RGB Walking graphs interactive number theory Statement F Codeforces Round 1071 (Div. 3) {2179} PROGRAMMING Codeforces Round 1071 (Div. 3) Editorial
6386 XOR-factorization bitmasks constructive algorithms dp greedy number theory Statement C Codeforces Global Round 31 (Div. 1 + Div. 2) {2180} PROGRAMMING 1500.0 Codeforces Global Round 31
1725 No Effect XOR bitmasks math Statement E Codeforces Global Round 31 (Div. 1 + Div. 2) {2180} PROGRAMMING 2000.0 Codeforces Global Round 31
4218 Insolvable Disks greedy math Statement D Codeforces Global Round 31 (Div. 1 + Div. 2) {2180} PROGRAMMING 1750.0 Codeforces Global Round 31
221 Control Car (Hard Version) combinatorics dp probabilities Statement F2 Codeforces Global Round 31 (Div. 1 + Div. 2) {2180} PROGRAMMING 750.0 Codeforces Global Round 31
401 Control Car (Easy Version) combinatorics dp probabilities Statement F1 Codeforces Global Round 31 (Div. 1 + Div. 2) {2180} PROGRAMMING 2500.0 Codeforces Global Round 31
25751 Carnival Wheel brute force number theory Statement A Codeforces Global Round 31 (Div. 1 + Div. 2) {2180} PROGRAMMING 500.0 Codeforces Global Round 31
118 Bug Is Feature (Unconditional Version) games Statement H1 Codeforces Global Round 31 (Div. 1 + Div. 2) {2180} PROGRAMMING 3000.0 Codeforces Global Round 31
103 Bug Is Feature (Conditional Version) games Statement H2 Codeforces Global Round 31 (Div. 1 + Div. 2) {2180} PROGRAMMING 3000.0 Codeforces Global Round 31
132 Balance combinatorics math Statement G Codeforces Global Round 31 (Div. 1 + Div. 2) {2180} PROGRAMMING 2750.0 Codeforces Global Round 31
24451 Ashmal greedy strings Statement B Codeforces Global Round 31 (Div. 1 + Div. 2) {2180} PROGRAMMING 750.0 Codeforces Global Round 31
3257 Medical Parity dp Statement M 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
132 LLM Training math Statement L 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
63 Knit the Grid Statement K 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
697 Jinx or Jackpot brute force dp math probabilities Statement J 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
47 Irrigation Interlock geometry Statement I 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
6475 Honey Cake math number theory Statement H 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
628 Greta's Game binary search dp math Statement G 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
3456 Fragmented Nim games Statement F 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
137 Elevator Against Humanity brute force constructive algorithms greedy sortings Statement E 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
1336 Doorway binary search data structures sortings Statement D 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
140 Cacti Classification binary search interactive math Statement C 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
5554 Battle of Arrays brute force data structures games greedy Statement B 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
3665 Alphabet City binary search math strings Statement A 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
346 Short Garland data structures dp trees Statement G Educational Codeforces Round 186 (Rated for Div. 2) {2182} PROGRAMMING Educational Codeforces Round 186 Editorial
15354 Production of Snowmen combinatorics dp Statement C Educational Codeforces Round 186 (Rated for Div. 2) {2182} PROGRAMMING Educational Codeforces Round 186 Editorial
25141 New Year String greedy implementation strings Statement A Educational Codeforces Round 186 (Rated for Div. 2) {2182} PROGRAMMING Educational Codeforces Round 186 Editorial
5504 New Year's Gifts data structures greedy implementation sortings two pointers Statement E Educational Codeforces Round 186 (Rated for Div. 2) {2182} PROGRAMMING Educational Codeforces Round 186 Editorial
23264 New Year Cake brute force implementation Statement B Educational Codeforces Round 186 (Rated for Div. 2) {2182} PROGRAMMING Educational Codeforces Round 186 Editorial
8855 Christmas Tree Decoration combinatorics dp greedy math Statement D Educational Codeforces Round 186 (Rated for Div. 2) {2182} PROGRAMMING Educational Codeforces Round 186 Editorial
1081 Christmas Reindeer (hard version) bitmasks combinatorics dp Statement F2 Educational Codeforces Round 186 (Rated for Div. 2) {2182} PROGRAMMING Educational Codeforces Round 186 Editorial
1258 Christmas Reindeer (easy version) bitmasks combinatorics dp Statement F1 Educational Codeforces Round 186 (Rated for Div. 2) {2182} PROGRAMMING Educational Codeforces Round 186 Editorial
16051 Yet Another MEX Problem constructive algorithms greedy Statement B Hello 2026 {2183} PROGRAMMING 1000.0
10578 War Strategy binary search greedy math two pointers Statement C Hello 2026 {2183} PROGRAMMING 1500.0
2480 Tree Coloring (Hard Version) constructive algorithms data structures dfs and similar greedy implementation trees Statement D2 Hello 2026 {2183} PROGRAMMING 2000.0
8734 Tree Coloring (Easy Version) constructive algorithms dfs and similar greedy trees Statement D1 Hello 2026 {2183} PROGRAMMING 1000.0
218 Snake Instructions interactive Statement G Hello 2026 {2183} PROGRAMMING 4000.0
66 Pairs Flipping (Hard Version) constructive algorithms Statement I2 Hello 2026 {2183} PROGRAMMING 1000.0
79 Pairs Flipping (Easy Version) constructive algorithms Statement I1 Hello 2026 {2183} PROGRAMMING 4500.0
158 Minimise Cost dp Statement H Hello 2026 {2183} PROGRAMMING 4000.0
2827 LCM is Legendary Counting Master dp math number theory Statement E Hello 2026 {2183} PROGRAMMING 2250.0
1098 Jumping Man combinatorics data structures dp trees Statement F Hello 2026 {2183} PROGRAMMING 2750.0
23558 Binary Array Game games Statement A Hello 2026 {2183} PROGRAMMING 500.0
9343 Unfair Game combinatorics dp math Statement D Codeforces Round 1072 (Div. 3) {2184} PROGRAMMING Codeforces Round 1072 (Div. 3) Editorial
37678 Social Experiment math Statement A Codeforces Round 1072 (Div. 3) {2184} PROGRAMMING Codeforces Round 1072 (Div. 3) Editorial
2889 Nastiness of Segments binary search data structures divide and conquer Statement G Codeforces Round 1072 (Div. 3) {2184} PROGRAMMING Codeforces Round 1072 (Div. 3) Editorial
21598 Huge Pile binary search math Statement C Codeforces Round 1072 (Div. 3) {2184} PROGRAMMING Codeforces Round 1072 (Div. 3) Editorial
23834 Hourglass math Statement B Codeforces Round 1072 (Div. 3) {2184} PROGRAMMING Codeforces Round 1072 (Div. 3) Editorial
5672 Exquisite Array combinatorics data structures dsu Statement E Codeforces Round 1072 (Div. 3) {2184} PROGRAMMING Codeforces Round 1072 (Div. 3) Editorial
3807 Cherry Tree dfs and similar dp graphs trees Statement F Codeforces Round 1072 (Div. 3) {2184} PROGRAMMING Codeforces Round 1072 (Div. 3) Editorial
10040 The Robotic Rush binary search implementation two pointers Statement E Codeforces Round 1074 (Div. 4) {2185} PROGRAMMING Codeforces Round 1074 (Div. 4) Editorial
28575 Shifted MEX implementation sortings Statement C Codeforces Round 1074 (Div. 4) {2185} PROGRAMMING Codeforces Round 1074 (Div. 4) Editorial
40017 Prefix Max greedy Statement B Codeforces Round 1074 (Div. 4) {2185} PROGRAMMING Codeforces Round 1074 (Div. 4) Editorial
42342 Perfect Root constructive algorithms math Statement A Codeforces Round 1074 (Div. 4) {2185} PROGRAMMING Codeforces Round 1074 (Div. 4) Editorial
20407 OutOfMemoryError data structures implementation math two pointers Statement D Codeforces Round 1074 (Div. 4) {2185} PROGRAMMING Codeforces Round 1074 (Div. 4) Editorial
3233 Mixing MEXes data structures implementation math Statement G Codeforces Round 1074 (Div. 4) {2185} PROGRAMMING Codeforces Round 1074 (Div. 4) Editorial
662 BattleCows 2 binary search brute force data structures greedy Statement H Codeforces Round 1074 (Div. 4) {2185} PROGRAMMING Codeforces Round 1074 (Div. 4) Editorial
4934 BattleCows data structures divide and conquer implementation Statement F Codeforces Round 1074 (Div. 4) {2185} PROGRAMMING Codeforces Round 1074 (Div. 4) Editorial
5179 Shortest Statement Ever bitmasks constructive algorithms dp greedy Statement B Codeforces Round 1077 (Div. 1) {2187} PROGRAMMING 1250.0 Codeforces Round 1077 (Div. 1, Div. 2) Editorial
15677 Restricted Sorting binary search constructive algorithms greedy sortings Statement A Codeforces Round 1077 (Div. 1) {2187} PROGRAMMING 750.0 Codeforces Round 1077 (Div. 1, Div. 2) Editorial
90 Many Cartesian Trees greedy Statement G Codeforces Round 1077 (Div. 1) {2187} PROGRAMMING 3000.0 Codeforces Round 1077 (Div. 1, Div. 2) Editorial
1332 Jerry and Tom data structures dfs and similar games graphs greedy trees Statement C Codeforces Round 1077 (Div. 1) {2187} PROGRAMMING 1750.0 Codeforces Round 1077 (Div. 1, Div. 2) Editorial
312 Doors and Keys data structures dp Statement E Codeforces Round 1077 (Div. 1) {2187} PROGRAMMING 2250.0 Codeforces Round 1077 (Div. 1, Div. 2) Editorial
609 Cool Problem bitmasks brute force divide and conquer dp math Statement D Codeforces Round 1077 (Div. 1) {2187} PROGRAMMING 2000.0 Codeforces Round 1077 (Div. 1, Div. 2) Editorial
204 Al Fine (Maximizing Version) binary search data structures divide and conquer greedy trees Statement F1 Codeforces Round 1077 (Div. 1) {2187} PROGRAMMING 2000.0 Codeforces Round 1077 (Div. 1, Div. 2) Editorial
65 Al Fine (Counting Version) dp trees Statement F2 Codeforces Round 1077 (Div. 1) {2187} PROGRAMMING 3500.0 Codeforces Round 1077 (Div. 1, Div. 2) Editorial
20748 Seats greedy Statement B Codeforces Round 1077 (Div. 2) {2188} PROGRAMMING 1000.0 Codeforces Round 1077 (Div. 1, Div. 2) Editorial
25705 Divisible Permutation constructive algorithms Statement A Codeforces Round 1077 (Div. 2) {2188} PROGRAMMING 500.0 Codeforces Round 1077 (Div. 1, Div. 2) Editorial
216 Zhora the Vacuum Cleaner dp implementation sortings trees Statement F Codeforces Round 1075 (Div. 2) {2189} PROGRAMMING 3250.0 Codeforces Round 1075 (Div. 2) Editorial
6133 XOR-convenience (Hard Version) bitmasks brute force constructive algorithms math Statement C2 Codeforces Round 1075 (Div. 2) {2189} PROGRAMMING 750.0 Codeforces Round 1075 (Div. 2) Editorial
13730 XOR Convenience (Easy Version) bitmasks brute force constructive algorithms math Statement C1 Codeforces Round 1075 (Div. 2) {2189} PROGRAMMING 1250.0 Codeforces Round 1075 (Div. 2) Editorial
15118 The Curse of the Frog greedy math Statement B Codeforces Round 1075 (Div. 2) {2189} PROGRAMMING 1000.0 Codeforces Round 1075 (Div. 2) Editorial
24218 Table with Numbers greedy implementation Statement A Codeforces Round 1075 (Div. 2) {2189} PROGRAMMING 500.0 Codeforces Round 1075 (Div. 2) Editorial
808 Majority Wins? dp greedy math strings Statement E Codeforces Round 1075 (Div. 2) {2189} PROGRAMMING 2500.0 Codeforces Round 1075 (Div. 2) Editorial
1906 Little String (Hard Version) binary search combinatorics dp greedy math number theory Statement D2 Codeforces Round 1075 (Div. 2) {2189} PROGRAMMING 750.0 Codeforces Round 1075 (Div. 2) Editorial
3895 Little String (Easy Version) combinatorics dp math Statement D1 Codeforces Round 1075 (Div. 2) {2189} PROGRAMMING 2000.0 Codeforces Round 1075 (Div. 2) Editorial
91 Xor Product bitmasks dp Statement F Codeforces Round 1073 (Div. 1) {2190} PROGRAMMING 3500.0 Codeforces Round 1073 (Div. 1, Div. 2) Editorial