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 ... 38 39 40 41 42 ... 44 45 46 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
939 Eliminating Balls With Merging (Hard Version) binary search brute force data structures divide and conquer implementation Statement E2 Codeforces Round 965 (Div. 2) {1998} PROGRAMMING 1750.0 Video Tutorial
2350 Eliminating Balls With Merging (Easy Version) binary search brute force data structures divide and conquer dp greedy math Statement E1 Codeforces Round 965 (Div. 2) {1998} PROGRAMMING 1750.0 Video Tutorial
4195 Determine Winning Islands in Race data structures dp graphs shortest paths Statement D Codeforces Round 965 (Div. 2) {1998} PROGRAMMING 1500.0 Video Tutorial
24411 Triple Operations dp implementation math Statement E Codeforces Round 964 (Div. 4) {1999} PROGRAMMING Video Tutorial
33368 Slavic's Exam greedy implementation strings Statement D Codeforces Round 964 (Div. 4) {1999} PROGRAMMING Video Tutorial
42365 Showering implementation Statement C Codeforces Round 964 (Div. 4) {1999} PROGRAMMING Video Tutorial
11657 Ruler (hard version) binary search interactive ternary search Statement G2 Codeforces Round 964 (Div. 4) {1999} PROGRAMMING Video Tutorial
15142 Ruler (easy version) binary search interactive ternary search Statement G1 Codeforces Round 964 (Div. 4) {1999} PROGRAMMING Video Tutorial
14620 Expected Median combinatorics math Statement F Codeforces Round 964 (Div. 4) {1999} PROGRAMMING Video Tutorial
42861 Card Game brute force implementation Statement B Codeforces Round 964 (Div. 4) {1999} PROGRAMMING Video Tutorial
87898 A+B Again? implementation math Statement A Codeforces Round 964 (Div. 4) {1999} PROGRAMMING Video Tutorial
41570 Seating in a Bus two pointers Statement B Codeforces Round 966 (Div. 3) {2000} PROGRAMMING 132689
29978 Right Left Wrong greedy implementation two pointers Statement D Codeforces Round 966 (Div. 3) {2000} PROGRAMMING 132689
45021 Primary Task implementation math strings Statement A Codeforces Round 966 (Div. 3) {2000} PROGRAMMING 132689
16781 Photoshoot for Gorillas combinatorics data structures greedy math Statement E Codeforces Round 966 (Div. 3) {2000} PROGRAMMING 132689
32144 Numeric String Template data structures strings Statement C Codeforces Round 966 (Div. 3) {2000} PROGRAMMING 132689
2380 Ksyusha and the Loaded Set binary search data structures dp implementation trees Statement H Codeforces Round 966 (Div. 3) {2000} PROGRAMMING 132689
7279 Color Rows and Columns dp greedy implementation math Statement F Codeforces Round 966 (Div. 3) {2000} PROGRAMMING 132689
3265 Call During the Journey binary search brute force graphs greedy shortest paths Statement G Codeforces Round 966 (Div. 3) {2000} PROGRAMMING 132689
33219 Make All Equal greedy implementation Statement A Codeforces Round 967 (Div. 2) {2001} PROGRAMMING 500.0 Video Tutorial
6675 Longest Max Min Subsequence brute force constructive algorithms greedy two pointers Statement D Codeforces Round 967 (Div. 2) {2001} PROGRAMMING 2000.0 Video Tutorial
13140 Guess The Tree binary search brute force greedy interactive trees Statement C Codeforces Round 967 (Div. 2) {2001} PROGRAMMING 1500.0 Video Tutorial
26323 Generate Permutation constructive algorithms greedy implementation Statement B Codeforces Round 967 (Div. 2) {2001} PROGRAMMING 1000.0 Video Tutorial
306 Deterministic Heap (Hard Version) combinatorics dp Statement E2 Codeforces Round 967 (Div. 2) {2001} PROGRAMMING 2000.0 Video Tutorial
1580 Deterministic Heap (Easy Version) brute force combinatorics dp Statement E1 Codeforces Round 967 (Div. 2) {2001} PROGRAMMING 2000.0 Video Tutorial
23497 Removals Game constructive algorithms games Statement B EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) {2002} PROGRAMMING 750.0 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) Editorial
292 Lattice Optimizing meet-in-the-middle Statement G EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) {2002} PROGRAMMING 4000.0 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) Editorial
21487 Distanced Coloring constructive algorithms implementation math Statement A EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) {2002} PROGRAMMING 500.0 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) Editorial
2947 DFS Checker (Hard Version) constructive algorithms data structures dfs and similar hashing implementation trees Statement D2 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) {2002} PROGRAMMING 1250.0 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) Editorial
5200 DFS Checker (Easy Version) constructive algorithms data structures dfs and similar hashing implementation Statement D1 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) {2002} PROGRAMMING 1250.0 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) Editorial
603 Court Blue (Hard Version) brute force dp math number theory Statement F2 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) {2002} PROGRAMMING 1250.0 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) Editorial
1030 Court Blue (Easy Version) brute force dfs and similar dp math number theory Statement F1 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) {2002} PROGRAMMING 2000.0 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) Editorial
105 Counting 101 greedy Statement H EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) {2002} PROGRAMMING 6000.0 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) Editorial
3021 Cosmic Rays data structures dfs and similar greedy implementation trees Statement E EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) {2002} PROGRAMMING 2000.0 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) Editorial
18055 Black Circles brute force constructive algorithms geometry greedy math Statement C EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) {2002} PROGRAMMING 1000.0 EPIC Institute of Technology Round August 2024 (Div. 1 + Div. 2) Editorial
853 Turtle and Three Sequences data structures dp graphs greedy meet-in-the-middle probabilities two pointers Statement F Codeforces Round 968 (Div. 2) {2003} PROGRAMMING 2500.0 sol-zh.pdf
27757 Turtle and Piggy Are Playing a Game 2 games greedy sortings Statement B Codeforces Round 968 (Div. 2) {2003} PROGRAMMING 750.0 sol-zh.pdf
664 Turtle and Inversions (Hard Version) brute force constructive algorithms data structures dp greedy two pointers Statement E2 Codeforces Round 968 (Div. 2) {2003} PROGRAMMING 1000.0 sol-zh.pdf
912 Turtle and Inversions (Easy Version) brute force data structures dp greedy Statement E1 Codeforces Round 968 (Div. 2) {2003} PROGRAMMING 1750.0 sol-zh.pdf
32994 Turtle and Good Strings greedy strings Statement A Codeforces Round 968 (Div. 2) {2003} PROGRAMMING 500.0 sol-zh.pdf
22196 Turtle and Good Pairs constructive algorithms greedy strings Statement C Codeforces Round 968 (Div. 2) {2003} PROGRAMMING 1000.0 sol-zh.pdf
4742 Turtle and a MEX Problem (Hard Version) dfs and similar dp graphs greedy implementation Statement D2 Codeforces Round 968 (Div. 2) {2003} PROGRAMMING 1250.0 sol-zh.pdf
13738 Turtle and a MEX Problem (Easy Version) greedy math Statement D1 Codeforces Round 968 (Div. 2) {2003} PROGRAMMING 1000.0 sol-zh.pdf
427 Substring Compression data structures matrices Statement G Educational Codeforces Round 169 (Rated for Div. 2) {2004} PROGRAMMING Educational Codeforces Round 169 Editorial
27626 Splitting Items games greedy sortings Statement C Educational Codeforces Round 169 (Rated for Div. 2) {2004} PROGRAMMING Educational Codeforces Round 169 Editorial
5243 Not a Nim Problem games math number theory Statement E Educational Codeforces Round 169 (Rated for Div. 2) {2004} PROGRAMMING Educational Codeforces Round 169 Editorial
1452 Make a Palindrome brute force data structures dp greedy math Statement F Educational Codeforces Round 169 (Rated for Div. 2) {2004} PROGRAMMING Educational Codeforces Round 169 Editorial
32338 Game with Doors brute force implementation Statement B Educational Codeforces Round 169 (Rated for Div. 2) {2004} PROGRAMMING Educational Codeforces Round 169 Editorial
13609 Colored Portals binary search data structures graphs greedy shortest paths Statement D Educational Codeforces Round 169 (Rated for Div. 2) {2004} PROGRAMMING Educational Codeforces Round 169 Editorial
34039 Closest Point implementation math Statement A Educational Codeforces Round 169 (Rated for Div. 2) {2004} PROGRAMMING Educational Codeforces Round 169 Editorial
22328 The Strict Teacher (Hard Version) binary search greedy math sortings Statement B2 Codeforces Round 972 (Div. 2) {2005} PROGRAMMING 500.0 Discussion stream (With Hints)
25306 The Strict Teacher (Easy Version) greedy math sortings Statement B1 Codeforces Round 972 (Div. 2) {2005} PROGRAMMING 500.0 Discussion stream (With Hints)
1098 Subtangle Game (Hard Version) dp games greedy implementation Statement E2 Codeforces Round 972 (Div. 2) {2005} PROGRAMMING 2000.0 Discussion stream (With Hints)
3391 Subtangle Game (Easy Version) dp games greedy implementation Statement E1 Codeforces Round 972 (Div. 2) {2005} PROGRAMMING 1500.0 Discussion stream (With Hints)
26858 Simple Palindrome constructive algorithms greedy Statement A Codeforces Round 972 (Div. 2) {2005} PROGRAMMING 750.0 Discussion stream (With Hints)
8889 Lazy Narek dp implementation Statement C Codeforces Round 972 (Div. 2) {2005} PROGRAMMING 1500.0 Discussion stream (With Hints)
1294 Alter the GCD binary search data structures divide and conquer dp number theory Statement D Codeforces Round 972 (Div. 2) {2005} PROGRAMMING 2250.0 Discussion stream (With Hints)
332 Iris's Full Binary Tree data structures trees Statement E Codeforces Round 969 (Div. 1) {2006} PROGRAMMING 2500.0 Tutorial
4470 Iris and the Tree brute force data structures dfs and similar dsu math trees Statement B Codeforces Round 969 (Div. 1) {2006} PROGRAMMING 1250.0 Tutorial
9908 Iris and Game on the Tree games graphs greedy trees Statement A Codeforces Round 969 (Div. 1) {2006} PROGRAMMING 750.0 Tutorial
1018 Iris and Adjacent Products divide and conquer math Statement D Codeforces Round 969 (Div. 1) {2006} PROGRAMMING 2000.0 Tutorial
2123 Eri and Expanded Sets binary search data structures number theory two pointers Statement C Codeforces Round 969 (Div. 1) {2006} PROGRAMMING 1500.0 Tutorial
180 Dora's Paint brute force combinatorics constructive algorithms graphs Statement F Codeforces Round 969 (Div. 1) {2006} PROGRAMMING 3000.0 Tutorial
26105 Index and Maximum Value data structures Statement B Codeforces Round 969 (Div. 2) {2007} PROGRAMMING 750.0 Tutorial
25526 Dora's Set math number theory Statement A Codeforces Round 969 (Div. 2) {2007} PROGRAMMING 500.0 Tutorial
16513 Dora and C++ math number theory Statement C Codeforces Round 969 (Div. 2) {2007} PROGRAMMING 1000.0 Tutorial
33375 Square or Not math strings Statement B Codeforces Round 970 (Div. 3) {2008} PROGRAMMING Codeforces Round 970 (Div. 3) Editorial
3700 Sakurako's Test binary search brute force greedy math number theory Statement H Codeforces Round 970 (Div. 3) {2008} PROGRAMMING Codeforces Round 970 (Div. 3) Editorial
6865 Sakurako's Task binary search brute force greedy math number theory Statement G Codeforces Round 970 (Div. 3) {2008} PROGRAMMING Codeforces Round 970 (Div. 3) Editorial
24002 Sakurako's Hobby dp dsu graphs math Statement D Codeforces Round 970 (Div. 3) {2008} PROGRAMMING Codeforces Round 970 (Div. 3) Editorial
42537 Sakurako's Exam brute force constructive algorithms greedy math Statement A Codeforces Round 970 (Div. 3) {2008} PROGRAMMING Codeforces Round 970 (Div. 3) Editorial
16090 Sakurako's Box math number theory Statement F Codeforces Round 970 (Div. 3) {2008} PROGRAMMING Codeforces Round 970 (Div. 3) Editorial
37223 Longest Good Array binary search brute force math Statement C Codeforces Round 970 (Div. 3) {2008} PROGRAMMING Codeforces Round 970 (Div. 3) Editorial
14074 Alternating String brute force data structures dp greedy strings Statement E Codeforces Round 970 (Div. 3) {2008} PROGRAMMING Codeforces Round 970 (Div. 3) Editorial
1866 Yunli's Subarray Queries (hard version) data structures Statement G2 Codeforces Round 971 (Div. 4) {2009} PROGRAMMING Codeforces Round 971 (Div. 4) Editorial
561 Yunli's Subarray Queries (extreme version) data structures trees Statement G3 Codeforces Round 971 (Div. 4) {2009} PROGRAMMING Codeforces Round 971 (Div. 4) Editorial
5697 Yunli's Subarray Queries (easy version) binary search two pointers Statement G1 Codeforces Round 971 (Div. 4) {2009} PROGRAMMING Codeforces Round 971 (Div. 4) Editorial
33978 The Legend of Freya the Frog implementation math Statement C Codeforces Round 971 (Div. 4) {2009} PROGRAMMING Codeforces Round 971 (Div. 4) Editorial
19353 Satyam and Counting geometry math Statement D Codeforces Round 971 (Div. 4) {2009} PROGRAMMING Codeforces Round 971 (Div. 4) Editorial
54628 osu!mania brute force implementation Statement B Codeforces Round 971 (Div. 4) {2009} PROGRAMMING Codeforces Round 971 (Div. 4) Editorial
76012 Minimize! brute force math Statement A Codeforces Round 971 (Div. 4) {2009} PROGRAMMING Codeforces Round 971 (Div. 4) Editorial
18285 Klee's SUPER DUPER LARGE Array!!! binary search math ternary search Statement E Codeforces Round 971 (Div. 4) {2009} PROGRAMMING Codeforces Round 971 (Div. 4) Editorial
8731 Firefly's Queries data structures math Statement F Codeforces Round 971 (Div. 4) {2009} PROGRAMMING Codeforces Round 971 (Div. 4) Editorial
9514 Message Transmission Error (easy version) strings Statement C1 Testing Round 19 (Div. 3) {2010} PROGRAMMING 1400
4825 Message Transmission Error (hard version) hashing strings two pointers Statement C2 Testing Round 19 (Div. 3) {2010} PROGRAMMING 1700
25097 Three Brothers brute force implementation math Statement B Testing Round 19 (Div. 3) {2010} PROGRAMMING 800
21612 Alternating Sum of Numbers implementation math Statement A Testing Round 19 (Div. 3) {2010} PROGRAMMING 800
58 Strange Matrix *special graphs greedy Statement H Kotlin Heroes: Episode 11 {2011} PROGRAMMING Kotlin Heroes 11 — Editorial
24 Stack and Queue *special data structures divide and conquer Statement I Kotlin Heroes: Episode 11 {2011} PROGRAMMING Kotlin Heroes 11 — Editorial
382 Split the Expression *special Statement C Kotlin Heroes: Episode 11 {2011} PROGRAMMING Kotlin Heroes 11 — Editorial
679 Shuffle *special Statement B Kotlin Heroes: Episode 11 {2011} PROGRAMMING Kotlin Heroes 11 — Editorial
185 Rock-Paper-Scissors Bot *special greedy strings Statement E Kotlin Heroes: Episode 11 {2011} PROGRAMMING Kotlin Heroes 11 — Editorial
51 Removal of a Permutation *special Statement G Kotlin Heroes: Episode 11 {2011} PROGRAMMING Kotlin Heroes 11 — Editorial
1142 Problem Solving *special Statement A Kotlin Heroes: Episode 11 {2011} PROGRAMMING Kotlin Heroes 11 — Editorial
132 Good Subarray *special data structures greedy Statement F Kotlin Heroes: Episode 11 {2011} PROGRAMMING Kotlin Heroes 11 — Editorial
285 Among Wolves *special Statement D Kotlin Heroes: Episode 11 {2011} PROGRAMMING Kotlin Heroes 11 — Editorial
31619 Zhan's Blender constructive algorithms math Statement A Codeforces Round 973 (Div. 2) {2013} PROGRAMMING 500.0 134298
4418 Prefix GCD brute force dp greedy math number theory Statement E Codeforces Round 973 (Div. 2) {2013} PROGRAMMING 2500.0 134298
14942 Password Cracking brute force constructive algorithms interactive strings Statement C Codeforces Round 973 (Div. 2) {2013} PROGRAMMING 1250.0 134298
7690 Minimize the Difference binary search data structures greedy implementation math Statement D Codeforces Round 973 (Div. 2) {2013} PROGRAMMING 2000.0 134298
172 Game in Tree (Hard Version) binary search data structures trees Statement F2 Codeforces Round 973 (Div. 2) {2013} PROGRAMMING 2000.0 134298
686 Game in Tree (Easy Version) binary search data structures games implementation trees Statement F1 Codeforces Round 973 (Div. 2) {2013} PROGRAMMING 2000.0 134298
28827 Battle for Survive constructive algorithms greedy math Statement B Codeforces Round 973 (Div. 2) {2013} PROGRAMMING 750.0 134298
5489 Sheriff's Defense dfs and similar dp trees Statement F Codeforces Round 974 (Div. 3) {2014} PROGRAMMING Discussion stream (With Hints)
28347 Robin Hood in Town binary search divide and conquer greedy math Statement C Codeforces Round 974 (Div. 3) {2014} PROGRAMMING Discussion stream (With Hints)
6170 Robin Hood Archery data structures games greedy hashing Statement H Codeforces Round 974 (Div. 3) {2014} PROGRAMMING Discussion stream (With Hints)
33893 Robin Hood and the Major Oak math Statement B Codeforces Round 974 (Div. 3) {2014} PROGRAMMING Discussion stream (With Hints)
46706 Robin Helps implementation Statement A Codeforces Round 974 (Div. 3) {2014} PROGRAMMING Discussion stream (With Hints)
16388 Robert Hood and Mrs Hood data structures greedy sortings Statement D Codeforces Round 974 (Div. 3) {2014} PROGRAMMING Discussion stream (With Hints)
9544 Rendez-vous de Marian et Robin graphs shortest paths Statement E Codeforces Round 974 (Div. 3) {2014} PROGRAMMING Discussion stream (With Hints)
1849 Milky Days data structures implementation Statement G Codeforces Round 974 (Div. 3) {2014} PROGRAMMING Discussion stream (With Hints)
10339 Tree Pruning brute force data structures dfs and similar greedy sortings trees Statement C Codeforces Round 975 (Div. 1) {2018} PROGRAMMING 750.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
303 Speedbreaker Counting (Medium Version) dp greedy math Statement F2 Codeforces Round 975 (Div. 1) {2018} PROGRAMMING 1500.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
342 Speedbreaker Counting (Hard Version) dp greedy math Statement F3 Codeforces Round 975 (Div. 1) {2018} PROGRAMMING 1500.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
346 Speedbreaker Counting (Easy Version) combinatorics dp games greedy implementation math Statement F1 Codeforces Round 975 (Div. 1) {2018} PROGRAMMING 1500.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
5352 Speedbreaker binary search dp greedy implementation math two pointers Statement B Codeforces Round 975 (Div. 1) {2018} PROGRAMMING 750.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
2265 Max Plus Min Plus Size data structures dp dsu greedy implementation matrices Statement D Codeforces Round 975 (Div. 1) {2018} PROGRAMMING 1500.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
214 Complex Segments (Hard Version) binary search data structures divide and conquer dsu greedy math sortings Statement E2 Codeforces Round 975 (Div. 1) {2018} PROGRAMMING 750.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
248 Complex Segments (Easy Version) binary search data structures divide and conquer dsu greedy math sortings Statement E1 Codeforces Round 975 (Div. 1) {2018} PROGRAMMING 2250.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
12918 Cards Partition brute force greedy implementation math Statement A Codeforces Round 975 (Div. 1) {2018} PROGRAMMING 500.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
27653 Max Plus Size brute force dp greedy Statement A Codeforces Round 975 (Div. 2) {2019} PROGRAMMING 500.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
17658 All Pairs Segments data structures implementation math Statement B Codeforces Round 975 (Div. 2) {2019} PROGRAMMING 1000.0 Editorial of Codeforces Round 975 (Div. 1, Div. 2)
26396 Find Minimum Operations bitmasks greedy math Statement A Codeforces Round 976 (Div. 2) and Divide By Zero 9.0 {2020} PROGRAMMING 500.0 Tutorial for Codeforces Round 976 (Div. 2) and Divide By Zero 9.0
4156 Expected Power bitmasks brute force dp math number theory probabilities Statement E Codeforces Round 976 (Div. 2) and Divide By Zero 9.0 {2020} PROGRAMMING 2000.0 Tutorial for Codeforces Round 976 (Div. 2) and Divide By Zero 9.0
275 Count Leaves dp math number theory Statement F Codeforces Round 976 (Div. 2) and Divide By Zero 9.0 {2020} PROGRAMMING 2750.0 Tutorial for Codeforces Round 976 (Div. 2) and Divide By Zero 9.0
7634 Connect the Dots brute force dfs and similar dp dsu graphs math trees Statement D Codeforces Round 976 (Div. 2) and Divide By Zero 9.0 {2020} PROGRAMMING 1500.0 Tutorial for Codeforces Round 976 (Div. 2) and Divide By Zero 9.0
22283 Brightness Begins binary search math Statement B Codeforces Round 976 (Div. 2) and Divide By Zero 9.0 {2020} PROGRAMMING 750.0 Tutorial for Codeforces Round 976 (Div. 2) and Divide By Zero 9.0
18871 Bitwise Balancing bitmasks implementation math Statement C Codeforces Round 976 (Div. 2) and Divide By Zero 9.0 {2020} PROGRAMMING 1250.0 Tutorial for Codeforces Round 976 (Div. 2) and Divide By Zero 9.0
21873 Meaning Mean data structures greedy math sortings Statement A Codeforces Round 977 (Div. 2, based on COMPFEST 16 - Final Round) {2021} PROGRAMMING 500.0 Codeforces Round #977 (Div. 2, based on COMPFEST 16 — Final Round) Editorial
19291 Maximize Mex brute force greedy math number theory Statement B Codeforces Round 977 (Div. 2, based on COMPFEST 16 - Final Round) {2021} PROGRAMMING 750.0 Codeforces Round #977 (Div. 2, based on COMPFEST 16 — Final Round) Editorial
1267 Digital Village (Hard Version) data structures dp dsu graphs math trees Statement E2 Codeforces Round 977 (Div. 2, based on COMPFEST 16 - Final Round) {2021} PROGRAMMING 750.0 Codeforces Round #977 (Div. 2, based on COMPFEST 16 — Final Round) Editorial
731 Digital Village (Extreme Version) data structures dp graphs greedy math Statement E3 Codeforces Round 977 (Div. 2, based on COMPFEST 16 - Final Round) {2021} PROGRAMMING 1000.0 Codeforces Round #977 (Div. 2, based on COMPFEST 16 — Final Round) Editorial
1977 Digital Village (Easy Version) brute force data structures dp dsu graphs greedy implementation math shortest paths trees Statement E1 Codeforces Round 977 (Div. 2, based on COMPFEST 16 - Final Round) {2021} PROGRAMMING 1750.0 Codeforces Round #977 (Div. 2, based on COMPFEST 16 — Final Round) Editorial
982 Boss, Thirsty data structures dp greedy math Statement D Codeforces Round 977 (Div. 2, based on COMPFEST 16 - Final Round) {2021} PROGRAMMING 2500.0 Codeforces Round #977 (Div. 2, based on COMPFEST 16 — Final Round) Editorial
4620 Adjust The Presentation (Hard Version) constructive algorithms data structures greedy implementation Statement C2 Codeforces Round 977 (Div. 2, based on COMPFEST 16 - Final Round) {2021} PROGRAMMING 1000.0 Codeforces Round #977 (Div. 2, based on COMPFEST 16 — Final Round) Editorial
14402 Adjust The Presentation (Easy Version) constructive algorithms greedy Statement C1 Codeforces Round 977 (Div. 2, based on COMPFEST 16 - Final Round) {2021} PROGRAMMING 750.0 Codeforces Round #977 (Div. 2, based on COMPFEST 16 — Final Round) Editorial
15007 Kar Salesman greedy math Statement B Codeforces Round 978 (Div. 2) {2022} PROGRAMMING 1000.0 Codeforces Round 978 (Div 2) Editorial
6843 Gerrymandering dp implementation Statement C Codeforces Round 978 (Div. 2) {2022} PROGRAMMING 1750.0 Codeforces Round 978 (Div 2) Editorial
17490 Bus to Pénjamo greedy implementation math Statement A Codeforces Round 978 (Div. 2) {2022} PROGRAMMING 750.0 Codeforces Round 978 (Div 2) Editorial
741 Billetes MX (Hard Version) binary search combinatorics dfs and similar dsu graphs Statement E2 Codeforces Round 978 (Div. 2) {2022} PROGRAMMING 1000.0 Codeforces Round 978 (Div 2) Editorial
790 Billetes MX (Easy Version) 2-sat binary search combinatorics dfs and similar dsu graphs Statement E1 Codeforces Round 978 (Div. 2) {2022} PROGRAMMING 2250.0 Codeforces Round 978 (Div 2) Editorial
862 Asesino (Hard Version) interactive Statement D2 Codeforces Round 978 (Div. 2) {2022} PROGRAMMING 2000.0 Codeforces Round 978 (Div 2) Editorial
4170 Asesino (Easy Version) binary search constructive algorithms implementation interactive Statement D1 Codeforces Round 978 (Div. 2) {2022} PROGRAMMING 1750.0 Codeforces Round 978 (Div 2) Editorial
211 Tree of Life dp greedy trees Statement E Codeforces Round 980 (Div. 1) {2023} PROGRAMMING 2750.0 135341
7363 Skipping brute force data structures dp graphs greedy shortest paths Statement B Codeforces Round 980 (Div. 1) {2023} PROGRAMMING 1000.0 135341
618 Many Games brute force dp math Statement D Codeforces Round 980 (Div. 1) {2023} PROGRAMMING 2250.0 135341
138 Hills and Pits data structures data structures math math Statement F Codeforces Round 980 (Div. 1) {2023} PROGRAMMING 3000.0 135341
17034 Concatenation of Arrays constructive algorithms greedy math sortings Statement A Codeforces Round 980 (Div. 1) {2023} PROGRAMMING 500.0 135341
1407 C+K+S brute force constructive algorithms dfs and similar graphs greedy hashing math strings Statement C Codeforces Round 980 (Div. 1) {2023} PROGRAMMING 1500.0 135341
23284 Profitable Interest Rate math Statement A Codeforces Round 980 (Div. 2) {2024} PROGRAMMING 500.0 135341
17443 Buying Lemonade binary search constructive algorithms sortings Statement B Codeforces Round 980 (Div. 2) {2024} PROGRAMMING 1000.0 135341
237 Variable Damage data structures Statement G Educational Codeforces Round 170 (Rated for Div. 2) {2025} PROGRAMMING Educational Codeforces Round 170 Editorial
29475 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
19589 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
1092 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
2420 Card Game combinatorics dp fft greedy math Statement E Educational Codeforces Round 170 (Rated for Div. 2) {2025} PROGRAMMING Educational Codeforces Round 170 Editorial
19943 Binomial Coefficients, Kind Of combinatorics math Statement B Educational Codeforces Round 170 (Rated for Div. 2) {2025} PROGRAMMING Educational Codeforces Round 170 Editorial
8123 Attribute Checks brute force data structures dp implementation math Statement D Educational Codeforces Round 170 (Rated for Div. 2) {2025} PROGRAMMING Educational Codeforces Round 170 Editorial
6188 Sums of Segments binary search data structures dp implementation math Statement D Educational Codeforces Round 171 (Rated for Div. 2) {2026} PROGRAMMING Educational Codeforces Round 171 Editorial
20647 Perpendicular Segments brute force geometry math Statement A Educational Codeforces Round 171 (Rated for Div. 2) {2026} PROGRAMMING Educational Codeforces Round 171 Editorial
16908 Black Cells binary search brute force greedy Statement B Educational Codeforces Round 171 (Rated for Div. 2) {2026} PROGRAMMING Educational Codeforces Round 171 Editorial
2134 Best Subsequence bitmasks dfs and similar flows graph matchings graphs Statement E Educational Codeforces Round 171 (Rated for Div. 2) {2026} PROGRAMMING Educational Codeforces Round 171 Editorial
424 Bermart Ice Cream data structures dfs and similar divide and conquer dp implementation trees Statement F Educational Codeforces Round 171 (Rated for Div. 2) {2026} PROGRAMMING Educational Codeforces Round 171 Editorial
13019 Action Figures data structures greedy Statement C Educational Codeforces Round 171 (Rated for Div. 2) {2026} PROGRAMMING Educational Codeforces Round 171 Editorial
1955 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
7203 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
18090 Stalin Sort brute force greedy Statement B Codeforces Round 982 (Div. 2) {2027} PROGRAMMING 1000.0 Codeforces Round #982 (Div. 2) Editorial
22352 Rectangle Arrangement geometry implementation math Statement A Codeforces Round 982 (Div. 2) {2027} PROGRAMMING 500.0 Codeforces Round #982 (Div. 2) Editorial
112 Bit Game (Hard Version) bitmasks dp math Statement E2 Codeforces Round 982 (Div. 2) {2027} PROGRAMMING 1000.0 Codeforces Round #982 (Div. 2) Editorial
277 Bit Game (Easy Version) bitmasks brute force games math Statement E1 Codeforces Round 982 (Div. 2) {2027} PROGRAMMING 2000.0 Codeforces Round #982 (Div. 2) Editorial
14274 Add Zeros data structures dfs and similar graphs sortings Statement C Codeforces Round 982 (Div. 2) {2027} PROGRAMMING 1250.0 Codeforces Round #982 (Div. 2) Editorial
2009 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
13690 Alice's Adventures in Permuting binary search implementation math Statement B Codeforces Round 986 (Div. 2) {2028} PROGRAMMING 1000.0 Codeforces Round 986 (Div. 2) Editorial
10360 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
20826 Alice's Adventures in ''Chess'' brute force implementation math strings Statement A Codeforces Round 986 (Div. 2) {2028} PROGRAMMING 500.0 Codeforces Round 986 (Div. 2) Editorial
3858 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
563 Alice's Adventures in Addition bitmasks dp implementation Statement F Codeforces Round 986 (Div. 2) {2028} PROGRAMMING 2500.0 Codeforces Round 986 (Div. 2) Editorial
179 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
14360 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
12032 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
872 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
7910 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
113 Message Spread bitmasks combinatorics dp Statement H Refact.ai Match 1 (Codeforces Round 985) {2029} PROGRAMMING 5000.0 Refact.ai Match 1 (Codeforces Round 985) Editorial
4046 Cool Graph constructive algorithms data structures dfs and similar dsu graphs trees Statement D Refact.ai Match 1 (Codeforces Round 985) {2029} PROGRAMMING 2250.0 Refact.ai Match 1 (Codeforces Round 985) Editorial
3630 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
267 Balanced Problem data structures dp Statement G Refact.ai Match 1 (Codeforces Round 985) {2029} PROGRAMMING 3500.0 Refact.ai Match 1 (Codeforces Round 985) Editorial
213 The Destruction of the Universe (Hard Version) math Statement G2 Codeforces Round 979 (Div. 2) {2030} PROGRAMMING 1500.0 Codeforces Round 979 Editorial
274 The Destruction of the Universe (Easy Version) combinatorics math Statement G1 Codeforces Round 979 (Div. 2) {2030} PROGRAMMING 3000.0 Codeforces Round 979 Editorial
8942 QED's Favorite Permutation bitmasks data structures implementation sortings Statement D Codeforces Round 979 (Div. 2) {2030} PROGRAMMING 1500.0 Codeforces Round 979 Editorial
1228 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
24161 Minimise Oneness brute force combinatorics constructive algorithms Statement B Codeforces Round 979 (Div. 2) {2030} PROGRAMMING 500.0 Codeforces Round 979 Editorial
2033 MEXimize the Score brute force combinatorics data structures dp math Statement E Codeforces Round 979 (Div. 2) {2030} PROGRAMMING 2000.0 Codeforces Round 979 Editorial
20313 A TRUE Battle brute force games greedy Statement C Codeforces Round 979 (Div. 2) {2030} PROGRAMMING 1000.0 Codeforces Round 979 Editorial
27967 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
21300 Penchick and Satay Sticks greedy sortings Statement B Codeforces Round 987 (Div. 2) {2031} PROGRAMMING 1000.0 Codeforces Round 987 (Div. 2) Editorial
21359 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
483 Penchick and Even Medians binary search constructive algorithms interactive Statement F Codeforces Round 987 (Div. 2) {2031} PROGRAMMING 3000.0 Codeforces Round 987 (Div. 2) Editorial
10208 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
2777 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
16165 Penchick and BBQ Buns brute force constructive algorithms math number theory Statement C Codeforces Round 987 (Div. 2) {2031} PROGRAMMING 1500.0 Codeforces Round 987 (Div. 2) Editorial
16699 Trinity binary search math sortings two pointers Statement C Codeforces Round 983 (Div. 2) {2032} PROGRAMMING 1250.0 Codeforces Round 983 (Div. 2) Editorial
504 Peanuts combinatorics dp games math Statement F Codeforces Round 983 (Div. 2) {2032} PROGRAMMING 3000.0 Codeforces Round 983 (Div. 2) Editorial
21171 Medians constructive algorithms greedy hashing implementation math Statement B Codeforces Round 983 (Div. 2) {2032} PROGRAMMING 750.0 Codeforces Round 983 (Div. 2) Editorial
6373 Genokraken binary search constructive algorithms data structures graphs interactive trees two pointers Statement D Codeforces Round 983 (Div. 2) {2032} PROGRAMMING 1750.0 Codeforces Round 983 (Div. 2) Editorial
25016 Circuit greedy implementation math number theory Statement A Codeforces Round 983 (Div. 2) {2032} PROGRAMMING 500.0 Codeforces Round 983 (Div. 2) Editorial
1433 Balanced constructive algorithms data structures implementation math Statement E Codeforces Round 983 (Div. 2) {2032} PROGRAMMING 2250.0 Codeforces Round 983 (Div. 2) Editorial
18410 Sakurako's Field Trip binary search dp greedy Statement C Codeforces Round 981 (Div. 3) {2033} PROGRAMMING 135520
14889 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
29409 Sakurako and Water constructive algorithms greedy Statement B Codeforces Round 981 (Div. 3) {2033} PROGRAMMING 135520
41867 Sakurako and Kosuke constructive algorithms math Statement A Codeforces Round 981 (Div. 3) {2033} PROGRAMMING 135520
2078 Sakurako and Chefir data structures dfs and similar dp trees Statement G Codeforces Round 981 (Div. 3) {2033} PROGRAMMING 135520
18683 Kousuke's Assignment dp dsu greedy math Statement D Codeforces Round 981 (Div. 3) {2033} PROGRAMMING 135520
7356 Kosuke's Sloth brute force math number theory Statement F Codeforces Round 981 (Div. 3) {2033} PROGRAMMING 135520
9430 Trapped in the Witch's Labyrinth constructive algorithms dfs and similar graphs implementation Statement C Rayan Programming Contest 2024 - Selection (Codeforces Round 989, Div. 1 + Div. 2) {2034} PROGRAMMING 1500.0 Rayan 2024 Selection Round Editorial
88 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
85 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
200 Rayan vs. Rayaneh dp number theory Statement H Rayan Programming Contest 2024 - Selection (Codeforces Round 989, Div. 1 + Div. 2) {2034} PROGRAMMING 5000.0 Rayan 2024 Selection Round Editorial
16250 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
2067 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
18686 King Keykhosrow's Mystery brute force chinese remainder theorem math number theory Statement A Rayan Programming Contest 2024 - Selection (Codeforces Round 989, Div. 1 + Div. 2) {2034} PROGRAMMING 500.0 Rayan 2024 Selection Round Editorial
614 Khayyam's Royal Decree (Hard Version) combinatorics dp math Statement F2 Rayan Programming Contest 2024 - Selection (Codeforces Round 989, Div. 1 + Div. 2) {2034} PROGRAMMING 2000.0 Rayan 2024 Selection Round Editorial
912 Khayyam's Royal Decree (Easy Version) combinatorics dp math Statement F1 Rayan Programming Contest 2024 - Selection (Codeforces Round 989, Div. 1 + Div. 2) {2034} PROGRAMMING 2000.0 Rayan 2024 Selection Round Editorial
6839 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
5959 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
1133 Tree Operations binary search dfs and similar dp trees Statement F Codeforces Global Round 27 {2035} PROGRAMMING 2250.0 Codeforces Global Round 27 Editorial
18068 Sliding math Statement A Codeforces Global Round 27 {2035} PROGRAMMING 250.0 Codeforces Global Round 27 Editorial
102 Peak Productivity Forces constructive algorithms Statement H Codeforces Global Round 27 {2035} PROGRAMMING 4500.0 Codeforces Global Round 27 Editorial
1994 Monster binary search brute force math Statement E Codeforces Global Round 27 {2035} PROGRAMMING 2000.0 Codeforces Global Round 27 Editorial
116 Go Learn! (Hard Version) divide and conquer dp Statement G2 Codeforces Global Round 27 {2035} PROGRAMMING 2000.0 Codeforces Global Round 27 Editorial
177 Go Learn! (Easy Version) dp trees Statement G1 Codeforces Global Round 27 {2035} PROGRAMMING 2250.0 Codeforces Global Round 27 Editorial
21056 Everyone Loves Tres constructive algorithms greedy math number theory Statement B Codeforces Global Round 27 {2035} PROGRAMMING 500.0 Codeforces Global Round 27 Editorial
11851 Alya and Permutation bitmasks constructive algorithms data structures Statement C Codeforces Global Round 27 {2035} PROGRAMMING 1000.0 Codeforces Global Round 27 Editorial
5552 XORificator 3000 bitmasks dp number theory Statement F Codeforces Round 984 (Div. 3) {2036} PROGRAMMING Codeforces Round 984 (Div. 3) Editorial
30150 Startup greedy sortings Statement B Codeforces Round 984 (Div. 3) {2036} PROGRAMMING Codeforces Round 984 (Div. 3) Editorial
9883 Reverse the Rivers binary search greedy Statement E Codeforces Round 984 (Div. 3) {2036} PROGRAMMING Codeforces Round 984 (Div. 3) Editorial
41376 Quintomania implementation Statement A Codeforces Round 984 (Div. 3) {2036} PROGRAMMING Codeforces Round 984 (Div. 3) Editorial
1871 Library of Magic binary search bitmasks constructive algorithms interactive Statement G Codeforces Round 984 (Div. 3) {2036} PROGRAMMING Codeforces Round 984 (Div. 3) Editorial
16384 I Love 1543 brute force implementation matrices Statement D Codeforces Round 984 (Div. 3) {2036} PROGRAMMING Codeforces Round 984 (Div. 3) Editorial
22630 Anya and 1100 brute force data structures implementation Statement C Codeforces Round 984 (Div. 3) {2036} PROGRAMMING Codeforces Round 984 (Div. 3) Editorial
36495 Twice implementation Statement A Codeforces Round 988 (Div. 3) {2037} PROGRAMMING Video Tutorial
26219 Superultra's Favorite Permutation constructive algorithms greedy math number theory Statement C Codeforces Round 988 (Div. 3) {2037} PROGRAMMING Video Tutorial
15146 Sharky Surfing data structures greedy two pointers Statement D Codeforces Round 988 (Div. 3) {2037} PROGRAMMING Video Tutorial
3932 Natlan Exploring combinatorics dp math number theory Statement G Codeforces Round 988 (Div. 3) {2037} PROGRAMMING Video Tutorial
7663 Kachina's Favorite Binary String greedy interactive two pointers Statement E Codeforces Round 988 (Div. 3) {2037} PROGRAMMING Video Tutorial
25872 Intercepted Inputs brute force implementation Statement B Codeforces Round 988 (Div. 3) {2037} PROGRAMMING Video Tutorial
3062 Ardent Flames binary search data structures sortings two pointers Statement F Codeforces Round 988 (Div. 3) {2037} PROGRAMMING Video Tutorial
7271 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
8420 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
5682 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
3104 Guess One Character constructive algorithms interactive Statement G 2024-2025 ICPC, NERC, Southern and Volga Russian Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2038} PROGRAMMING 1900