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
5446 Two Paths dfs and similar dp graphs shortest paths trees two pointers Statement D Codeforces Beta Round 14 (Div. 2) {14} PROGRAMMING Codeforces Beta Round #14 tutorial 2100
50406 Dijkstra? graphs shortest paths Statement C Codeforces Alpha Round 20 (Codeforces format) {20} PROGRAMMING 2100
8757 Roads in Berland graphs shortest paths Statement C Codeforces Beta Round 25 (Div. 2 Only) {25} PROGRAMMING Codeforces Beta Round #25 Solution Analysis 1800
1189 Quarrel graphs shortest paths Statement E Codeforces Beta Round 29 (Div. 2, Codeforces format) {29} PROGRAMMING My solution @ Round #29, [without Problem E] 2400
1639 Knights geometry graphs shortest paths sortings Statement D Codeforces Beta Round 33 (Codeforces format) {33} PROGRAMMING Codeforces Beta Round #33. Analysis of problem A 2000
721 Trial for Chief graphs greedy shortest paths Statement E Codeforces Beta Round 37 {37} PROGRAMMING Codeforces Beta Round #37 (Tutorial) 2600
5257 Shortest Path graphs shortest paths Statement E Codeforces Beta Round 55 (Div. 2) {59} PROGRAMMING 2100
7837 Eternal Victory dfs and similar graphs greedy shortest paths trees Statement D Codeforces Beta Round 57 (Div. 2) {61} PROGRAMMING Round 57-A 1900
110 Harry Potter and Moving Staircases dfs and similar implementation Statement E Codeforces Beta Round 60 {65} PROGRAMMING Codeforces Beta Round #60: tutorial 2900
787 Evacuation flows graphs shortest paths Statement E Codeforces Beta Round 70 (Div. 2) {78} PROGRAMMING Solutions for Codeforces Beta Round #70 (Div. 2) 2500
497 Track graphs greedy shortest paths Statement C Codeforces Beta Round 72 (Div. 1 Only) {83} PROGRAMMING 2400
370 Winning Strategy binary search graphs math shortest paths Statement C Yandex.Algorithm 2011: Finals {97} PROGRAMMING Финал Яндекс.Алгоритм: разбор A-B 2300
1263 Take-off Ramps graphs shortest paths Statement D Codeforces Round 101 (Div. 2) {141} PROGRAMMING Codeforces Round #101 (Div. 2) Разбор Задач. 2400
5235 Missile Silos data structures dfs and similar graphs shortest paths Statement D Codeforces Round 103 (Div. 2) {144} PROGRAMMING Codeforces Round #103 (Div. 2) Разбор Задач. 1900
102 Gnomes of Might and Magic data structures graphs implementation shortest paths Statement F Codeforces Round 115 {175} PROGRAMMING Codeforces Round #115 — editorial A-E 3000
369 Battlefield geometry graphs implementation shortest paths Statement A Codeforces Round 117 (Div. 2) {182} PROGRAMMING Codeforces Round #117 (Div. 2) Разбор Задач 2300
1275 Opening Portals dsu graphs shortest paths Statement E Codeforces Round 124 (Div. 1) {196} PROGRAMMING Codeforces Round #124 — editorial 2500
2198 Police Station dp graphs shortest paths Statement C Codeforces Round 130 (Div. 2) {208} PROGRAMMING 4930 1900
6044 Planets binary search data structures graphs shortest paths Statement B Codeforces Round 142 (Div. 1) {229} PROGRAMMING Codeforces Round #142 Problem Analysis 1900
343 Doe Graphs constructive algorithms divide and conquer dp graphs shortest paths Statement C Codeforces Round 144 (Div. 1) {232} PROGRAMMING Editorial for Codeforces Round #144 2700
533 Meeting Her dp graphs shortest paths Statement E Codeforces Round 148 (Div. 1) {238} PROGRAMMING Editorial for Codeforces Round #148 2700
1497 Flights graphs shortest paths Statement E Bayan 2012-2013 Elimination Round (ACM ICPC Rules, English statements) {241} PROGRAMMING 2600
11680 King's Path dfs and similar graphs hashing shortest paths Statement C Codeforces Round 149 (Div. 2) {242} PROGRAMMING Codeforces Round #149 (Div. 2) Tutorial 1800
2946 Text Editor data structures dfs and similar graphs greedy shortest paths Statement C Codeforces Round 154 (Div. 2) {253} PROGRAMMING Codeforces Round #154 (Div. 2) — tutorial 1600
672 Rats brute force dfs and similar graphs implementation shortest paths Statement D Codeforces Round 155 (Div. 2) {254} PROGRAMMING Codeforces Round #155 (Div. 2) — tutorial 2600
1038 BerDonalds graphs math shortest paths Statement D Codeforces Round 163 (Div. 2) {266} PROGRAMMING Codeforces Round #163 (Div. 2) Tutorial 2600
18847 Greg and Graph dp graphs shortest paths Statement B Codeforces Round 179 (Div. 1) {295} PROGRAMMING Codeforces Round #179 tutorial 1900
1989 Greg and Friends combinatorics dp graphs shortest paths Statement C Codeforces Round 179 (Div. 1) {295} PROGRAMMING Codeforces Round #179 tutorial 2500
2890 Yaroslav and Time binary search graphs shortest paths Statement B Codeforces Round 182 (Div. 1) {301} PROGRAMMING Codeforces Round #182 tutorial 2000
604 Fetch the Treasure brute force data structures graphs shortest paths Statement C Codeforces Round 185 (Div. 1) {311} PROGRAMMING Codeforces Round #185 Editorial 2600
505 Monsters and Diamonds dfs and similar graphs shortest paths Statement C MemSQL start[c]up Round 1 {325} PROGRAMMING 2500
8836 Xenia and Weights constructive algorithms dfs and similar dp graphs greedy shortest paths Statement C Codeforces Round 197 (Div. 2) {339} PROGRAMMING Codeforces Round #197 — Tutorial 1700
892 Robot Control dp graphs shortest paths Statement D Codeforces Round 201 (Div. 1) {346} PROGRAMMING Codeforces Round #201 Editorial 2600
848 Levko and Game graphs greedy shortest paths Statement E Codeforces Round 210 (Div. 1) {360} PROGRAMMING Codeforces Round #210 editorial 2800
943 Petya and Pipes flows graphs shortest paths Statement E Codeforces Round 212 (Div. 2) {362} PROGRAMMING Codeforces Round #212 (Div. 2). Tutorial. Part 1. 2700
1332 Valera and Fools dfs and similar dp graphs shortest paths Statement D Codeforces Round 216 (Div. 2) {369} PROGRAMMING Editorial Codeforces Round #216 (Div. 2) 2300
12296 Rook, Bishop and King graphs math shortest paths Statement A Codeforces Round 217 (Div. 2) {370} PROGRAMMING Codeforces Round #217 (Div. 2): tutorial 1200
586 Game with Points dp graphs implementation shortest paths Statement D Testing Round 9 {386} PROGRAMMING 2300
2616 Fox and Minimal path bitmasks constructive algorithms graphs implementation math Statement B Codeforces Round 228 (Div. 1) {388} PROGRAMMING Codeforces Round #228 — Editorial 2000
3290 Dima and Bacteria dsu graphs shortest paths Statement D Codeforces Round 234 (Div. 2) {400} PROGRAMMING Codeforces Round #234 (Div. 2) — Tutorial 2000
1925 President's Path dp graphs shortest paths Statement E Codeforces Round 241 (Div. 2) {416} PROGRAMMING Codeforces Round #241 — editorial 2400
11411 Jzzhu and Cities graphs greedy shortest paths Statement B Codeforces Round 257 (Div. 1) {449} PROGRAMMING Codeforces Round #257 Editorial 2000
2031 The Classic Problem data structures graphs shortest paths Statement E Codeforces Round 265 (Div. 1) {464} PROGRAMMING Codeforces Round #265 Editorial 2900
3352 Breaking Good dfs and similar dp graphs shortest paths Statement E Codeforces Round 287 (Div. 2) {507} PROGRAMMING 2200
65738 Two Buttons dfs and similar graphs greedy implementation math shortest paths Statement B Codeforces Round 295 (Div. 2) {520} PROGRAMMING Codeforces Round #295 Editorial (now with bonuses!) 1400
2326 Arthur and Walls constructive algorithms data structures graphs greedy shortest paths Statement D Codeforces Round 297 (Div. 2) {525} PROGRAMMING Codeforces Round #297 (Div.2) Editorial 2300
1020 Playing on Graph graphs shortest paths Statement E VK Cup 2015 - Round 3 (unofficial online mirror, Div. 1 only) {542} PROGRAMMING 17697 2600
4660 Destroying Roads constructive algorithms graphs shortest paths Statement B Codeforces Round 302 (Div. 1) {543} PROGRAMMING Editorial Codeforces Round #302 2300
5949 Paths and Trees graphs greedy shortest paths Statement E Codeforces Round 303 (Div. 2) {545} PROGRAMMING Codeforces Round #303 (Div.2) editorial 2100
4239 Amr and Chemistry brute force graphs greedy math shortest paths Statement C Codeforces Round 312 (Div. 2) {558} PROGRAMMING Codeforces Round #312 (Div. 2) Editorial 2000
2417 President and Roads dfs and similar graphs hashing shortest paths Statement E Codeforces Round #Pi (Div. 2) {567} PROGRAMMING Editorial Codeforces Round #Pi 2600
3846 Phillip and Trains dfs and similar graphs shortest paths Statement B Codeforces Round 325 (Div. 1) {585} PROGRAMMING Разбор Codeforces Round #325 1800
3725 Three States dfs and similar graphs shortest paths Statement C Codeforces Round 327 (Div. 1) {590} PROGRAMMING Codeforces Round #327 problems analysis 2200
13942 Igor In the Museum dfs and similar graphs shortest paths Statement D Educational Codeforces Round 1 {598} PROGRAMMING Editorial 1700
14289 The Two Routes graphs shortest paths Statement A Codeforces Round 333 (Div. 1) {601} PROGRAMMING Codeforces Round #333 — editorial 1600
2458 World Tour graphs shortest paths Statement B Codeforces Round 349 (Div. 1) {666} PROGRAMMING Codeforces Round #349 Editorial 2100
2003 Theseus and labyrinth graphs implementation shortest paths Statement D Codeforces Round 354 (Div. 2) {676} PROGRAMMING 2000
2119 Vanya and Treasure data structures dp graphs shortest paths Statement D Codeforces Round 355 (Div. 2) {677} PROGRAMMING Codeforces Round #355 (Div. 2) Editorial 2300
6742 Mike and Shortcuts dfs and similar graphs greedy shortest paths Statement B Codeforces Round 361 (Div. 2) {689} PROGRAMMING 45912 1600
3900 Complete The Graph binary search constructive algorithms graphs shortest paths Statement B Codeforces Round 372 (Div. 1) {715} PROGRAMMING Codeforces Round #372 Editorial 2200
945 PolandBall and White-Red graph constructive algorithms graphs shortest paths Statement E 8VC Venture Cup 2017 - Elimination Round {755} PROGRAMMING 8VC Venture Cup 2017 — Elimination Round [Editorial] 2400
1568 Team Rocket Rises Again data structures graphs shortest paths Statement F Codecraft-17 and Codeforces Round 391 (Div. 1 + Div. 2, combined) {757} PROGRAMMING CodeCraft-17 and Codeforces Round #391 (Div. 1 + Div. 2, combined) Editorial 2700
710 Timofey and a flat tree data structures graphs hashing shortest paths trees Statement D Codeforces Round 395 (Div. 1) {763} PROGRAMMING Codeforces Round #395 [Editorial] 2800
3203 Cycle In Maze *special dfs and similar graphs greedy shortest paths Statement C VK Cup 2017 - Qualification 1 {769} PROGRAMMING Tutorial 1800
818 Perishable Roads dp graphs shortest paths Statement D VK Cup 2017 - Round 3 {773} PROGRAMMING VK Cup 2017 Round 3 + Codeforces Round #412 -- Tutorial 2700
3061 Innokenty and a Football League 2-sat graphs greedy implementation shortest paths strings Statement D Технокубок 2017 - Финал (только для онсайт-финалистов) {780} PROGRAMMING Technocup 2017 Finals and Codeforces Round #403 Editorial 2000
8530 Legacy data structures graphs shortest paths Statement B Codeforces Round 406 (Div. 1) {786} PROGRAMMING Codeforces Round #406 Editorial 2600
2695 The Great Mixing dfs and similar graphs shortest paths Statement C Codeforces Round 407 (Div. 1) {788} PROGRAMMING Codeforces Round #407(Div.1 + Div.2) Editorial 2500
4926 Igor and his way to work dfs and similar graphs implementation shortest paths Statement B Tinkoff Challenge - Elimination Round {793} PROGRAMMING 51685 1600
1749 Presents in Bankopolis dp graphs shortest paths Statement D Tinkoff Challenge - Elimination Round {793} PROGRAMMING 51685 2100
7949 Police Stations constructive algorithms dfs and similar dp graphs shortest paths trees Statement D Codeforces Round 408 (Div. 2) {796} PROGRAMMING Tutorial 2100
854 An unavoidable detour for home combinatorics dp graphs shortest paths Statement E Codeforces Round 418 (Div. 2) {814} PROGRAMMING Codeforces Round #418 (Div. 2) Editorial 2700
1841 Okabe and City dfs and similar graphs shortest paths Statement D Codeforces Round 420 (Div. 2) {821} PROGRAMMING Tutorial 2200
623 Dirty Arkady's Kitchen data structures dp graphs shortest paths Statement F Codeforces Round 423 (Div. 1, rated, based on VK Cup Finals) {827} PROGRAMMING Codeforces Round #423 Analysis 3100
1252 Dynamic Shortest Path graphs shortest paths Statement D AIM Tech Round 4 (Div. 1) {843} PROGRAMMING AIM Tech Round 4 -- Editorial 2700
5312 Olya and Energy Drinks data structures dfs and similar graphs shortest paths Statement D Codeforces Round 442 (Div. 2) {877} PROGRAMMING 55362 1900
2198 Fishes data structures graphs greedy probabilities shortest paths Statement D Codeforces Round 456 (Div. 2) {912} PROGRAMMING Codeforces Round #456 (Div. 2) Editorial 2100
5614 Jamie and Interesting Graph constructive algorithms graphs shortest paths Statement C Codeforces Round 457 (Div. 2) {916} PROGRAMMING Codeforces Round #457 (Div. 2) Editorial 1600
441 A Game With Numbers games graphs shortest paths Statement F Codeforces Round 460 (Div. 2) {919} PROGRAMMING Codeforces Round #460 (Div. 2) Editorial 2800
7507 Buy a Ticket data structures graphs shortest paths Statement D Educational Codeforces Round 38 (Rated for Div. 2) {938} PROGRAMMING Educational Codeforces Round 38 — Editorial 2000
8159 Fight Against Traffic dfs and similar graphs shortest paths Statement D Educational Codeforces Round 40 (Rated for Div. 2) {954} PROGRAMMING 58519 1600
1014 Elevator dp graphs shortest paths Statement C Codeforces Round 483 (Div. 1) [Thanks, Botan Investments and Victor Shaburov!] {983} PROGRAMMING Codeforces Round #483 [Thanks, Botan Investments and Victor Shaburov!] Editoral 2500
8721 Fair graphs greedy number theory shortest paths Statement A Codeforces Round 485 (Div. 1) {986} PROGRAMMING Codeforces Round #485 Editorial 1600
895 Oppa Funcan Style Remastered graphs math number theory shortest paths Statement F Codeforces Round 485 (Div. 1) {986} PROGRAMMING Codeforces Round #485 Editorial 3200
2204 Berland and the Shortest Paths brute force dfs and similar graphs shortest paths Statement F Codeforces Round 496 (Div. 3) {1005} PROGRAMMING Codeforces Round 496 (Div. 3): Problem Tutorials 2400
20320 Valid BFS? dfs and similar graphs shortest paths trees Statement D Manthan, Codefest 18 (rated, Div. 1 + Div. 2) {1037} PROGRAMMING Tutorial 1700
3935 The Shortest Statement graphs shortest paths trees Statement F Educational Codeforces Round 51 (Rated for Div. 2) {1051} PROGRAMMING Educational Codeforces Round 51 Editorial 2300
9789 Labyrinth graphs shortest paths Statement B Codeforces Round 516 (Div. 1, by Moscow Team Olympiad) {1063} PROGRAMMING 1800
2894 Multihedgehog dfs and similar graphs shortest paths Statement B Codeforces Round 518 (Div. 1) [Thanks, Mail.Ru!] {1067} PROGRAMMING Tutorial 2000
2686 Find a Number dp graphs number theory shortest paths Statement A 2018-2019 ICPC, NEERC, Southern Subregional Contest (Online Mirror, ACM-ICPC Rules, Teams Preferred) {1070} PROGRAMMING Solution to problem M. Algoland and Berland of 2018-2019 ICPC, NEERC 2200
6248 Edge Deletion graphs greedy shortest paths Statement D Educational Codeforces Round 54 (Rated for Div. 2) {1076} PROGRAMMING E 1800
4817 Maximum Distance dsu graphs shortest paths sortings Statement D Avito Cool Challenge 2018 {1081} PROGRAMMING 63888 1800
4476 Kilani and the Game dfs and similar graphs implementation shortest paths Statement D Codeforces Round 533 (Div. 2) {1105} PROGRAMMING Tutorial 1900
21092 Lunar New Year and a Wander data structures dfs and similar graphs greedy shortest paths Statement D Codeforces Round 536 (Div. 2) {1106} PROGRAMMING Tutorial 1500
1538 Indecisive Taxi Fee data structures graphs shortest paths Statement F Codeforces Round 558 (Div. 2) {1163} PROGRAMMING 66943 2900
14166 Cover it! dfs and similar dsu graphs shortest paths trees Statement E Codeforces Round 565 (Div. 3) {1176} PROGRAMMING 67598 1700
5596 Subsequences (easy version) dp graphs implementation shortest paths Statement E Codeforces Round 570 (Div. 3) {1183} PROGRAMMING Tutorial 2000
1126 Daleks' Invasion (medium) dfs and similar graphs shortest paths trees Statement E2 Helvetic Coding Contest 2019 online mirror (teams allowed, unrated) {1184} PROGRAMMING helvetic-coding-contest-2019-editorial.pdf 2200
716 The Doctor Meets Vader (Medium) flows graph matchings graphs shortest paths sortings Statement B2 Helvetic Coding Contest 2019 online mirror (teams allowed, unrated) {1184} PROGRAMMING helvetic-coding-contest-2019-editorial.pdf 2300
244 Knightmare (easy) graphs interactive shortest paths Statement E1 Codeforces Round 577 (Div. 2) {1201} PROGRAMMING Codeforces Round #577 (Div 2) Editorial 2900
182 Knightmare (hard) graphs interactive shortest paths Statement E2 Codeforces Round 577 (Div. 2) {1201} PROGRAMMING Codeforces Round #577 (Div 2) Editorial 3000
7523 Anna, Svyatoslav and Maps dp graphs greedy shortest paths Statement C Codeforces Round 581 (Div. 2) {1204} PROGRAMMING 69244 1700
7649 Shortest Cycle bitmasks brute force graphs shortest paths Statement B Codeforces Round 580 (Div. 1) {1205} PROGRAMMING 69158 1900
1424 Koala and Notebook data structures dfs and similar graphs shortest paths strings trees Statement F Codeforces Round 584 - Dasha Code Championship - Elimination Round (rated, open for everyone, Div. 1 + Div. 2) {1209} PROGRAMMING 69791 2600
318 Alpha planetary system constructive algorithms graphs shortest paths Statement G Bubble Cup 12 - Finals [Online Mirror, unrated, Div. 1] {1218} PROGRAMMING E 3300
1832 Arson In Berland Forest binary search graphs graphs shortest paths Statement E Technocup 2020 - Elimination Round 3 {1227} PROGRAMMING Разбор задач №2 2200
10291 Shichikuji and Power Grid dsu graphs greedy shortest paths trees Statement D Codeforces Round 597 (Div. 2) {1245} PROGRAMMING Codeforces Round #597 (Div. 2) Editorial 1900
2420 Cheap Robot binary search dsu graphs shortest paths trees Statement F Codeforces Round 600 (Div. 2) {1253} PROGRAMMING Editorial 2600
8396 Nearest Opposite Parity dfs and similar graphs shortest paths Statement E Codeforces Round 605 (Div. 3) {1272} PROGRAMMING Codeforces Round #605 (Div. 3) Editorial 2000
10164 Christmas Trees graphs greedy shortest paths Statement D Codeforces Round 611 (Div. 3) {1283} PROGRAMMING Codeforces Round #611 (Div. 3) Editorial 1800
1474 Super Jaber dfs and similar graphs implementation shortest paths Statement F Codeforces Round 619 (Div. 2) {1301} PROGRAMMING 2500.0 Codeforces Round #619 (Div. 2) Editorial 2700
7549 Cow and Fields binary search data structures dfs and similar graphs greedy shortest paths sortings Statement D Codeforces Round 621 (Div. 1 + Div. 2) {1307} PROGRAMMING 2000.0 Codeforces Round #621 (Div. 1 + Div. 2) Editorial 1900
789 Cow and Exercise flows graphs shortest paths Statement G Codeforces Round 621 (Div. 1 + Div. 2) {1307} PROGRAMMING 3500.0 Codeforces Round #621 (Div. 1 + Div. 2) Editorial 3000
2441 Ehab's REAL Number Theory Problem brute force dfs and similar graphs number theory shortest paths Statement E Codeforces Round 628 (Div. 2) {1325} PROGRAMMING 2500.0 74235 2700
3238 Divisor Paths combinatorics graphs greedy math number theory Statement E Educational Codeforces Round 85 (Rated for Div. 2) {1334} PROGRAMMING Educational Codeforces Round 85 Editorial
2487 Nastya and Unexpected Guest graphs shortest paths Statement C Codeforces Round 637 (Div. 1) - Thanks, Ivan Belonogov! {1340} PROGRAMMING 1250.0 Codeforces Round #637 Editorial
5882 Weights Distributing brute force graphs greedy shortest paths sortings Statement E Codeforces Round 636 (Div. 3) {1343} PROGRAMMING 76352 2400
4931 Orac and Game of Life dfs and similar graphs implementation shortest paths Statement C Codeforces Round 641 (Div. 1) {1349} PROGRAMMING 1250.0 Codeforces Round #641 Editorial 2000
28558 Polygon dp graphs implementation shortest paths Statement E Codeforces Round 644 (Div. 3) {1360} PROGRAMMING Codeforces Round #644 (Div. 3) Editorial 1300
21571 Solve The Maze constructive algorithms dfs and similar dsu graphs greedy implementation shortest paths Statement D Codeforces Round 648 (Div. 2) {1365} PROGRAMMING 1500.0 Editorial — Codeforces Round #648 1700
1856 The Hidden Pair (Easy Version) binary search dfs and similar graphs interactive shortest paths trees Statement F1 Codeforces Round 651 (Div. 2) {1370} PROGRAMMING 2000.0 Editorial — Codeforces Round #651
1746 The Hidden Pair (Hard Version) binary search dfs and similar graphs interactive shortest paths trees Statement F2 Codeforces Round 651 (Div. 2) {1370} PROGRAMMING 1250.0 Editorial — Codeforces Round #651
440 Spring cleaning *special data structures dfs and similar graphs trees Statement B Central-European Olympiad in Informatics, CEOI 2020, Day 2 (IOI, Unofficial Mirror Contest, Unrated) {1403} PROGRAMMING CEOI 2020 Online Mirror — Day 2 Tutorial
2016 Egor in the Republic of Dagestan constructive algorithms dfs and similar dp graphs greedy shortest paths Statement E Codeforces Round 669 (Div. 2) {1407} PROGRAMMING 2500.0 Codeforces Round #669 Editorial
3267 Returning Home data structures graphs implementation shortest paths sortings Statement D Codeforces Round 675 (Div. 2) {1422} PROGRAMMING 1500.0 Codeforces Round #675 (Div. 2) Editorial
241 Dušan's Railway graphs trees Statement C Bubble Cup 13 - Finals [Online Mirror, unrated, Div. 1] {1423} PROGRAMMING FinalsEditorial2020.pdf
5414 Reducing Delivery Cost dfs and similar graphs shortest paths Statement G Codeforces Round 677 (Div. 3) {1433} PROGRAMMING Codeforces Round #677 (Div. 3) Editorial
14664 Minimal Height Tree graphs greedy shortest paths trees Statement D Educational Codeforces Round 97 (Rated for Div. 2) {1437} PROGRAMMING 84149
2041 Graph Transpositions graphs greedy shortest paths Statement C Codeforces Round 681 (Div. 1, based on VK Cup 2019-2020 - Final) {1442} PROGRAMMING 1500.0 84298
1571 Capitalism constructive algorithms dfs and similar graphs shortest paths Statement E Codeforces Global Round 12 {1450} PROGRAMMING 2500.0 Codeforces Global Round 12 Editorial
5949 Moving to the Capital dfs and similar dp graphs shortest paths Statement G Codeforces Round 693 (Div. 3) {1472} PROGRAMMING Codeforces Round #693 (Div. 3) Editorial
5097 Minimum Path dp graphs implementation shortest paths Statement E Educational Codeforces Round 102 (Rated for Div. 2) {1473} PROGRAMMING Educational Codeforces Round 102 Editorial
1804 Useful Edges graphs shortest paths Statement F Технокубок 2021 - Финал {1482} PROGRAMMING 2750.0 Technocup 2021: Final Round and Codeforces Round #709 — tutorial
497 Useful Edges dp graphs shortest paths Statement D Codeforces Round 709 (Div. 1, based on Technocup 2021 Final Round) {1483} PROGRAMMING 1750.0 Technocup 2021: Final Round and Codeforces Round #709 — tutorial
3554 Paired Payment binary search constructive algorithms dp graphs shortest paths Statement E Codeforces Round 703 (Div. 2) {1486} PROGRAMMING 2250.0 Codeforces Round #703 (Div. 2) Editorial
1599 BFS Trees combinatorics dfs and similar graphs math shortest paths trees Statement D Codeforces Round 706 (Div. 1) {1495} PROGRAMMING 2000.0 Codeforces Round #706 Editorial
9550 Explorer Space dp graphs shortest paths Statement D Contest 2050 and Codeforces Round 718 (Div. 1 + Div. 2) {1517} PROGRAMMING 1750.0 Contest 2050 and Codeforces Round #718 (Div.1 + Div.2) Editorial
4408 To Go Or Not To Go? dfs and similar graphs greedy shortest paths Statement G Codeforces Round 719 (Div. 3) {1520} PROGRAMMING Editorial
1793 It's a bird! No, it's a plane! No, it's AaParsa! graphs shortest paths Statement D Codeforces Round 722 (Div. 1) {1528} PROGRAMMING 2000.0 Codeforces Round #722 Editorial
2121 Lost Array constructive algorithms dp graphs interactive shortest paths Statement E Codeforces LATOKEN Round 1 (Div. 1 + Div. 2) {1534} PROGRAMMING 2250.0 Codeforces LATOKEN Round 1 (Div. 1 + Div. 2) Editorial
2773 Omkar and Forest combinatorics graphs math shortest paths Statement E Codeforces Round 724 (Div. 2) {1536} PROGRAMMING 2250.0 Codeforces Round #724 — Editorial 2300
15140 Great Graphs constructive algorithms graphs greedy shortest paths sortings Statement A Codeforces Round 728 (Div. 1) {1540} PROGRAMMING 500.0 Tutorial
973 Jumping Around data structures divide and conquer dp dsu graphs shortest paths trees Statement F Educational Codeforces Round 111 (Rated for Div. 2) {1550} PROGRAMMING Educational Codeforces Round 111 Editorial
769 Down Below binary search dfs and similar graphs meet-in-the-middle shortest paths Statement E Codeforces Round 740 (Div. 1, based on VK Cup 2021 - Final (Engine)) {1558} PROGRAMMING 3000.0 Codeforces Round #740 Editorial 3000
444 Four Vertices constructive algorithms data structures graphs greedy implementation shortest paths Statement G Codeforces Global Round 16 {1566} PROGRAMMING 3000.0 Codeforces Global Round 16 Editorial
4929 The Strongest Build data structures dfs and similar graphs greedy hashing implementation shortest paths Statement D Educational Codeforces Round 114 (Rated for Div. 2) {1574} PROGRAMMING 95188
474 Anti-Tetris constructive algorithms graphs shortest paths Statement A ICPC WF Moscow Invitational Contest - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1578} PROGRAMMING Tutorial (PDF)
5447 Array Stabilization (AND version) binary search brute force graphs greedy implementation math number theory shortest paths Statement F Codeforces Round 744 (Div. 3) {1579} PROGRAMMING Codeforces Round #744 (Div. 3) Editorial
126 Railway Construction brute force constructive algorithms data structures graphs shortest paths Statement E Codeforces Round 745 (Div. 1) {1580} PROGRAMMING 3500.0 Codeforces Round #745 Editorial 3400
5586 Frog Traveler data structures dp graphs shortest paths Statement B Codeforces Round 751 (Div. 1) {1601} PROGRAMMING 1250.0 95865 1900
479 Reindeer Games constructive algorithms flows graphs shortest paths Statement H Codeforces Global Round 18 {1615} PROGRAMMING 4000.0 Global Round 18 Editorial
1081 Christmas Chocolates dfs and similar dp games graphs implementation math number theory shortest paths trees Statement E Codeforces Round 761 (Div. 2) {1617} PROGRAMMING 3000.0 Editorial for Codeforces Round #761 (Div. 2)
324 Trains and Airplanes graphs shortest paths Statement H Hello 2022 {1621} PROGRAMMING 3500.0
694 Not Splitting geometry graphs implementation shortest paths Statement F Codeforces Round 766 (Div. 2) {1627} PROGRAMMING 2750.0 Codeforces Round #766 (Div. 2) Editorial
3109 Counting Shortcuts dfs and similar dp graphs shortest paths Statement G Codeforces Round 776 (Div. 3) {1650} PROGRAMMING 100712
6828 Nearest Excluded Points binary search data structures dfs and similar graphs shortest paths Statement D Educational Codeforces Round 124 (Rated for Div. 2) {1651} PROGRAMMING Educational Codeforces Round 124 Editorial
475 Snowy Mountain data structures graphs greedy shortest paths trees Statement G Codeforces Round 778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round) {1654} PROGRAMMING 3500.0 Editorial of Codeforces Round #778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round) 2900
21248 Getting Zero brute force dfs and similar graphs greedy shortest paths Statement B Educational Codeforces Round 126 (Rated for Div. 2) {1661} PROGRAMMING Educational Codeforces Round 126 Editorial
1293 Antennas data structures dfs and similar graphs graphs implementation implementation shortest paths shortest paths Statement F SWERC 2021-2022 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1662} PROGRAMMING 102042
15116 Vertical Paths graphs implementation trees Statement D Codeforces Round 787 (Div. 3) {1675} PROGRAMMING 102550
3288 Keshi in Search of AmShZ graphs greedy shortest paths Statement C Codeforces Round 800 (Div. 1) {1693} PROGRAMMING 1500.0 Codeforces Round #800 Editorial 2300
2447 Long Way Home data structures divide and conquer dp geometry graphs shortest paths Statement E Codeforces Round 816 (Div. 2) {1715} PROGRAMMING 2750.0 Codeforces Round #816 (Div. 2) editorial
4746 Moving Both Hands dp graphs shortest paths Statement M COMPFEST 14 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1725} PROGRAMMING Tutorial
2147 Ela and the Wiring Wizard graphs greedy shortest paths Statement D Dytechlab Cup 2022 {1737} PROGRAMMING 2000.0 Editorial of Dytechlab Cup 2022
1428 Connectivity Addicts constructive algorithms dsu graphs greedy interactive shortest paths sortings trees Statement F Codeforces Global Round 22 {1738} PROGRAMMING 2750.0 Editorial of Codeforces Global Round <strong>22</strong>
1993 Kirill and Company bitmasks brute force dp graphs shortest paths Statement G Codeforces Round 826 (Div. 3) {1741} PROGRAMMING 107908
2173 Cactus Wall dfs and similar graphs shortest paths Statement E Educational Codeforces Round 138 (Rated for Div. 2) {1749} PROGRAMMING 108269
2182 The Beach graphs shortest paths Statement D Codeforces Round 829 (Div. 1) {1753} PROGRAMMING 2000.0 Tutorial 2400
9097 Friendly Spiders dfs and similar graphs math number theory shortest paths Statement D Codeforces Round 843 (Div. 2) {1775} PROGRAMMING 2000.0 Codeforces Round #843 (Div. 2) Editorial
455 The Game of the Century constructive algorithms graphs shortest paths Statement G Hello 2023 {1779} PROGRAMMING 2750.0
4205 Timofey and Black-White Tree brute force dfs and similar divide and conquer graphs greedy math shortest paths trees Statement F Codeforces Round 847 (Div. 3) {1790} PROGRAMMING 111948
1357 Tokens on Graph constructive algorithms dfs and similar graphs shortest paths Statement G Codeforces Round 847 (Div. 3) {1790} PROGRAMMING 111948
2979 The way home dp graphs greedy shortest paths sortings Statement D Codeforces Round 857 (Div. 1) {1801} PROGRAMMING 1750.0 Codeforces Round #857 Editorial
1214 Approximate Diameter binary search divide and conquer graphs shortest paths Statement F Nebius Welcome Round (Div. 1 + Div. 2) {1804} PROGRAMMING 2750.0 Nebius Welcome Round Editorial
3709 Sum Graph constructive algorithms graphs implementation interactive math shortest paths trees Statement B Codeforces Round 865 (Div. 1) {1815} PROGRAMMING 1250.0 Editorial of Codeforces Round #865 2000
2432 Between constructive algorithms dfs and similar graphs greedy shortest paths Statement C Codeforces Round 865 (Div. 1) {1815} PROGRAMMING 1750.0 Editorial of Codeforces Round #865 2200
326 OH NO1 (-2-3-4) constructive algorithms graphs math shortest paths Statement F Codeforces Round 865 (Div. 1) {1815} PROGRAMMING 3500.0 Editorial of Codeforces Round #865 3500
19827 Round Dance dsu graphs shortest paths Statement E Codeforces Round 874 (Div. 3) {1833} PROGRAMMING 116636
4856 Tenzing and His Animal Friends brute force constructive algorithms graphs greedy shortest paths Statement D CodeTON Round 5 (Div. 1 + Div. 2, Rated, Prizes!) {1842} PROGRAMMING 1500.0 CodeTON Round 5 Editorial
6127 Rudolf and CodeVid-23 bitmasks dp graphs greedy shortest paths Statement G Codeforces Round 883 (Div. 3) {1846} PROGRAMMING
13730 Nastya and Potions dfs and similar dp graphs greedy shortest paths sortings Statement E Codeforces Round 888 (Div. 3) {1851} PROGRAMMING 118667
611 Teleportation in Byteland data structures divide and conquer graphs shortest paths trees Statement F Codeforces Round 892 (Div. 2) {1859} PROGRAMMING 3000.0 Video solutions from Geothermal.
1887 Fast Travel Text Editor dfs and similar graphs shortest paths Statement E Educational Codeforces Round 153 (Rated for Div. 2) {1860} PROGRAMMING Educational Codeforces Round 153 Editorial
3100 Another MEX Problem bitmasks dp graphs shortest paths Statement E CodeTON Round 6 (Div. 1 + Div. 2, Rated, Prizes!) {1870} PROGRAMMING 2750.0 CodeTON Round 6 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
9821 Mad City dfs and similar dsu graphs shortest paths Statement H Codeforces Round 898 (Div. 4) {1873} PROGRAMMING 120634
1441 Jellyfish and Math bitmasks dp graphs shortest paths Statement B Codeforces Round 901 (Div. 1) {1874} PROGRAMMING 1250.0 Codeforces Round 901 (Div. 1, Div. 2) Editorial
10099 Minimum Maximum Distance dfs and similar dp graphs shortest paths trees Statement F Codeforces Round 903 (Div. 3) {1881} PROGRAMMING 121327
4059 Time Travel binary search graphs implementation shortest paths Statement B Codeforces Round 905 (Div. 1) {1887} PROGRAMMING 750.0 Codeforces Round #905 (Div. 1, Div. 2, Div. 3) Editorial
9738 Alex's whims constructive algorithms graphs shortest paths trees Statement F Codeforces Round 909 (Div. 3) {1899} PROGRAMMING Разбор Codeforces Round 909 (Div. 3)
10602 Bicycles dp graphs greedy implementation shortest paths sortings Statement G Codeforces Round 918 (Div. 4) {1915} PROGRAMMING 123952
1433 Moving Platforms graphs math number theory shortest paths Statement G Codeforces Round 927 (Div. 3) {1932} PROGRAMMING 126196
3035 Turtle Mission: Robot and the Earthquake dfs and similar dp graphs shortest paths Statement F Codeforces Round 929 (Div. 3) {1933} PROGRAMMING Codeforces Round 929 (Div. 3) Editorial
1787 Pokémon Arena data structures graphs shortest paths Statement C Codeforces Round 930 (Div. 1) {1936} PROGRAMMING 1500.0 Codeforces Round 930 (Div. 1, Div. 2) Editorial
5043 Rudolf and Subway dfs and similar graphs shortest paths Statement G Codeforces Round 933 (Div. 3) {1941} PROGRAMMING 127018
21651 Arrow Path dfs and similar graphs shortest paths Statement C Educational Codeforces Round 163 (Rated for Div. 2) {1948} PROGRAMMING Educational Codeforces Round 163 Editorial
1007 Long Way to be Non-decreasing binary search dfs and similar graphs implementation shortest paths two pointers Statement D Codeforces Round 942 (Div. 1) {1967} PROGRAMMING 1750.0 Tutorial 2800
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
3265 Call During the Journey binary search brute force graphs greedy shortest paths Statement G Codeforces Round 966 (Div. 3) {2000} PROGRAMMING 132689
13608 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
9541 Rendez-vous de Marian et Robin graphs shortest paths Statement E Codeforces Round 974 (Div. 3) {2014} PROGRAMMING Discussion stream (With Hints)
1976 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
7363 Skipping brute force data structures dp graphs greedy shortest paths Statement B Codeforces Round 980 (Div. 1) {2023} PROGRAMMING 1000.0 135341
3856 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
5444 Drunken Maze dfs and similar graphs shortest paths Statement D 2024 ICPC Asia Taichung Regional Contest (Unrated, Online Mirror, ICPC Rules, Preferably Teams) {2041} PROGRAMMING Problem Analysis and Hints (PDF)
988 X Aura graphs shortest paths Statement G 2024-2025 ICPC Asia Jakarta Regional Contest (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2045} PROGRAMMING raRzKDJLPHcUnqTcwvGznwEdKiDWjEkd.pdf 2200
158 Incompetent Delivery Guy graphs shortest paths Statement I 2024-2025 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {2052} PROGRAMMING
111 Affectionate Arrays (Hard Version) data structures dp graphs greedy math shortest paths two pointers Statement I2 Good Bye 2024: 2025 is NEAR {2053} PROGRAMMING 2000.0 Good Bye 2024: 2025 is NEAR Editorial
2712 Another Exercise on Graphs (Easy Version) binary search brute force dp graphs shortest paths Statement E1 Hello 2025 {2057} PROGRAMMING 1000.0
2025 Another Exercise on Graphs (hard version) binary search brute force dsu graphs shortest paths sortings trees Statement E2 Hello 2025 {2057} PROGRAMMING 2000.0
6797 Graph and Graph data structures graphs greedy shortest paths Statement D Codeforces Round 1002 (Div. 2) {2059} PROGRAMMING 2000.0 139094
389 Porto Vs. Benfica data structures dfs and similar dsu graphs shortest paths Statement E European Championship 2025 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {2068} PROGRAMMING 140239
72 Pinball graphs shortest paths Statement I European Championship 2025 - Online Mirror (Unrated, ICPC Rules, Teams Preferred) {2068} PROGRAMMING 140239
1650 Gleb and Boating brute force constructive algorithms data structures dp graphs greedy math shortest paths Statement G Codeforces Round 1013 (Div. 3) {2091} PROGRAMMING Codeforces Round 1013 (Div. 3) Editorial
941 Spruce Dispute constructive algorithms dfs and similar graphs implementation shortest paths trees Statement E Codeforces Round 1022 (Div. 2) {2108} PROGRAMMING 2750.0 Codeforces Round 1022 Editorial
290 Penguin Steps binary search dfs and similar flows graphs shortest paths Statement F Codeforces Round 1025 (Div. 2) {2109} PROGRAMMING 3000.0 Codeforces Round 1025 (Div. 2) Editorial
5935 D/D/D dfs and similar graphs greedy shortest paths Statement D Codeforces Round 1025 (Div. 2) {2109} PROGRAMMING 1750.0 Codeforces Round 1025 (Div. 2) Editorial
669 Variables and Operations graphs greedy shortest paths Statement F Educational Codeforces Round 180 (Rated for Div. 2) {2112} PROGRAMMING Educational Codeforces Round 180 — Editorial
5451 Omg Graph brute force dsu graphs greedy shortest paths sortings Statement G Codeforces Round 1029 (Div. 3) {2117} PROGRAMMING Codeforces Round 1029 (Div. 3) Editorial
3071 Traffic Lights brute force dp graphs shortest paths Statement D Order Capital Round 1 (Codeforces Round 1038, Div. 1 + Div. 2) {2122} PROGRAMMING 2000.0 Order Capital Round 1 (Codeforces Round 1038, Div. 1 + Div. 2) Editorial
408 Strict Triangle graphs shortest paths Statement F Codeforces Round 1039 (Div. 2) {2128} PROGRAMMING 4000.0 Codeforces Round #1039 — Editorial
2978 Rada and the Chamomile Valley dfs and similar graphs shortest paths Statement F Codeforces Round 1043 (Div. 3) {2132} PROGRAMMING Codeforces Round 1043 (Div. 3) Editorial
1073 Long Journey dfs and similar dp graphs matrices number theory shortest paths Statement F Educational Codeforces Round 183 (Rated for Div. 2) {2145} PROGRAMMING Educational Codeforces Round 183 Editorial
425 Shortest GCD Paths dp graphs math number theory shortest paths Statement F Educational Codeforces Round 191 (Rated for Div. 2) {2233} PROGRAMMING 154371
171 Even Simple Path constructive algorithms graphs shortest paths Statement F Codeforces Round 1112 (Div. 1) {2249} PROGRAMMING 3500.0 Codeforces Round 1112 (Div. 1, Div. 2) Editorial