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

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
26807 Circle of Apple Trees greedy Statement A Codeforces Round 1057 (Div. 2) {2153} PROGRAMMING 500.0 Codeforces Round 1057 (Div. 2) Editorial
23049 Bitwise Reversion bitmasks Statement B Codeforces Round 1057 (Div. 2) {2153} PROGRAMMING 750.0 Codeforces Round 1057 (Div. 2) Editorial
23633 Notelock greedy two pointers Statement A Codeforces Round 1060 (Div. 2) {2154} PROGRAMMING 500.0 Codeforces Round 1060 (Div. 2) Editorial
1245 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
5698 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
14108 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
20477 Make it Zigzag constructive algorithms greedy Statement B Codeforces Round 1060 (Div. 2) {2154} PROGRAMMING 1000.0 Codeforces Round 1060 (Div. 2) Editorial
4978 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
195 Bombing (Hard Version) combinatorics dp Statement F2 Codeforces Round 1060 (Div. 2) {2154} PROGRAMMING 1750.0 Codeforces Round 1060 (Div. 2) Editorial
593 Bombing (Easy Version) combinatorics dp Statement F1 Codeforces Round 1060 (Div. 2) {2154} PROGRAMMING 2250.0 Codeforces Round 1060 (Div. 2) Editorial
10814 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
3077 Mimo & Yuyu games greedy math Statement E Codeforces Round 1056 (Div. 2) {2155} PROGRAMMING 2250.0 Codeforces Round 1056 (Div. 2) Editorial
743 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
25836 El fucho implementation math Statement A Codeforces Round 1056 (Div. 2) {2155} PROGRAMMING 500.0 Codeforces Round 1056 (Div. 2) Editorial
6165 Batteries interactive math Statement D Codeforces Round 1056 (Div. 2) {2155} PROGRAMMING 2000.0 Codeforces Round 1056 (Div. 2) Editorial
17698 Abraham's Great Escape constructive algorithms graphs Statement B Codeforces Round 1056 (Div. 2) {2155} PROGRAMMING 1000.0 Codeforces Round 1056 (Div. 2) Editorial
264 Strange Operation (Hard Version) data structures greedy Statement F2 Codeforces Round 1061 (Div. 2) {2156} PROGRAMMING 3250.0 Codeforces Round 1061 (Div. 2) Editorial
1660 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
21471 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
27420 Pizza Time brute force constructive algorithms greedy Statement A Codeforces Round 1061 (Div. 2) {2156} PROGRAMMING 500.0 Codeforces Round 1061 (Div. 2) Editorial
12780 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
5522 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
997 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
10386 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
181 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
556 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
181 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
1433 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
13958 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
17521 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
6908 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
4171 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
23970 Suspension greedy math Statement A Codeforces Round 1067 (Div. 2) {2158} PROGRAMMING 500.0 Codeforces Round 1067 (Div. 2) Editorial
14636 Split constructive algorithms greedy math Statement B Codeforces Round 1067 (Div. 2) {2158} PROGRAMMING 1250.0 Codeforces Round 1067 (Div. 2) Editorial
660 Sink data structures dsu dsu graphs graphs Statement E Codeforces Round 1067 (Div. 2) {2158} PROGRAMMING 2750.0 Codeforces Round 1067 (Div. 2) Editorial
3419 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
287 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
449 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
11710 Annoying Game dp games greedy Statement C Codeforces Round 1067 (Div. 2) {2158} PROGRAMMING 1500.0 Codeforces Round 1067 (Div. 2) Editorial
2271 Twin Polynomials combinatorics graph matchings graphs math Statement C Codeforces Round 1058 (Div. 1) {2159} PROGRAMMING 1500.0 Codeforces Round 1058 Editorial
1087 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
2924 Rectangles data structures dsu implementation two pointers Statement B Codeforces Round 1058 (Div. 1) {2159} PROGRAMMING 1500.0 Codeforces Round 1058 Editorial
8687 MAD Interactive Problem constructive algorithms implementation interactive Statement A Codeforces Round 1058 (Div. 1) {2159} PROGRAMMING 750.0 Codeforces Round 1058 Editorial
419 Inverse Minimum Partition (Hard Version) dp greedy Statement D2 Codeforces Round 1058 (Div. 1) {2159} PROGRAMMING 1750.0 Codeforces Round 1058 Editorial
1445 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
439 Grand Finale: Snakes binary search interactive Statement F Codeforces Round 1058 (Div. 1) {2159} PROGRAMMING 3500.0 Codeforces Round 1058 Editorial
15680 Reverse XOR bitmasks Statement C Codeforces Round 1058 (Div. 2) {2160} PROGRAMMING 1250.0 Codeforces Round 1058 Editorial
22836 MEX Partition math Statement A Codeforces Round 1058 (Div. 2) {2160} PROGRAMMING 500.0 Codeforces Round 1058 Editorial
18293 Distinct Elements greedy math Statement B Codeforces Round 1058 (Div. 2) {2160} PROGRAMMING 1000.0 Codeforces Round 1058 Editorial
366 SubMST combinatorics graphs trees Statement F Pinely Round 5 (Div. 1 + Div. 2) {2161} PROGRAMMING 3250.0
15995 Round Trip games greedy implementation math Statement A Pinely Round 5 (Div. 1 + Div. 2) {2161} PROGRAMMING 500.0
5552 Make Connected brute force dsu implementation Statement B Pinely Round 5 (Div. 1 + Div. 2) {2161} PROGRAMMING 1000.0
13207 Loyalty constructive algorithms greedy sortings two pointers Statement C Pinely Round 5 (Div. 1 + Div. 2) {2161} PROGRAMMING 1750.0
2841 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
802 Left is Always Right combinatorics math Statement E Pinely Round 5 (Div. 1 + Div. 2) {2161} PROGRAMMING 3000.0
74 Cycle Sort Statement H Pinely Round 5 (Div. 1 + Div. 2) {2161} PROGRAMMING 5000.0
99 Bitwise And Equals bitmasks Statement G Pinely Round 5 (Div. 1 + Div. 2) {2161} PROGRAMMING 3750.0
22089 Beautiful XOR bitmasks constructive algorithms Statement C Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
2892 Beautiful Tree constructive algorithms math trees Statement G Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
28771 Beautiful String constructive algorithms Statement B Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
337 Beautiful Problem dp Statement H Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
12788 Beautiful Permutation binary search interactive Statement D Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
9730 Beautiful Palindromes constructive algorithms greedy schedules Statement E Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
3009 Beautiful Intervals constructive algorithms greedy Statement F Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
42593 Beautiful Average brute force greedy Statement A Codeforces Round 1059 (Div. 3) {2162} PROGRAMMING Codeforces Round 1059 (Div. 3) Editorial
20035 Souvlaki VS. Kalamaki math sortings Statement A Codeforces Round 1063 (Div. 2) {2163} PROGRAMMING 500.0 Codeforces Round 1063 Editorial
9455 Siga ta Kymata constructive algorithms math Statement B Codeforces Round 1063 (Div. 2) {2163} PROGRAMMING 1000.0 Codeforces Round 1063 Editorial
675 Plegma interactive Statement E Codeforces Round 1063 (Div. 2) {2163} PROGRAMMING 2750.0 Codeforces Round 1063 Editorial
9516 Monopati dp math two pointers Statement C Codeforces Round 1063 (Div. 2) {2163} PROGRAMMING 1250.0 Codeforces Round 1063 Editorial
1550 Diadrash (Hard Version) binary search interactive Statement D2 Codeforces Round 1063 (Div. 2) {2163} PROGRAMMING 1250.0 Codeforces Round 1063 Editorial
2803 Diadrash (Easy Version) binary search divide and conquer interactive Statement D1 Codeforces Round 1063 (Div. 2) {2163} PROGRAMMING 1500.0 Codeforces Round 1063 Editorial
21861 Sequence Game brute force greedy Statement A Codeforces Global Round 30 (Div. 1 + Div. 2) {2164} PROGRAMMING 500.0 Codeforces Global Round 30 Editorial
242 Pointless Machine interactive Statement G Codeforces Global Round 30 (Div. 1 + Div. 2) {2164} PROGRAMMING 3500.0 Codeforces Global Round 30 Editorial
49 PalindromePalindrome data structures strings Statement H Codeforces Global Round 30 (Div. 1 + Div. 2) {2164} PROGRAMMING 5500.0 Codeforces Global Round 30 Editorial
3098 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
19522 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
11812 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
5698 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
576 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
1003 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
364 Rainbow Branch dp trees Statement E Codeforces Round 1064 (Div. 1) {2165} PROGRAMMING 3000.0 148452
930 Path Split dp graph matchings greedy Statement D Codeforces Round 1064 (Div. 1) {2165} PROGRAMMING 2500.0 148452
5364 Marble Council dp math Statement B Codeforces Round 1064 (Div. 1) {2165} PROGRAMMING 1000.0 148452
15329 Cyclic Merging brute force constructive algorithms graphs greedy trees Statement A Codeforces Round 1064 (Div. 1) {2165} PROGRAMMING 500.0 148452
4514 Binary Wine bitmasks greedy Statement C Codeforces Round 1064 (Div. 1) {2165} PROGRAMMING 1500.0 148452
228 Arctic Acquisition data structures Statement F Codeforces Round 1064 (Div. 1) {2165} PROGRAMMING 4000.0 148452
18839 Tab Closing math Statement B Codeforces Round 1064 (Div. 2) {2166} PROGRAMMING 750.0 Codeforces Round 1064 (Div. 1, Div. 2) Editorial
23553 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
53771 Your Name sortings strings Statement B Codeforces Round 1062 (Div. 4) {2167} PROGRAMMING Arpa Video Tutorial
31339 Yet Another Array Problem brute force math number theory Statement D Codeforces Round 1062 (Div. 4) {2167} PROGRAMMING Arpa Video Tutorial
7533 Tree, TREE!!! data structures dp trees Statement F Codeforces Round 1062 (Div. 4) {2167} PROGRAMMING Arpa Video Tutorial
60924 Square? math Statement A Codeforces Round 1062 (Div. 4) {2167} PROGRAMMING Arpa Video Tutorial
11462 Mukhammadali and the Smooth Array data structures dp Statement G Codeforces Round 1062 (Div. 4) {2167} PROGRAMMING Arpa Video Tutorial
9490 khba Loves to Sleep! binary search data structures geometry implementation math Statement E Codeforces Round 1062 (Div. 4) {2167} PROGRAMMING Arpa Video Tutorial
36952 Isamatdin and His Magic Wand! constructive algorithms greedy implementation sortings Statement C Codeforces Round 1062 (Div. 4) {2167} PROGRAMMING Arpa Video Tutorial
1634 Locate binary search constructive algorithms greedy interactive Statement B Testing Round 20 (Unrated, Communication Problems) {2168} PROGRAMMING Testing Round 20 Editorial (officially unofficial)
907 Intercepting Butterflies bitmasks constructive algorithms graphs interactive Statement C Testing Round 20 (Unrated, Communication Problems) {2168} PROGRAMMING Testing Round 20 Editorial (officially unofficial)
3528 Encode and Decode (Hard Version) bitmasks interactive math Statement A2 Testing Round 20 (Unrated, Communication Problems) {2168} PROGRAMMING Testing Round 20 Editorial (officially unofficial)
5281 Encode and Decode (Easy Version) constructive algorithms interactive Statement A1 Testing Round 20 (Unrated, Communication Problems) {2168} PROGRAMMING Testing Round 20 Editorial (officially unofficial)
353 Subsequence Problem combinatorics dp fft math Statement F Educational Codeforces Round 184 (Rated for Div. 2) {2169} PROGRAMMING Educational Codeforces Round 184 Editorial
2366 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
8941 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
13289 Range Operation math two pointers Statement C Educational Codeforces Round 184 (Rated for Div. 2) {2169} PROGRAMMING Educational Codeforces Round 184 Editorial
1119 Points Selection dp geometry greedy Statement E Educational Codeforces Round 184 (Rated for Div. 2) {2169} PROGRAMMING Educational Codeforces Round 184 Editorial
16761 Drifting Away implementation implementation implementation implementation implementation Statement B Educational Codeforces Round 184 (Rated for Div. 2) {2169} PROGRAMMING Educational Codeforces Round 184 Editorial
19913 Alice and Bob greedy Statement A Educational Codeforces Round 184 (Rated for Div. 2) {2169} PROGRAMMING Educational Codeforces Round 184 Editorial
11833 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
20506 Maximum Neighborhood greedy math Statement A Educational Codeforces Round 185 (Rated for Div. 2) {2170} PROGRAMMING Educational Codeforces Round 185 Editorial
829 Build XOR on a Segment bitmasks dp Statement F Educational Codeforces Round 185 (Rated for Div. 2) {2170} PROGRAMMING Educational Codeforces Round 185 Editorial
2409 Binary Strings and Blocks combinatorics dp Statement E Educational Codeforces Round 185 (Rated for Div. 2) {2170} PROGRAMMING Educational Codeforces Round 185 Editorial
1745 Almost Roman constructive algorithms greedy implementation Statement D Educational Codeforces Round 185 (Rated for Div. 2) {2170} PROGRAMMING Educational Codeforces Round 185 Editorial
15128 Addition on a Segment greedy math Statement B Educational Codeforces Round 185 (Rated for Div. 2) {2170} PROGRAMMING Educational Codeforces Round 185 Editorial
28025 Yuu Koito and Minimum Absolute Sum Statement B Codeforces Round 1065 (Div. 3) {2171} PROGRAMMING Codeforces Round 1065 (Div. 3) Editorial
38119 Shizuku Hoshikawa and Farm Legs math Statement A Codeforces Round 1065 (Div. 3) {2171} PROGRAMMING Codeforces Round 1065 (Div. 3) Editorial
1060 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
2434 Sakura Adachi and Optimal Sequences bitmasks combinatorics greedy math Statement G Codeforces Round 1065 (Div. 3) {2171} PROGRAMMING Codeforces Round 1065 (Div. 3) Editorial
12376 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
19899 Renako Amaori and XOR Game (easy version) games greedy Statement C1 Codeforces Round 1065 (Div. 3) {2171} PROGRAMMING Codeforces Round 1065 (Div. 3) Editorial
7549 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
12230 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
3765 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
600 Sliding Tiles Statement J 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
307 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
6334 Number Maze constructive algorithms implementation Statement E 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
175 New Kingdom Statement N 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
6309 Maximum Distance To Port Statement M 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
832 Maximum Color Segment dp Statement L 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
871 Kindergarten Homework Statement K 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
72 Gene Editor Statement G 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
114 Divisor Card Game Statement D 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
4201 Cluster Computing System Statement F 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
107 Circles Are Far from Each Other Statement C 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
2242 Buses Statement B 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
1137 Birthday geometry Statement I 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
15089 ASCII Art Contest implementation Statement A 2025 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2172} PROGRAMMING
3794 Taiga's Carry Chains bitmasks brute force dp greedy Statement D Codeforces Round 1068 (Div. 2) {2173} PROGRAMMING 1750.0
24370 Sleeping Through Classes implementation Statement A Codeforces Round 1068 (Div. 2) {2173} PROGRAMMING 500.0
1608 Shiro's Mirror Duel interactive probabilities Statement E Codeforces Round 1068 (Div. 2) {2173} PROGRAMMING 2250.0
18771 Niko's Tactical Cards dp greedy Statement B Codeforces Round 1068 (Div. 2) {2173} PROGRAMMING 1000.0
13096 Kanade's Perfect Multiples greedy number theory Statement C Codeforces Round 1068 (Div. 2) {2173} PROGRAMMING 1250.0
619 Isla's Memory Thresholds binary search data structures divide and conquer math Statement F Codeforces Round 1068 (Div. 2) {2173} PROGRAMMING 3000.0
4174 Wishing Cards dp Statement B Codeforces Round 1069 (Div. 1) {2174} PROGRAMMING 1250.0 Codeforces Round 1069 Editorial
314 Secret Message data structures greedy trees Statement D Codeforces Round 1069 (Div. 1) {2174} PROGRAMMING 2750.0 Codeforces Round 1069 Editorial
15109 Needle in a Haystack greedy strings two pointers Statement A Codeforces Round 1069 (Div. 1) {2174} PROGRAMMING 500.0 Codeforces Round 1069 Editorial
505 Mosaic Tree combinatorics dp fft math trees Statement F Codeforces Round 1069 (Div. 1) {2174} PROGRAMMING 3500.0 Codeforces Round 1069 Editorial
102 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
147 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
1090 Beautiful Patterns (Hard Version) math probabilities Statement C2 Codeforces Round 1069 (Div. 1) {2174} PROGRAMMING 500.0 Codeforces Round 1069 Editorial
1240 Beautiful Patterns (Easy Version) math probabilities Statement C1 Codeforces Round 1069 (Div. 1) {2174} PROGRAMMING 1500.0 Codeforces Round 1069 Editorial
12871 XOR Array math Statement B Codeforces Round 1069 (Div. 2) {2175} PROGRAMMING 750.0 Codeforces Round 1069 Editorial
19311 Little Fairy's Painting implementation Statement A Codeforces Round 1069 (Div. 2) {2175} PROGRAMMING 500.0 Codeforces Round 1069 Editorial
1326 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
23696 Optimal Shifts bitmasks greedy strings Statement B Codeforces Round 1070 (Div. 2) {2176} PROGRAMMING 1000.0 Codeforces Round 1070 (Div.2) Editorial
29757 Operations with Inversions data structures greedy implementation Statement A Codeforces Round 1070 (Div. 2) {2176} PROGRAMMING 500.0 Codeforces Round 1070 (Div.2) Editorial
1559 Omega Numbers bitmasks dp math number theory Statement F Codeforces Round 1070 (Div. 2) {2176} PROGRAMMING 2750.0 Codeforces Round 1070 (Div.2) Editorial
16360 Odd Process greedy math sortings Statement C Codeforces Round 1070 (Div. 2) {2176} PROGRAMMING 1500.0 Codeforces Round 1070 (Div.2) Editorial
6033 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
26410 Yes or Yes brute force greedy strings Statement A Good Bye 2025 {2178} PROGRAMMING 500.0
6940 Xmas or Hysteria constructive algorithms graphs greedy implementation Statement D Good Bye 2025 {2178} PROGRAMMING 1750.0
265 Numbers or Fireworks combinatorics dp Statement I Good Bye 2025 {2178} PROGRAMMING 4000.0
22300 Impost or Sus greedy implementation strings Statement B Good Bye 2025 {2178} PROGRAMMING 750.0
3759 Flatten or Concatenate binary search divide and conquer interactive Statement E Good Bye 2025 {2178} PROGRAMMING 2250.0
16378 First or Second dp greedy implementation Statement C Good Bye 2025 {2178} PROGRAMMING 1250.0
619 deCH OR Dations data structures hashing Statement G Good Bye 2025 {2178} PROGRAMMING 3500.0
333 Create or Duplicate number theory shortest paths Statement H Good Bye 2025 {2178} PROGRAMMING 3750.0
1867 Conquer or of Forest combinatorics dfs and similar dsu trees Statement F Good Bye 2025 {2178} PROGRAMMING 2750.0
29070 Blackslex and Showering greedy implementation Statement B Codeforces Round 1071 (Div. 3) {2179} PROGRAMMING Codeforces Round 1071 (Div. 3) Editorial
1348 Blackslex and Plants bitmasks data structures dp math Statement H Codeforces Round 1071 (Div. 3) {2179} PROGRAMMING Codeforces Round 1071 (Div. 3) Editorial
1257 Blackslex and Penguin Migration brute force interactive math Statement G Codeforces Round 1071 (Div. 3) {2179} PROGRAMMING Codeforces Round 1071 (Div. 3) Editorial
14073 Blackslex and Penguin Civilization bitmasks constructive algorithms greedy math Statement D Codeforces Round 1071 (Div. 3) {2179} PROGRAMMING Codeforces Round 1071 (Div. 3) Editorial
35286 Blackslex and Password math strings Statement A Codeforces Round 1071 (Div. 3) {2179} PROGRAMMING Codeforces Round 1071 (Div. 3) Editorial
23078 Blackslex and Number Theory math number theory sortings sortings Statement C Codeforces Round 1071 (Div. 3) {2179} PROGRAMMING Codeforces Round 1071 (Div. 3) Editorial
6005 Blackslex and Girls constructive algorithms geometry math Statement E Codeforces Round 1071 (Div. 3) {2179} PROGRAMMING Codeforces Round 1071 (Div. 3) Editorial
2863 Blackslex and Another RGB Walking graphs interactive number theory Statement F Codeforces Round 1071 (Div. 3) {2179} PROGRAMMING Codeforces Round 1071 (Div. 3) Editorial
6691 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
1790 No Effect XOR bitmasks math Statement E Codeforces Global Round 31 (Div. 1 + Div. 2) {2180} PROGRAMMING 2000.0 Codeforces Global Round 31
4367 Insolvable Disks greedy math Statement D Codeforces Global Round 31 (Div. 1 + Div. 2) {2180} PROGRAMMING 1750.0 Codeforces Global Round 31
242 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
428 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
26360 Carnival Wheel brute force number theory Statement A Codeforces Global Round 31 (Div. 1 + Div. 2) {2180} PROGRAMMING 500.0 Codeforces Global Round 31
125 Bug Is Feature (Unconditional Version) games Statement H1 Codeforces Global Round 31 (Div. 1 + Div. 2) {2180} PROGRAMMING 3000.0 Codeforces Global Round 31
114 Bug Is Feature (Conditional Version) games Statement H2 Codeforces Global Round 31 (Div. 1 + Div. 2) {2180} PROGRAMMING 3000.0 Codeforces Global Round 31
152 Balance combinatorics math Statement G Codeforces Global Round 31 (Div. 1 + Div. 2) {2180} PROGRAMMING 2750.0 Codeforces Global Round 31
25097 Ashmal greedy strings Statement B Codeforces Global Round 31 (Div. 1 + Div. 2) {2180} PROGRAMMING 750.0 Codeforces Global Round 31
3713 Medical Parity dp Statement M 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
149 LLM Training math Statement L 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
88 Knit the Grid Statement K 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
741 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
61 Irrigation Interlock geometry Statement I 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
7203 Honey Cake math number theory Statement H 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
674 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
3893 Fragmented Nim games Statement F 2025-2026 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2181} PROGRAMMING Tutorial
158 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
1440 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
166 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
6310 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
3953 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
380 Short Garland data structures dp trees Statement G Educational Codeforces Round 186 (Rated for Div. 2) {2182} PROGRAMMING Educational Codeforces Round 186 Editorial
16270 Production of Snowmen combinatorics dp Statement C Educational Codeforces Round 186 (Rated for Div. 2) {2182} PROGRAMMING Educational Codeforces Round 186 Editorial
26068 New Year String greedy implementation strings Statement A Educational Codeforces Round 186 (Rated for Div. 2) {2182} PROGRAMMING Educational Codeforces Round 186 Editorial
5864 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
24123 New Year Cake brute force implementation Statement B Educational Codeforces Round 186 (Rated for Div. 2) {2182} PROGRAMMING Educational Codeforces Round 186 Editorial
9392 Christmas Tree Decoration combinatorics dp greedy math Statement D Educational Codeforces Round 186 (Rated for Div. 2) {2182} PROGRAMMING Educational Codeforces Round 186 Editorial
1137 Christmas Reindeer (hard version) bitmasks combinatorics dp Statement F2 Educational Codeforces Round 186 (Rated for Div. 2) {2182} PROGRAMMING Educational Codeforces Round 186 Editorial
1326 Christmas Reindeer (easy version) bitmasks combinatorics dp Statement F1 Educational Codeforces Round 186 (Rated for Div. 2) {2182} PROGRAMMING Educational Codeforces Round 186 Editorial
16635 Yet Another MEX Problem constructive algorithms greedy Statement B Hello 2026 {2183} PROGRAMMING 1000.0
11148 War Strategy binary search greedy math two pointers Statement C Hello 2026 {2183} PROGRAMMING 1500.0
2566 Tree Coloring (Hard Version) constructive algorithms data structures dfs and similar greedy implementation trees Statement D2 Hello 2026 {2183} PROGRAMMING 2000.0
9278 Tree Coloring (Easy Version) constructive algorithms dfs and similar greedy trees Statement D1 Hello 2026 {2183} PROGRAMMING 1000.0
238 Snake Instructions interactive Statement G Hello 2026 {2183} PROGRAMMING 4000.0
81 Pairs Flipping (Hard Version) constructive algorithms Statement I2 Hello 2026 {2183} PROGRAMMING 1000.0
94 Pairs Flipping (Easy Version) constructive algorithms Statement I1 Hello 2026 {2183} PROGRAMMING 4500.0
169 Minimise Cost dp Statement H Hello 2026 {2183} PROGRAMMING 4000.0
2961 LCM is Legendary Counting Master dp math number theory Statement E Hello 2026 {2183} PROGRAMMING 2250.0
1178 Jumping Man combinatorics data structures dp trees Statement F Hello 2026 {2183} PROGRAMMING 2750.0
24101 Binary Array Game games Statement A Hello 2026 {2183} PROGRAMMING 500.0
10012 Unfair Game combinatorics dp math Statement D Codeforces Round 1072 (Div. 3) {2184} PROGRAMMING Codeforces Round 1072 (Div. 3) Editorial
39566 Social Experiment math Statement A Codeforces Round 1072 (Div. 3) {2184} PROGRAMMING Codeforces Round 1072 (Div. 3) Editorial
3143 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
22896 Huge Pile binary search math Statement C Codeforces Round 1072 (Div. 3) {2184} PROGRAMMING Codeforces Round 1072 (Div. 3) Editorial
25153 Hourglass math Statement B Codeforces Round 1072 (Div. 3) {2184} PROGRAMMING Codeforces Round 1072 (Div. 3) Editorial
6108 Exquisite Array combinatorics data structures dsu Statement E Codeforces Round 1072 (Div. 3) {2184} PROGRAMMING Codeforces Round 1072 (Div. 3) Editorial
4188 Cherry Tree dfs and similar dp graphs trees Statement F Codeforces Round 1072 (Div. 3) {2184} PROGRAMMING Codeforces Round 1072 (Div. 3) Editorial
10888 The Robotic Rush binary search implementation two pointers Statement E Codeforces Round 1074 (Div. 4) {2185} PROGRAMMING Codeforces Round 1074 (Div. 4) Editorial
30455 Shifted MEX implementation sortings Statement C Codeforces Round 1074 (Div. 4) {2185} PROGRAMMING Codeforces Round 1074 (Div. 4) Editorial
42696 Prefix Max greedy Statement B Codeforces Round 1074 (Div. 4) {2185} PROGRAMMING Codeforces Round 1074 (Div. 4) Editorial
45337 Perfect Root constructive algorithms math Statement A Codeforces Round 1074 (Div. 4) {2185} PROGRAMMING Codeforces Round 1074 (Div. 4) Editorial
21736 OutOfMemoryError data structures implementation math two pointers Statement D Codeforces Round 1074 (Div. 4) {2185} PROGRAMMING Codeforces Round 1074 (Div. 4) Editorial
3629 Mixing MEXes data structures implementation math Statement G Codeforces Round 1074 (Div. 4) {2185} PROGRAMMING Codeforces Round 1074 (Div. 4) Editorial
746 BattleCows 2 binary search brute force data structures greedy Statement H Codeforces Round 1074 (Div. 4) {2185} PROGRAMMING Codeforces Round 1074 (Div. 4) Editorial
5397 BattleCows data structures divide and conquer implementation Statement F Codeforces Round 1074 (Div. 4) {2185} PROGRAMMING Codeforces Round 1074 (Div. 4) Editorial
5567 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
16626 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
109 Many Cartesian Trees greedy Statement G Codeforces Round 1077 (Div. 1) {2187} PROGRAMMING 3000.0 Codeforces Round 1077 (Div. 1, Div. 2) Editorial
1476 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
353 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
699 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
254 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
86 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
22079 Seats greedy Statement B Codeforces Round 1077 (Div. 2) {2188} PROGRAMMING 1000.0 Codeforces Round 1077 (Div. 1, Div. 2) Editorial
26600 Divisible Permutation constructive algorithms Statement A Codeforces Round 1077 (Div. 2) {2188} PROGRAMMING 500.0 Codeforces Round 1077 (Div. 1, Div. 2) Editorial
253 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
6475 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
14610 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
16108 The Curse of the Frog greedy math Statement B Codeforces Round 1075 (Div. 2) {2189} PROGRAMMING 1000.0 Codeforces Round 1075 (Div. 2) Editorial
24976 Table with Numbers greedy implementation Statement A Codeforces Round 1075 (Div. 2) {2189} PROGRAMMING 500.0 Codeforces Round 1075 (Div. 2) Editorial
882 Majority Wins? dp greedy math strings Statement E Codeforces Round 1075 (Div. 2) {2189} PROGRAMMING 2500.0 Codeforces Round 1075 (Div. 2) Editorial
2052 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
4194 Little String (Easy Version) combinatorics dp math Statement D1 Codeforces Round 1075 (Div. 2) {2189} PROGRAMMING 2000.0 Codeforces Round 1075 (Div. 2) Editorial
100 Xor Product bitmasks dp Statement F Codeforces Round 1073 (Div. 1) {2190} PROGRAMMING 3500.0 Codeforces Round 1073 (Div. 1, Div. 2) Editorial