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 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
7519 Fruits greedy implementation sortings Statement C Codeforces Beta Round 12 (Div 2 Only) {12} PROGRAMMING 1400
9825 Correct Solution? implementation sortings Statement B Codeforces Beta Round 12 (Div 2 Only) {12} PROGRAMMING 1400
4575 Cottage Village implementation sortings Statement A Codeforces Beta Round 15 {15} PROGRAMMING Codeforces Beta #15 Tutorial (Incomplete) 1400
978 Map data structures implementation sortings Statement D Codeforces Beta Round 15 {15} PROGRAMMING Короткий разбор задач CF #15 2500
21140 Burglar and Matches greedy implementation sortings Statement B Codeforces Beta Round 16 (Div. 2 Only) {16} PROGRAMMING Codeforces Beta Round #16 Tutorial 1300
23425 Next Test implementation sortings Statement A Codeforces Beta Round 27 (Codeforces format, Div. 2) {27} PROGRAMMING Solution of ABC @ Round#27 1900
4860 Page Numbers expression parsing implementation sortings strings Statement C Codeforces Beta Round 34 (Div. 2) {34} PROGRAMMING Codeforces Beta Round #34 (Div. 2) Разбор 1400
363 Inquisition geometry implementation sortings Statement C Codeforces Beta Round 58 {62} PROGRAMMING Codeforces Beta Round #58 tutorial 2300
13627 Sinking Ship implementation sortings strings Statement A Codeforces Beta Round 59 (Div. 2) {63} PROGRAMMING Разбор задач Codeforces Round #59 (Div. 2) 1100
8057 Colorful Field implementation sortings Statement B Codeforces Beta Round 71 {79} PROGRAMMING Codeforces Beta Round #71 - разбор (перевод A-D) 1500
1100 Beautiful Road dfs and similar dp dsu graphs implementation sortings trees Statement D Codeforces Beta Round 73 (Div. 1 Only) {87} PROGRAMMING CodeForces Beta Round #73 div. 1 analysis (particulary with div. 2) 2300
3246 Help Chef Gerasim implementation sortings Statement B Codeforces Beta Round 78 (Div. 2 Only) {99} PROGRAMMING Codeforces Beta Round #78 Div 2 (ABC solutions) 1400
409 Item World brute force implementation sortings Statement C Codeforces Beta Round 81 {105} PROGRAMMING Tutorial 2100
1147 Before Exam constructive algorithms implementation sortings Statement B Codeforces Beta Round 90 {119} PROGRAMMING Разбор задачи E Codeforces Beta Round #90 1700
8326 Replacement greedy implementation sortings Statement A Codeforces Beta Round 97 (Div. 1) {135} PROGRAMMING Codeforces Beta Round #97: editorial 1400
104129 Amusing Joke implementation sortings strings Statement A Codeforces Round 101 (Div. 2) {141} PROGRAMMING Codeforces Round #101 (Div. 2) Разбор Задач. 900
47048 Business trip greedy implementation sortings Statement A Codeforces Round 106 (Div. 2) {149} PROGRAMMING Codeforces Round #106 (Div. 2) Tutorial 1100
3769 Find Pair implementation math sortings Statement C Codeforces Round 111 (Div. 2) {160} PROGRAMMING Codeforces Round #111 (Div. 2) Разбор Задач 1700
21421 Rank List binary search implementation sortings Statement A Codeforces Round 113 (Div. 2) {166} PROGRAMMING Codeforces Round #113 (Div. 2) Tutorial 1200
1263 Bus *special implementation sortings Statement C Croc Champ 2012 - Qualification Round {172} PROGRAMMING 1900
1539 Geometry Horse greedy implementation sortings two pointers Statement C Codeforces Round 115 {175} PROGRAMMING Codeforces Round #115 — editorial A-E 1600
13405 Little Elephant and Problem implementation sortings Statement A Codeforces Round 136 (Div. 1) {220} PROGRAMMING Codeforces Round #136 — Editorial 1400
3031 Reducing Fractions implementation math number theory sortings Statement C Codeforces Round 137 (Div. 2) {222} PROGRAMMING Разбор задач Codeforces Round #137 (Div. 2) 2000
2384 Young Table implementation sortings Statement B Codeforces Round 147 (Div. 2) {237} PROGRAMMING Codeforces Round #147 (Div. 2) Разбор Задач 1500
17528 Big Segment implementation sortings Statement B Codeforces Round 149 (Div. 2) {242} PROGRAMMING Codeforces Round #149 (Div. 2) Tutorial 1100
613 Printer binary search data structures implementation sortings Statement E Codeforces Round 154 (Div. 2) {253} PROGRAMMING Codeforces Round #154 (Div. 2) — tutorial 2300
6974 Sockets greedy implementation sortings Statement A Codeforces Round 159 (Div. 2) {257} PROGRAMMING Codeforces Round #159 (Div. 2) Разбор Задач 1200
9874 Squares greedy implementation sortings Statement B Codeforces Round 161 (Div. 2) {263} PROGRAMMING Codeforces Round #161 Tutorial 1000
42130 Little Girl and Maximum Sum data structures greedy implementation sortings Statement C Codeforces Round 169 (Div. 2) {276} PROGRAMMING Codeforces Round #169 — Unofficial Editorial 1600
26600 Building Permutation greedy implementation sortings Statement C Codeforces Round 175 (Div. 2) {285} PROGRAMMING Codeforces Round #175 (Div. 2) Tutorial 1300
19183 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
6543 Spyke Talks *special implementation sortings Statement A Croc Champ 2013 - Qualification Round {291} PROGRAMMING 1900
5997 Ilya and Matrix constructive algorithms greedy implementation sortings Statement C Codeforces Round 186 (Div. 2) {313} PROGRAMMING Tutorial 1400
2273 Characteristics of Rectangles binary search bitmasks brute force implementation sortings Statement D Codeforces Round 194 (Div. 1) {333} PROGRAMMING Codeforces Round 194 — Editoral 2100
284783 Helpful Maths greedy implementation sortings strings Statement A Codeforces Round 197 (Div. 2) {339} PROGRAMMING Codeforces Round #197 — Tutorial 900
9877 Difference Row constructive algorithms implementation sortings Statement A Codeforces Round 201 (Div. 2) {347} PROGRAMMING Codeforces Round #201 Editorial 1300
6858 Bombs greedy implementation sortings Statement C Codeforces Round 203 (Div. 2) {350} PROGRAMMING Editorial Codeforces Round #203 (Div. 2) 1600
18375 Jeff and Periods implementation sortings Statement B Codeforces Round 204 (Div. 2) {352} PROGRAMMING 1300
2446 Two Heaps combinatorics constructive algorithms greedy implementation math sortings Statement B Codeforces Round 205 (Div. 2) {353} PROGRAMMING 9145 1800
14826 Petya and Staircases implementation sortings Statement B Codeforces Round 212 (Div. 2) {362} PROGRAMMING Codeforces Round #212 (Div. 2). Tutorial. Part 1. 1200
5465 Maximum Submatrix 2 data structures dp implementation sortings Statement B Codeforces Round 221 (Div. 1) {375} PROGRAMMING Codeforces Round #221 Tutorial 1800
6248 Semifinals implementation sortings Statement B Codeforces Round 222 (Div. 2) {378} PROGRAMMING Codeforces Round #222 — Problem Analysis 1300
7411 Sereja and Stairs greedy implementation sortings Statement B Codeforces Round 223 (Div. 2) {381} PROGRAMMING Codeforces Round #223 — Tutorial 1100
8790 Arithmetic Progression implementation sortings Statement C Codeforces Round 224 (Div. 2) {382} PROGRAMMING Codeforces Round #224 (Div. 2) Editorial 1700
814 Volcanoes binary search implementation sortings two pointers Statement B Codeforces Round 225 (Div. 1) {383} PROGRAMMING Tutorial 2200
3830 Multitasking greedy implementation sortings two pointers Statement B Codeforces Round 225 (Div. 2) {384} PROGRAMMING Codeforces Round #225 — Editorial 1500
130147 Gravity Flip greedy implementation sortings Statement A Codeforces Round 238 (Div. 2) {405} PROGRAMMING Codeforces Round #238 Tutorial 1000
8514 Megacity binary search greedy implementation sortings Statement B Codeforces Round 242 (Div. 2) {424} PROGRAMMING Codeforces Round #242 (Div. 2) Editorial 1200
70735 Choosing Teams greedy implementation sortings Statement A Codeforces Round 246 (Div. 2) {432} PROGRAMMING Codeforces Round #246 (Div. 2) Editorial 900
56550 Kuriyama Mirai's Stones dp implementation sortings Statement B Codeforces Round 248 (Div. 2) {433} PROGRAMMING Codeforces Round #248 Editorial 1200
2635 Ryouko's Memory Note implementation math sortings Statement C Codeforces Round 248 (Div. 2) {433} PROGRAMMING Codeforces Round #248 Editorial 1900
10551 The Child and Set bitmasks greedy implementation sortings Statement B Codeforces Round 250 (Div. 2) {437} PROGRAMMING 12513 1500
15090 Devu, the Dumb Guy implementation sortings Statement B Codeforces Round 251 (Div. 2) {439} PROGRAMMING Codeforces Round #251 Editorial 1200
54205 Sort the Array implementation sortings Statement B Codeforces Round 258 (Div. 2) {451} PROGRAMMING Codeforces Round #258 Editorial 1300
48634 Pashmak and Flowers combinatorics implementation sortings Statement B Codeforces Round 261 (Div. 2) {459} PROGRAMMING Codeforces Round #261 Editorial 1300
6235 MUH and Important Things implementation sortings Statement B Codeforces Round 269 (Div. 2) {471} PROGRAMMING Codeforces Round #269 Editorial 1400
8511 Towers brute force constructive algorithms greedy implementation sortings Statement B Codeforces Round 274 (Div. 2) {479} PROGRAMMING Codeforces Round #274: editorial 1400
10662 SwapSort greedy implementation sortings Statement A Codeforces Round 277.5 (Div. 2) {489} PROGRAMMING Codeforces Round #277.5 (Div. 2) Editorial [A-D for now] 1300
73125 Team Olympiad greedy implementation sortings Statement A Codeforces Round 279 (Div. 2) {490} PROGRAMMING Codeforces Round #279 (Div. 2) Editorial 900
92786 Vanya and Lanterns binary search implementation math sortings Statement B Codeforces Round 280 (Div. 2) {492} PROGRAMMING Разбор задач 1200
3335 Vanya and Computer Game binary search implementation math sortings Statement D Codeforces Round 280 (Div. 2) {492} PROGRAMMING Разбор задач 1800
7585 Vasya and Basketball binary search brute force data structures implementation sortings two pointers Statement C Codeforces Round 281 (Div. 2) {493} PROGRAMMING Codeforces Round #281 (Div. 2) Editorial 1700
22263 Amr and Music greedy implementation sortings Statement A Codeforces Round 287 (Div. 2) {507} PROGRAMMING Editorial 1100
44332 A and B and Compilation Errors data structures implementation sortings Statement B Codeforces Round 294 (Div. 2) {519} PROGRAMMING 1200
5123 Clique Problem data structures dp greedy implementation sortings Statement D Codeforces Round 296 (Div. 2) {527} PROGRAMMING Codeforces Round #296 Editorial 2100
2598 Infinite Inversions binary search data structures implementation sortings trees Statement E Codeforces Round 301 (Div. 2) {540} PROGRAMMING Tutorial 2400
30321 Queue greedy implementation sortings Statement D Codeforces Round 303 (Div. 2) {545} PROGRAMMING Codeforces Round #303 (Div.2) editorial 1400
18813 Soldier and Badges brute force greedy implementation sortings Statement B Codeforces Round 304 (Div. 2) {546} PROGRAMMING Codeforces Round #304 (Div.2) editorial 1300
17963 GukiZ and Contest brute force implementation sortings Statement A Codeforces Round 307 (Div. 2) {551} PROGRAMMING Tutorial 1000
7524 Pasha and Tea constructive algorithms implementation math sortings Statement B Codeforces Round 311 (Div. 2) {557} PROGRAMMING Codeforces Round #311 (Div.2) Editorial 1500
11073 Lala Land and Apple Trees brute force implementation sortings Statement A Codeforces Round 312 (Div. 2) {558} PROGRAMMING Codeforces Round #312 (Div. 2) Editorial 1200
1234 Guess Your Way Out! II data structures implementation sortings Statement D Codeforces Round 312 (Div. 2) {558} PROGRAMMING Codeforces Round #312 (Div. 2) Editorial 2500
20062 Currency System in Geraldion implementation sortings Statement A Codeforces Round 313 (Div. 2) {560} PROGRAMMING Codeforces Round 313 — Extended editoral 1100
9100 Order Book data structures greedy implementation sortings Statement B Codeforces Round 317 [AimFund Thanks-Round] (Div. 2) {572} PROGRAMMING Codeforces Round #317 [AimFund Thanks-Round] Editorial 1400
5515 Finding Team Member brute force implementation sortings Statement B Codeforces Round 320 (Div. 2) [Bayan Thanks-Round] {579} PROGRAMMING Codeforces Round #320 [Bayan Thanks-Round] Editorial 1400
7655 Developing Skills implementation math sortings Statement C Codeforces Round 322 (Div. 2) {581} PROGRAMMING Codeforces Round #322 (Div.2) Editorial 1400
19648 Флеш-карты greedy implementation sortings Statement A Educational Codeforces Round 3 {609} PROGRAMMING Editorial 800
3453 Spy Syndrome 2 data structures dp hashing implementation sortings string suffix structures strings Statement C Manthan, Codefest 16 {633} PROGRAMMING Manthan, Codefest 16: Editorials 1900
1024 Hostname Aliases *special binary search data structures implementation sortings strings Statement C CROC 2016 - Qualification {644} PROGRAMMING 2300
9316 Bear and Three Balls brute force implementation sortings Statement A IndiaHacks 2016 - Online Edition (Div. 1 + Div. 2) {653} PROGRAMMING IndiaHacks Finals 2016 — Editorial 1000
10124 Cinema implementation sortings Statement C Codeforces Round 350 (Div. 2) {670} PROGRAMMING Codeforces Round #350 (Div.2) Editorial 1400
559 Kay and Eternity brute force implementation sortings Statement D Codeforces Round 359 (Div. 1) {685} PROGRAMMING Codeforces Round #359 Editorial 2600
8046 Little Robber Girl's Zoo constructive algorithms implementation sortings Statement B Codeforces Round 359 (Div. 2) {686} PROGRAMMING Codeforces Round #359 Editorial 1200
5057 Checkpoints greedy implementation sortings Statement B AIM Tech Round 3 (Div. 2) {709} PROGRAMMING 1500
15639 Filya and Homework implementation sortings Statement B Codeforces Round 371 (Div. 2) {714} PROGRAMMING Codeforces Round #371 Editorial 1200
4374 Potions Homework implementation sortings Statement C Bubble Cup 9 - Finals [Online Mirror] {717} PROGRAMMING Tutorial 1200
12530 Passwords implementation math sortings strings Statement B Codeforces Round 374 (Div. 2) {721} PROGRAMMING Codeforces Round #374 (Div. 2) Editorial 1200
103809 The New Year: Meeting Friends implementation math sortings Statement A Codeforces Round 375 (Div. 2) {723} PROGRAMMING Codeforces Round #375 (Div.2) Editorial 800
2290 Ray Tracing greedy hashing implementation math number theory sortings Statement C Intel Code Challenge Final Round (Div. 1 + Div. 2, Combined) {724} PROGRAMMING Tutorial 1800
11041 USB vs. PS/2 greedy implementation sortings two pointers Statement B Educational Codeforces Round 17 {762} PROGRAMMING Tutorial 1400
4229 Jon Snow and his Favourite Number brute force dp implementation sortings Statement C Divide by Zero 2017 and Codeforces Round 399 (Div. 1 + Div. 2, combined) {768} PROGRAMMING Editorial Divide by Zero and Codeforces Round #399 (Div. 1+2, combined) 1800
6493 Year of University Entrance *special implementation sortings Statement A VK Cup 2017 - Qualification 1 {769} PROGRAMMING Tutorial 1500
9861 New Bus Route implementation sortings Statement A Educational Codeforces Round 18 {792} PROGRAMMING Educational Codeforces Round 18 - Editorial 1100
1396 Mice problem geometry implementation math sortings Statement C Tinkoff Challenge - Elimination Round {793} PROGRAMMING 51685 2200
23588 Is it rated? implementation sortings Statement A Codeforces Round 412 (rated, Div. 2, base on VK Cup 2017 Round 3) {807} PROGRAMMING VK Cup 2017 Round 3 + Codeforces Round #412 -- Tutorial 900
4913 Do you want a date? implementation math sortings Statement A Codeforces Round 415 (Div. 1) {809} PROGRAMMING 52099 1500
6815 Vladik and Complicated Book implementation sortings Statement B Codeforces Round 416 (Div. 2) {811} PROGRAMMING Editorial 1300
11097 An abandoned sentiment from past constructive algorithms greedy implementation sortings Statement A Codeforces Round 418 (Div. 2) {814} PROGRAMMING Codeforces Round #418 (Div. 2) Editorial 1000
6500 Makes And The Product combinatorics implementation math sortings Statement B Educational Codeforces Round 23 {817} PROGRAMMING 52638 1500
4964 Hacker, pack your bags! binary search greedy implementation sortings Statement C Codeforces Round 422 (Div. 2) {822} PROGRAMMING Codeforces Round #422 (Div. 2) Editorial 1600
3073 Cards Sorting data structures implementation sortings Statement B Codeforces Round 424 (Div. 1, rated, based on VK Cup Finals) {830} PROGRAMMING Codeforces Round #424 Editorial 1800
1386 Bamboo Partition brute force data structures implementation math number theory sortings two pointers Statement C Codeforces Round 424 (Div. 1, rated, based on VK Cup Finals) {830} PROGRAMMING Codeforces Round #424 Editorial 2500
6003 Sorting by Subsequences dfs and similar dsu implementation math sortings Statement A AIM Tech Round 4 (Div. 1) {843} PROGRAMMING AIM Tech Round 4 -- Editorial 1400
8525 Chess Tourney implementation sortings Statement A Educational Codeforces Round 27 {845} PROGRAMMING 53986 1100
2018 Rooter's Song constructive algorithms data structures geometry implementation sortings two pointers Statement B Codeforces Round 431 (Div. 1) {848} PROGRAMMING Codeforces Round #431 Editorial 2100
4244 Polycarp's phone book data structures implementation sortings Statement D Технокубок 2018 - Отборочный Раунд 1 {858} PROGRAMMING Codeforces Round 434 Div.1+Div.2 (and Technocup 2018 — Elimination Round 1) Editorial 1700
12342 Fair Game implementation sortings Statement A Codeforces Round 436 (Div. 2) {864} PROGRAMMING Codeforces Round #436 (Div.2) Разбор 1000
5407 Sorting the Coins dsu implementation sortings two pointers Statement B Codeforces Round 441 (Div. 1, by Moscow Team Olympiad) {875} PROGRAMMING Codeforces Round #441. Editorial. 1500
5847 Physical Education Lessons data structures implementation sortings Statement E Educational Codeforces Round 36 (Rated for Div. 2) {915} PROGRAMMING 57123 2300
2357 Resource Distribution binary search implementation sortings Statement B VK Cup 2018 - Round 3 {925} PROGRAMMING Разбор VK 2018 Round 3 + Codeforces Round #477 1800
16673 Olympiad implementation sortings Statement A Codeforces Round 467 (Div. 2) {937} PROGRAMMING Codeforces Round #467, Editorial 800
11370 Nested Segments greedy implementation sortings Statement C Educational Codeforces Round 43 (Rated for Div. 2) {976} PROGRAMMING 59195 1500
4977 Petya's Exams greedy implementation sortings Statement G Codeforces Round 481 (Div. 3) {978} PROGRAMMING T 1800
11297 Equal Sums implementation sortings Statement C Codeforces Round 486 (Div. 3) {988} PROGRAMMING 59810 1400
14447 Nastya and an Array implementation sortings Statement A Codeforces Round 489 (Div. 2) {992} PROGRAMMING 60083 900
6087 Knights of a Polygonal Table greedy implementation sortings Statement B Codeforces Round 488 by NEAR (Div. 2) {994} PROGRAMMING Codeforces Round #488 editorial 1400
8755 Covered Points Count data structures implementation sortings Statement C Educational Codeforces Round 46 (Rated for Div. 2) {1000} PROGRAMMING 60288 1700
14808 Polycarp's Practice greedy implementation sortings Statement B Codeforces Round 498 (Div. 3) {1006} PROGRAMMING 60672 1200
13334 Stages greedy implementation sortings Statement A Codeforces Round 499 (Div. 2) {1011} PROGRAMMING 60851 1000
6722 Photo of The Sky brute force implementation math sortings Statement A Codeforces Round 500 (Div. 1) [based on EJOI] {1012} PROGRAMMING 60920 1500
16718 Doggo Recoloring implementation sortings Statement A Codeforces Round 505 (rated, Div. 1 + Div. 2, based on VK Cup 2018 Final) {1025} PROGRAMMING Codeforces Round #505 Editorial 900
5151 Rectangles geometry implementation sortings Statement C AIM Tech Round 5 (rated, Div. 1 + Div. 2) {1028} PROGRAMMING 61493 1600
27056 Heist greedy implementation sortings Statement A Codeforces Round 509 (Div. 2) {1041} PROGRAMMING Codeforces Round #509 (Div. 2) Editorial 800
2593 Pick Heroes greedy implementation interactive sortings Statement C Mail.Ru Cup 2018 Round 3 {1056} PROGRAMMING Mail.Ru Cup 2018 Round 3 Editorial 1700
7703 Views Matter greedy implementation sortings Statement B Codeforces Round 523 (Div. 2) {1061} PROGRAMMING Tutorial (en) 1500
2596 TV Shows data structures greedy implementation sortings Statement D Codeforces Round 523 (Div. 2) {1061} PROGRAMMING Tutorial (en) 2000
4606 Taxi drivers and Lyft implementation sortings Statement B Lyft Level 5 Challenge 2018 - Final Round (Open Div. 2) {1075} PROGRAMMING E 1200
13685 Ehab and subtraction implementation sortings Statement B Codeforces Round 525 (Div. 2) {1088} PROGRAMMING Codeforces round #525 editorial 1000
1116 New Year and the Acquaintance Estimation binary search data structures graphs greedy implementation math sortings Statement E Good Bye 2018 {1091} PROGRAMMING Editorial 2400
16112 Lunar New Year and Number Division greedy implementation math sortings Statement C Codeforces Round 536 (Div. 2) {1106} PROGRAMMING Tutorial 1000
7505 Technogoblet of Fire implementation sortings Statement A Codeforces Round 543 (Div. 2, based on Technocup 2019 Final Round) {1121} PROGRAMMING Codeforces Round #543 and Technocup 2019 Final Round Editorial 1100
4706 Skyscrapers implementation sortings Statement A Codeforces Round 545 (Div. 1) {1137} PROGRAMMING Codeforces Round #545 – Editorial 1600
18449 Parity Alternated Deletions greedy implementation sortings Statement B Codeforces Round 550 (Div. 3) {1144} PROGRAMMING 66307 1000
7061 Two Teams data structures implementation sortings Statement E Codeforces Round 552 (Div. 3) {1154} PROGRAMMING Codeforces Round #552 (Div. 3) Editorial 1800
27936 Reverse a Substring implementation sortings strings Statement A Educational Codeforces Round 63 (Rated for Div. 2) {1155} PROGRAMMING 66687 1000
6608 Ugly Pairs dfs and similar greedy implementation sortings strings Statement B Educational Codeforces Round 64 (Rated for Div. 2) {1156} PROGRAMMING 66827 1800
8519 The Party and Sweets binary search constructive algorithms greedy implementation math sortings two pointers Statement A Codeforces Round 559 (Div. 1) {1158} PROGRAMMING 66993 1500
2363 Destroy it! dp implementation sortings Statement F Codeforces Round 565 (Div. 3) {1176} PROGRAMMING 67598 2500
2897 Irrigation binary search data structures implementation sortings trees two pointers Statement D Codeforces Round 567 (Div. 2) {1181} PROGRAMMING Editorial of Codeforces Round #567 (based on All-Russian olympiad in the name of Keldysh) 2100
2733 Candy Box (hard version) greedy implementation sortings Statement G Codeforces Round 570 (Div. 3) {1183} PROGRAMMING Tutorial 2100
19876 Shooting greedy implementation sortings Statement B Codeforces Round 587 (Div. 3) {1216} PROGRAMMING Codeforces Round #587 (Div. 3) Editorial 1000
33087 Cards implementation sortings strings Statement A Codeforces Round 586 (Div. 1 + Div. 2) {1220} PROGRAMMING Codeforces Round #586 Editorial 600
4566 Balanced Removals (Harder) binary search constructive algorithms divide and conquer greedy implementation sortings Statement C2 Codeforces Global Round 5 {1237} PROGRAMMING T 1900
17371 Dominated Subarray greedy implementation sortings strings two pointers Statement C Educational Codeforces Round 76 (Rated for Div. 2) {1257} PROGRAMMING Educational Codeforces Round 76 Editorial 1200
1074 Intriguing Selection brute force constructive algorithms implementation interactive sortings Statement I 2019-2020 ICPC, NERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1267} PROGRAMMING nerc-2019-tutorial.pdf 2700
3473 Portals data structures dp greedy implementation sortings Statement D Codeforces Round 608 (Div. 2) {1271} PROGRAMMING 72247 2100
11591 New Year and Ascent Sequence binary search combinatorics data structures dp implementation sortings Statement B Hello 2020 {1284} PROGRAMMING Hello 2020 Editorial 1500
23104 Collecting Packages implementation sortings Statement B Codeforces Round 615 (Div. 3) {1294} PROGRAMMING Codeforces Round #615 (Div. 3) Editorial 1200
127 Movie Fan *special data structures greedy implementation sortings Statement F Kotlin Heroes: Episode 3 {1297} PROGRAMMING Kotlin Heroes: Episode 3 Editorial
433 Cartoons *special implementation sortings Statement B Kotlin Heroes: Episode 3 {1297} PROGRAMMING Kotlin Heroes: Episode 3 Editorial
26326 Assigning to Classes greedy implementation sortings Statement B Codeforces Round 618 (Div. 2) {1300} PROGRAMMING 750.0 Codeforces Round #618 Editorial 1000
17976 Air Conditioner dp greedy implementation sortings two pointers Statement C Codeforces Round 620 (Div. 2) {1304} PROGRAMMING 1500.0 Codeforces Round #620 (Div. 2) Editorial 1500
4930 Moving Points data structures divide and conquer implementation sortings Statement F Codeforces Round 624 (Div. 3) {1311} PROGRAMMING 74224 2100
11849 String Modification brute force constructive algorithms implementation sortings strings Statement B CodeCraft-20 (Div. 2) {1316} PROGRAMMING 1000.0 Codecraft-20 (Div.2) Editorial 1400
1838 Drazil Likes Heap constructive algorithms data structures greedy implementation sortings Statement C Codeforces Round 631 (Div. 1) - Thanks, Denis aramis Shitov! {1329} PROGRAMMING 1500.0 Codeforces Round #631 Editorial 2400
4174 Challenges in school №41 brute force constructive algorithms games graphs greedy implementation sortings Statement D Codeforces Round 632 (Div. 2) {1333} PROGRAMMING 1750.0 Codeforces Round #632 (Div. 2) editorial
4644 Kate and imperfection greedy implementation math number theory sortings two pointers Statement F Codeforces Round 632 (Div. 2) {1333} PROGRAMMING 2500.0 Codeforces Round #632 (Div. 2) editorial
39775 Two Teams Composing binary search greedy implementation sortings Statement C Codeforces Round 634 (Div. 3) {1335} PROGRAMMING 75993 1100
3886 Johnny and Grandmaster greedy implementation math sortings Statement B Codeforces Round 647 (Div. 1) - Thanks, Algo Muse! {1361} PROGRAMMING 1250.0 Codeforces Round #647 Editorial 1900
4826 Swaps Again constructive algorithms implementation sortings Statement F Codeforces Round 648 (Div. 2) {1365} PROGRAMMING 2500.0 Editorial — Codeforces Round #648 2100
8917 Task On The Board constructive algorithms greedy implementation sortings Statement D Codeforces Round 650 (Div. 3) {1367} PROGRAMMING Codeforces Round #650 (Div. 3) Editorial
2492 DeadLee constructive algorithms data structures graphs greedy implementation sortings Statement E Codeforces Round 652 (Div. 2) {1369} PROGRAMMING 2500.0 Codeforces Round #652 (Div. 2) Editorial 2400
11202 Odd-Even Subsequence binary search dp greedy implementation sortings Statement D Codeforces Round 651 (Div. 2) {1370} PROGRAMMING 2000.0 Editorial — Codeforces Round #651
5550 Asterism (Easy Version) brute force combinatorics implementation math number theory sortings Statement E1 Codeforces Round 654 (Div. 2) {1371} PROGRAMMING 1500.0 Codeforces Round #654 (Div. 2) Editorial
15114 Reading Books (easy version) data structures greedy implementation sortings Statement E1 Codeforces Round 653 (Div. 3) {1374} PROGRAMMING 79517
1747 Mastermind constructive algorithms greedy implementation sortings Statement C Codeforces Round 658 (Div. 1) {1381} PROGRAMMING 2000.0 Codeforces Round #658 Editorial 2500
2639 Two Types of Spells binary search data structures greedy implementation math sortings Statement E Educational Codeforces Round 93 (Rated for Div. 2) {1398} PROGRAMMING Educational Codeforces Round 93 Editorial
2684 Divide Square data structures divide and conquer geometry implementation sortings Statement E Codeforces Round 665 (Div. 2) {1401} PROGRAMMING 2500.0 Codeforces Round #665 (Div. 2) Editorial
24797 Maximum Product brute force dp greedy implementation sortings Statement B Codeforces Round 670 (Div. 2) {1406} PROGRAMMING 1000.0 Codeforces Round #670 (Div. 2) Editorial
4739 Searchlights binary search brute force data structures dp geometry implementation sortings Statement D Grakn Forces 2020 {1408} PROGRAMMING 2000.0 Grakn Forces -- Editorial
6299 Perform Easily data structures dp implementation sortings two pointers Statement C Technocup 2021 - Elimination Round 1 {1413} PROGRAMMING 1500.0 Codeforces Round 679 (Div. 1, Div. 2) and Technocup Round 1 editorial
17625 Sage's Birthday (hard version) binary search constructive algorithms greedy implementation sortings two pointers Statement D2 Codeforces Round 671 (Div. 2) {1419} PROGRAMMING 1000.0 Codeforces Round #671 Editorial
682 Rain of Fire binary search dfs and similar dsu graphs implementation sortings Statement F Codeforces Round 671 (Div. 2) {1419} PROGRAMMING 3000.0 Codeforces Round #671 Editorial
26650 Sage's Birthday (easy version) binary search greedy implementation sortings Statement D1 Codeforces Round 671 (Div. 2) {1419} PROGRAMMING 750.0 Codeforces Round #671 Editorial
3248 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
11533 Chess Cheater greedy implementation sortings Statement B Codeforces Global Round 11 {1427} PROGRAMMING 750.0 Editorial of Global Round 11 1400
20390 Barrels greedy implementation sortings Statement B Educational Codeforces Round 96 (Rated for Div. 2) {1430} PROGRAMMING Educational Codeforces Round 96 — Editorial
10377 Divide and Summarize binary search brute force data structures divide and conquer implementation sortings Statement D Codeforces Round 689 (Div. 2, based on Zed Code Competition) {1461} PROGRAMMING 1500.0 Codeforces Round #689 (Div. 2). Editorial
11649 Close Tuples (hard version) binary search combinatorics implementation math sortings two pointers Statement E2 Codeforces Round 690 (Div. 3) {1462} PROGRAMMING Codeforces Round #690 (Div. 3) Editorial
37772 Replacing Elements greedy implementation sortings Statement A Educational Codeforces Round 102 (Rated for Div. 2) {1473} PROGRAMMING Educational Codeforces Round 102 Editorial
14358 Array Destruction constructive algorithms data structures greedy implementation sortings Statement C Codeforces Round 696 (Div. 2) {1474} PROGRAMMING 1500.0 Codeforces Round #696 Editorial
18486 Advertising Agency combinatorics implementation math sortings Statement E Codeforces Round 697 (Div. 3) {1475} PROGRAMMING Codeforces Round #697 (Div. 3) Editorial
10721 Nezzar and Symmetric Array constructive algorithms implementation math sortings Statement C Codeforces Round 698 (Div. 2) {1478} PROGRAMMING 1500.0 Tutorial 1700
5196 Cheap Dinner data structures dp implementation sortings two pointers Statement E Educational Codeforces Round 104 (Rated for Div. 2) {1487} PROGRAMMING 87873
27691 Arena implementation sortings Statement A Educational Codeforces Round 104 (Rated for Div. 2) {1487} PROGRAMMING 87873
21339 Napoleon Cake dp implementation sortings Statement B Codeforces Round 707 (Div. 2, based on Moscow Open Olympiad in Informatics) {1501} PROGRAMMING 1000.0 Codeforces Round #707 Editorial 900
6703 GCD and MST constructive algorithms data structures dsu graphs implementation number theory sortings Statement D Divide by Zero 2021 and Codeforces Round 714 (Div. 2) {1513} PROGRAMMING 2000.0 Divide by Zero 2021 and Codeforces Round #714 (Div. 2) Editorial
5055 Robot Collisions data structures greedy implementation sortings Statement C Educational Codeforces Round 109 (Rated for Div. 2) {1525} PROGRAMMING 90793
16631 Air Conditioners dfs and similar dp implementation shortest paths sortings two pointers Statement E Codeforces Round 731 (Div. 3) {1547} PROGRAMMING Codeforces Round #731 (Div. 3) Editorial
8933 Polycarp and String Transformation binary search implementation sortings strings Statement E Codeforces Round 739 (Div. 3) {1560} PROGRAMMING 94009 1800
17247 Simply Strange Sort brute force implementation sortings Statement A Codeforces Round 740 (Div. 2, based on VK Cup 2021 - Final (Engine)) {1561} PROGRAMMING 500.0 Codeforces Round #740 Editorial 800
8371 Seating Arrangements (hard version) data structures greedy implementation sortings two pointers Statement D2 Codeforces Global Round 16 {1566} PROGRAMMING 1000.0 Codeforces Global Round 16 Editorial
4621 Inconvenient Pairs data structures implementation sortings two pointers Statement D Educational Codeforces Round 113 (Rated for Div. 2) {1569} PROGRAMMING 94721
19014 Shifting Sort implementation sortings Statement B Codeforces Round 744 (Div. 3) {1579} PROGRAMMING Codeforces Round #744 (Div. 3) Editorial
1215 Array Equalizer binary search implementation math number theory sortings Statement E Codeforces Round 754 (Div. 2) {1605} PROGRAMMING 2500.0 tutorial 2400
1618 Red-Blue Matrix constructive algorithms data structures hashing implementation sortings two pointers Statement D Educational Codeforces Round 116 (Rated for Div. 2) {1606} PROGRAMMING 96454
530 The Cells on the Paper binary search data structures implementation sortings Statement E Codeforces Round 758 (Div.1 + Div. 2) {1608} PROGRAMMING 2000.0 Editorial of Codeforces Round #758 (Div.1 + Div. 2)
2803 Unusual Minesweeper binary search dfs and similar dsu implementation sortings Statement G Codeforces Round 762 (Div. 3) {1619} PROGRAMMING Tutorial
1953 New School binary search data structures greedy implementation sortings Statement E Hello 2022 {1621} PROGRAMMING 2250.0
14740 Game on Ranges brute force implementation sortings Statement B Codeforces Round 763 (Div. 2) {1623} PROGRAMMING 1000.0 Codeforces Round #763 (Div. 2) Editorial
2371 Binary Spiders bitmasks data structures implementation sortings trees Statement D Codeforces Round 765 (Div. 2) {1625} PROGRAMMING 2000.0 Editorial of Codeforces Round #765 (Div. 2)
2868 Not Escaping data structures dp implementation shortest paths sortings two pointers Statement E Codeforces Round 766 (Div. 2) {1627} PROGRAMMING 2000.0 Codeforces Round #766 (Div. 2) Editorial
1804 Spanning Tree Queries binary search data structures dsu graphs implementation math sortings Statement E Educational Codeforces Round 122 (Rated for Div. 2) {1633} PROGRAMMING 99539
4111 Repetitions Decoding constructive algorithms implementation sortings Statement B Codeforces Round 773 (Div. 1) {1641} PROGRAMMING 1250.0 Codeforces Round #773 editorial
4497 Rescheduling the Exam binary search data structures greedy implementation math sortings Statement E Codeforces Round 776 (Div. 3) {1650} PROGRAMMING 100712
18750 Weight of the System of Nested Segments greedy hashing implementation sortings Statement C Codeforces Round 776 (Div. 3) {1650} PROGRAMMING 100712
19439 Maximum Cake Tastiness greedy implementation sortings Statement A Codeforces Round 778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round) {1654} PROGRAMMING 500.0 Editorial of Codeforces Round #778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round) 800
57212 Triple implementation sortings Statement B Codeforces Round 784 (Div. 4) {1669} PROGRAMMING 102101 800
16043 Prof. Slim greedy implementation sortings Statement A Codeforces Round 788 (Div. 2) {1670} PROGRAMMING 500.0 Tutorial 800
17918 A-B-C Sort constructive algorithms implementation sortings Statement D Codeforces Round 786 (Div. 3) {1674} PROGRAMMING 102482
20645 Longest Strike data structures greedy implementation sortings two pointers Statement F Codeforces Round 790 (Div. 4) {1676} PROGRAMMING Codeforces Round #790 (Div. 4) Editorial
18905 Double Sort implementation sortings Statement C Educational Codeforces Round 129 (Rated for Div. 2) {1681} PROGRAMMING 103163 1200
13348 Column Swapping constructive algorithms implementation sortings Statement C Codeforces Round 792 (Div. 1 + Div. 2) {1684} PROGRAMMING 1250.0 Codeforces Round #792 (Div. 1 + Div. 2) Editorial 1400
17820 Lex String brute force greedy implementation sortings two pointers Statement A Codeforces Round 798 (Div. 2) {1689} PROGRAMMING 500.0 Editorial for Codeforces Round #798 (Div. 2)
7779 Max GEQ Sum binary search constructive algorithms data structures divide and conquer implementation sortings two pointers Statement D CodeCraft-22 and Codeforces Round 795 (Div. 2) {1691} PROGRAMMING 1750.0 Editorial for CodeCraft-22 and Codeforces Round #795 (Div. 2)
6476 Difference Array brute force implementation math sortings Statement B Codeforces Round 808 (Div. 1) {1707} PROGRAMMING 750.0 104930
25520 Colored Balls: Revisited greedy implementation sortings Statement A Educational Codeforces Round 135 (Rated for Div. 2) {1728} PROGRAMMING 106805
62766 Increasing greedy implementation sortings Statement B Codeforces Round 827 (Div. 4) {1742} PROGRAMMING 107962
82222 Medium Number implementation sortings Statement A Codeforces Round 835 (Div. 4) {1760} PROGRAMMING 109348
18754 Make Array Good constructive algorithms implementation number theory sortings Statement B Codeforces Round 838 (Div. 2) {1762} PROGRAMMING 1000.0 Codeforces Round #838 (Div. 2) Editorial
15859 Elemental Decompress constructive algorithms greedy implementation sortings Statement C Codeforces Round 842 (Div. 2) {1768} PROGRAMMING 1500.0 Codeforces Round #842 (Div. 2) Editorial
21164 Showstopper greedy implementation sortings Statement A Codeforces Round 860 (Div. 2) {1798} PROGRAMMING 500.0 Editorial of Codeforces Round 860 (Div. 2) 800
22754 Subsequence Addition (Easy Version) brute force dp greedy implementation sortings Statement G1 Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
29550 Subsequence Addition (Hard Version) dp greedy implementation math sortings Statement G2 Codeforces Round 859 (Div. 4) {1807} PROGRAMMING 114143
4314 The Butcher greedy implementation sortings two pointers Statement B Codeforces Round 866 (Div. 1) {1819} PROGRAMMING 1250.0 Codeforces Round #866 (Div.1, Div.2, based on Lipetsk Team Olympiad) Editorial
26219 TubeTube Feed brute force implementation sortings Statement A Codeforces Round 867 (Div. 3) {1822} PROGRAMMING Codeforces Round #867 (Div. 3) Editorial
17517 Trust Nobody brute force greedy implementation sortings Statement A Codeforces Round 870 (Div. 2) {1826} PROGRAMMING 500.0 Codeforces Round #870 (Div. 2) Editorial 1200
2009 Walk the Runway bitmasks brute force data structures dp graphs implementation sortings Statement E Codeforces Round 870 (Div. 2) {1826} PROGRAMMING 2500.0 Codeforces Round #870 (Div. 2) Editorial 2400
10635 Ira and Flamenco combinatorics data structures implementation sortings Statement F Codeforces Round 874 (Div. 3) {1833} PROGRAMMING 116636
5656 Survey in Class constructive algorithms data structures greedy implementation sortings Statement D Codeforces Round 879 (Div. 2) {1834} PROGRAMMING 1750.0 Codeforces Round #879 Editorial
3782 Bracket Walk constructive algorithms data structures implementation sortings strings Statement D Codeforces Round 877 (Div. 2) {1838} PROGRAMMING 1750.0 Codeforces Round #877 (Div. 2) Editorial
21822 Rudolf and the Another Competition constructive algorithms greedy implementation sortings Statement C Codeforces Round 883 (Div. 3) {1846} PROGRAMMING
4313 Professor Higashikata brute force data structures dsu greedy implementation sortings Statement D Codeforces Round 882 (Div. 2) {1847} PROGRAMMING 2000.0 Tutorial
26298 Vika and the Bridge binary search data structures greedy implementation math sortings Statement B Codeforces Round 885 (Div. 2) {1848} PROGRAMMING 1000.0 Codeforces Round #885 (Div.2) Editorial
65078 Balanced Round brute force greedy implementation sortings Statement D Codeforces Round 886 (Div. 4) {1850} PROGRAMMING Codeforces Round #886 (Div. 4) Editorial
15808 The Morning Star combinatorics data structures geometry implementation math sortings Statement G Codeforces Round 886 (Div. 4) {1850} PROGRAMMING Codeforces Round #886 (Div. 4) Editorial
76040 To My Critics implementation sortings Statement A Codeforces Round 886 (Div. 4) {1850} PROGRAMMING Codeforces Round #886 (Div. 4) Editorial
51291 Ten Words of Wisdom implementation sortings Statement B Codeforces Round 886 (Div. 4) {1850} PROGRAMMING Codeforces Round #886 (Div. 4) Editorial
4210 Vlad and the Mountains data structures dsu graphs implementation sortings trees two pointers Statement G Codeforces Round 888 (Div. 3) {1851} PROGRAMMING 118667
1687 Exotic Queries brute force data structures implementation sortings Statement F Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) {1864} PROGRAMMING 2500.0 Harbour.Space Scholarship Contest 2023-2024 (Div. 1 + Div. 2) Editorial
13293 Colorful Table binary search data structures dp implementation math sortings two pointers Statement C CodeTON Round 6 (Div. 1 + Div. 2, Rated, Prizes!) {1870} PROGRAMMING 1500.0 CodeTON Round 6 (Div. 1 + Div. 2, Rated, Prizes!) Editorial
18606 Queue Sort greedy implementation sortings Statement E Codeforces Round 909 (Div. 3) {1899} PROGRAMMING Разбор Codeforces Round 909 (Div. 3)
5849 Set To Max (Hard Version) binary search constructive algorithms data structures dsu greedy implementation sortings two pointers Statement D2 Codeforces Round 914 (Div. 2) {1904} PROGRAMMING 750.0 Codeforces Round 914 (Div. 2) Editorial
3136 Accumulator Apex implementation sortings Statement A 2023-2024 ICPC, NERC, Northern Eurasia Onsite (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1912} PROGRAMMING Tutorials (PDF) 1800
40996 Three Activities brute force dp implementation sortings Statement D Codeforces Round 916 (Div. 3) {1914} PROGRAMMING Codeforces Round 916 (Div. 3) Editorial
10340 Bicycles dp graphs greedy implementation shortest paths sortings Statement G Codeforces Round 918 (Div. 4) {1915} PROGRAMMING 123952
2149 ace5 and Task Order binary search divide and conquer implementation interactive probabilities sortings Statement E Codeforces Round 922 (Div. 2) {1918} PROGRAMMING 2500.0 Codeforces Round #922 (Div. 2) Editorial
27525 Minimize Inversions constructive algorithms data structures greedy implementation sortings Statement B Codeforces Round 922 (Div. 2) {1918} PROGRAMMING 1000.0 Codeforces Round #922 (Div. 2) Editorial
4632 01 Tree data structures divide and conquer greedy implementation sortings trees Statement D Hello 2024 {1919} PROGRAMMING 1500.0 2100
3380 Space Harbour brute force data structures implementation math sortings Statement B Codeforces Round 921 (Div. 1) {1924} PROGRAMMING 1000.0 Codeforces Round 921 (Div. 1, Div. 2) Editorial