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

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
357 Help Greg the Dwarf geometry ternary search Statement C Codeforces Beta Round 78 (Div. 1 Only) {98} PROGRAMMING 2400
1003 Space Rescuers geometry ternary search Statement E Codeforces Beta Round 82 (Div. 2) {106} PROGRAMMING Solutions for Codeforces Beta Round #82 (Div. 2) 2200
1797 Mushroom Scientists math ternary search Statement B Codeforces Round 118 (Div. 1) {185} PROGRAMMING Tutorial 1900
368 Tractor College implementation math number theory ternary search Statement E Codeforces Round 126 (Div. 2) {200} PROGRAMMING Editorial of Codeforces Round #126 (Div. 2) 2200
1394 Guess That Car! math ternary search Statement B Codeforces Round 127 (Div. 1) {201} PROGRAMMING 2000
1016 Building Bridge geometry ternary search two pointers Statement D CROC-MBTU 2012, Final Round (Online version, Div. 2) {250} PROGRAMMING CROC-MBTU 2012, Final Round, Editorial 2000
19067 Polo the Penguin and Matrix brute force dp implementation sortings ternary search Statement B Codeforces Round 177 (Div. 2) {289} PROGRAMMING Codeforces Round #177, editorial 1400
1627 Police Patrol greedy implementation math ternary search Statement E Codeforces Round 244 (Div. 2) {427} PROGRAMMING Codeforces Round #244 (Div. 2) Editorial 2000
1195 Chemistry Experiment binary search data structures ternary search Statement E Codeforces Round 247 (Div. 2) {431} PROGRAMMING Editorial Codeforces Round #247 (Div. 2) 2500
6910 Devu and his Brother binary search sortings ternary search two pointers Statement D Codeforces Round 251 (Div. 2) {439} PROGRAMMING Codeforces Round #251 Editorial 1900
6539 Civilization dfs and similar dp dsu ternary search trees Statement C Codeforces Round 260 (Div. 1) {455} PROGRAMMING Codeforces Round #260 — Editorial 2200
1063 Arthur and Questions greedy implementation math ternary search Statement E Codeforces Round 293 (Div. 2) {518} PROGRAMMING 2400
5241 Weakness and Poorness ternary search Statement C Codeforces Round 320 (Div. 1) [Bayan Thanks-Round] {578} PROGRAMMING Codeforces Round #320 [Bayan Thanks-Round] Editorial 2100
3450 Peter and Snow Blower binary search geometry ternary search Statement A Codeforces Round 339 (Div. 1) {613} PROGRAMMING Tutorial 1900
1591 Simple Skewness binary search math ternary search Statement E 8VC Venture Cup 2016 - Elimination Round {626} PROGRAMMING 23522 2400
2349 Bear and Bowling 4 binary search data structures geometry ternary search Statement F Educational Codeforces Round 11 {660} PROGRAMMING Editorial of Educational Codeforces Round 11 2500
387 Amusement Park *special ternary search Statement A VK Cup 2017 - Wild Card Round 1 {774} PROGRAMMING VK Cup 2017 — Уайлд-кард раунд 1 — Разбор 2300
2205 Selling Souvenirs binary search dp greedy ternary search Statement E Educational Codeforces Round 21 {808} PROGRAMMING 52010 2300
1946 Level Generation binary search math ternary search Statement F Educational Codeforces Round 24 {818} PROGRAMMING 52991 2200
1942 Ordering Pizza binary search sortings ternary search Statement B MemSQL Start[c]UP 3.0 - Round 2 (onsite finalists) {865} PROGRAMMING MemSQL Start[c]UP 3.0 Round 2 Editorial 1900
3551 Maximize! binary search greedy ternary search two pointers Statement E Codeforces Round 464 (Div. 2) {939} PROGRAMMING Analysis of Codeforces Round #464 1900
3014 Nature Reserve binary search geometry ternary search Statement D Codeforces Round 514 (Div. 2) {1059} PROGRAMMING Codeforces Round #514 (Div. 2) Editorial 2200
5576 Pavel and Triangles brute force dp fft greedy ternary search Statement E Codeforces Global Round 2 {1119} PROGRAMMING Codeforces Global Round 2 Editorial 1900
6716 Match Points binary search greedy sortings ternary search two pointers Statement C Educational Codeforces Round 64 (Rated for Div. 2) {1156} PROGRAMMING 66827 2000
6564 Minimizing Difference binary search constructive algorithms greedy sortings ternary search two pointers Statement E Codeforces Round 592 (Div. 2) {1244} PROGRAMMING Codeforces Round #592 (Div. 2) Tutorial 2000
5041 Send Boxes to Alice (Easy Version) constructive algorithms greedy math number theory ternary search two pointers Statement B1 Codeforces Round 601 (Div. 1) {1254} PROGRAMMING Codeforces Round #601 Editorial 2000
3433 Send Boxes to Alice (Hard Version) constructive algorithms greedy math number theory ternary search two pointers Statement B2 Codeforces Round 601 (Div. 1) {1254} PROGRAMMING Codeforces Round #601 Editorial 2100
19350 Deadline binary search brute force math ternary search Statement A Educational Codeforces Round 80 (Rated for Div. 2) {1288} PROGRAMMING Educational Codeforces Round 80 Editorial 1100
15032 Motarack's Birthday binary search greedy ternary search Statement B Codeforces Round 619 (Div. 2) {1301} PROGRAMMING 1000.0 Codeforces Round #619 (Div. 2) Editorial 1500
18428 Adding Powers bitmasks greedy implementation math number theory ternary search Statement C Educational Codeforces Round 83 (Rated for Div. 2) {1312} PROGRAMMING 74640
7605 Primitive Primes constructive algorithms math ternary search Statement C CodeCraft-20 (Div. 2) {1316} PROGRAMMING 1500.0 Codecraft-20 (Div.2) Editorial 1700
35523 Ternary String binary search dp implementation two pointers Statement B Educational Codeforces Round 87 (Rated for Div. 2) {1354} PROGRAMMING 77593 1200
16374 Simple Polygon Embedding binary search geometry math ternary search Statement C1 Educational Codeforces Round 87 (Rated for Div. 2) {1354} PROGRAMMING 77593 1400
5881 Restorer Distance binary search greedy math sortings ternary search Statement E Codeforces Round 643 (Div. 2) {1355} PROGRAMMING 2000.0 Codeforces Round #643 (Div. 2) Editorial 2100
1090 Reading Books (hard version) binary search data structures greedy sortings ternary search two pointers Statement E2 Codeforces Round 653 (Div. 3) {1374} PROGRAMMING 79517
1227 Boboniu and String binary search geometry ternary search Statement C Codeforces Round 664 (Div. 1) {1394} PROGRAMMING 1500.0 Codeforces Round #664 Editorial 2600
15527 Power Sequence binary search brute force math number theory ternary search Statement B Codeforces Round 666 (Div. 2) {1397} PROGRAMMING 1000.0 Codeforces Round #666 — Editorial
2187 Solo mid Oracle binary search math ternary search Statement E Technocup 2021 - Elimination Round 1 {1413} PROGRAMMING 2250.0 Codeforces Round 679 (Div. 1, Div. 2) and Technocup Round 1 editorial
4388 Hexagons brute force implementation math shortest paths ternary search Statement D Codeforces Round 676 (Div. 2) {1421} PROGRAMMING 2000.0 Codeforces Round #676 (Div. 2) Editorial
15104 Nice Matrix greedy implementation ternary search Statement B Codeforces Round 675 (Div. 2) {1422} PROGRAMMING 750.0 Codeforces Round #675 (Div. 2) Editorial
96 Prison Break binary search games geometry ternary search Statement H Codeforces Global Round 11 {1427} PROGRAMMING 4500.0 Editorial of Global Round 11 3500
1654 Four Points brute force constructive algorithms flows geometry greedy math ternary search Statement E Educational Codeforces Round 99 (Rated for Div. 2) {1455} PROGRAMMING 85186
13207 Searching Local Minimum binary search interactive ternary search Statement A Codeforces Round 700 (Div. 1) {1479} PROGRAMMING 500.0 Editorial of Codeforces Round #700
34186 Add and Divide brute force greedy math ternary search Statement A Codeforces Round 701 (Div. 2) {1485} PROGRAMMING 500.0 Editorial of Codeforces Round #701 (Div. 2) 1000
17730 Maximum Sum of Products brute force dp implementation math ternary search two pointers Statement D Educational Codeforces Round 108 (Rated for Div. 2) {1519} PROGRAMMING Educational Codeforces Round 108 Editorial
5266 Gift Set binary search geometry greedy math ternary search Statement G Codeforces Round 725 (Div. 3) {1538} PROGRAMMING Codeforces Round #725 (Div. 3) Editorial
1991 Bubble Strike combinatorics math probabilities ternary search Statement C Bubble Cup 14 - Finals Online Mirror (Unrated, ICPC Rules, Teams Preferred, Div. 1) {1599} PROGRAMMING BubbleCup2021.pdf
15670 Set or Decrease binary search greedy ternary search Statement C Educational Codeforces Round 120 (Rated for Div. 2) {1622} PROGRAMMING Educational Codeforces Round 120 Editorial
1235 Parametric MST binary search graphs greedy math ternary search Statement F CodeTON Round 1 (Div. 1 + Div. 2, Rated, Prizes!) {1656} PROGRAMMING 3000.0 Tutorial
390 Pandemic Restrictions geometry ternary search Statement K SWERC 2021-2022 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1662} PROGRAMMING 102042
2040 Red-Black Pepper binary search brute force greedy math number theory sortings ternary search Statement E Educational Codeforces Round 135 (Rated for Div. 2) {1728} PROGRAMMING 106805
17689 Meeting on the Line binary search greedy implementation math ternary search Statement B Codeforces Round 823 (Div. 2) {1730} PROGRAMMING 1000.0 Codeforces Round #823 — editorial 1600
1706 Joking (Easy Version) binary search bitmasks constructive algorithms interactive ternary search Statement E1 Codeforces Global Round 23 {1746} PROGRAMMING 2000.0 Codeforces Global Round 23 Editorial
340 Codeforces Scoreboard data structures dp ternary search Statement H TypeDB Forces 2023 (Div. 1 + Div. 2, Rated, Prizes!) {1787} PROGRAMMING 3500.0 TypeDB Forces 2023 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
2996 Vika and Bonuses binary search brute force math ternary search Statement D Codeforces Round 885 (Div. 2) {1848} PROGRAMMING 2000.0 Codeforces Round #885 (Div.2) Editorial
228 Anti-Proxy Attendance constructive algorithms interactive ternary search Statement F Codeforces Round 921 (Div. 1) {1924} PROGRAMMING 3000.0 Codeforces Round 921 (Div. 1, Div. 2) Editorial
5208 Lonely Mountain Dungeons binary search brute force data structures greedy math ternary search Statement D Codeforces Round 924 (Div. 2) {1928} PROGRAMMING 1750.0 Codeforces Round 924 Editorial
13735 Turtle vs. Rabbit Race: Optimal Trainings binary search math ternary search Statement E Codeforces Round 929 (Div. 3) {1933} PROGRAMMING Codeforces Round 929 (Div. 3) Editorial
25498 New Bakery binary search greedy math ternary search Statement B Codeforces Round 953 (Div. 2) {1978} PROGRAMMING 750.0 130527
14782 Ruler (easy version) binary search interactive ternary search Statement G1 Codeforces Round 964 (Div. 4) {1999} PROGRAMMING Video Tutorial
11300 Ruler (hard version) binary search interactive ternary search Statement G2 Codeforces Round 964 (Div. 4) {1999} PROGRAMMING Video Tutorial
17868 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
5099 Game With Triangles binary search data structures dp greedy math ternary search two pointers Statement D Codeforces Round 1000 (Div. 2) {2063} PROGRAMMING 2250.0 Codeforces Round 1000 (Div. 2) — Editorial
2597 23 Kingdom binary search data structures greedy ternary search two pointers Statement C Codeforces Round 1024 (Div. 1) {2101} PROGRAMMING 2000.0 142788
1888 Lanes of Cars binary search dp ternary search Statement E Codeforces Round 1033 (Div. 2) and CodeNite 2025 {2120} PROGRAMMING 2500.0 Codeforces Round 1033 (Div. 2) and CodeNite 2025 Editorial
7767 Arithmetics Competition binary search data structures greedy ternary search Statement E Codeforces Round 1043 (Div. 3) {2132} PROGRAMMING Codeforces Round 1043 (Div. 3) Editorial
4920 Nezuko in the Clearing binary search math ternary search Statement F Codeforces Round 1054 (Div. 3) {2149} PROGRAMMING __rose
1229 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
6484 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
1487 Probabilistic Card Game binary search data structures math ternary search Statement E Educational Codeforces Round 187 (Rated for Div. 2) {2203} PROGRAMMING Educational Codeforces Round 187 Editorial
10815 Seating Arrangement (Easy Version) binary search dp greedy ternary search two pointers Statement C1 Codeforces Round 1101 (Div. 2) {2232} PROGRAMMING 750.0 Codeforces Round 1101 (Div. 2) — Editorial
7618 Seating Arrangement (Hard Version) binary search greedy ternary search two pointers Statement C2 Codeforces Round 1101 (Div. 2) {2232} PROGRAMMING 1000.0 Codeforces Round 1101 (Div. 2) — Editorial