Codeforces problemset search & solutions
Exclude tags.

Review the problem statement from Codeforces (link will open a new tab). When you've matched your problem, go to the solutions.

Search on plain tags, ratings, names, and problem text. Example: brute force or binary search

< 1 2 3 4 5 6 7 8 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
1152 Hitchhiking in the Baltic States data structures dp Statement D Codeforces Round 415 (Div. 1) {809} PROGRAMMING 52099 2800
1017 Vladik and Entertaining Flags data structures dsu graphs Statement E Codeforces Round 416 (Div. 2) {811} PROGRAMMING Editorial 2600
3272 Army Creation binary search data structures Statement E Educational Codeforces Round 22 {813} PROGRAMMING 52410 2300
1786 Bipartite Checking data structures dsu graphs Statement F Educational Codeforces Round 22 {813} PROGRAMMING 52410 2600
837 Karen and Cards binary search combinatorics data structures geometry Statement D Codeforces Round 419 (Div. 1) {815} PROGRAMMING Codeforces Round #419 Editorial 2700
29013 Karen and Coffee binary search data structures implementation Statement B Codeforces Round 419 (Div. 2) {816} PROGRAMMING Codeforces Round #419 Editorial 1400
6529 Imbalanced Array data structures divide and conquer dsu sortings Statement D Educational Codeforces Round 23 {817} PROGRAMMING 52638 2000
3859 Choosing The Commander bitmasks data structures trees Statement E Educational Codeforces Round 23 {817} PROGRAMMING 52638 2100
3478 MEX Queries binary search data structures trees Statement F Educational Codeforces Round 23 {817} PROGRAMMING 52638 2400
3818 Multicolored Cars data structures implementation Statement D Educational Codeforces Round 24 {818} PROGRAMMING 52991 1700
2705 Card Game Again binary search data structures number theory two pointers Statement E Educational Codeforces Round 24 {818} PROGRAMMING 52991 2000
1799 Mister B and PR Shifts data structures implementation math Statement B Codeforces Round 421 (Div. 1) {819} PROGRAMMING Codeforces Round #421 Editorial 2100
8020 Okabe and Boxes data structures greedy trees Statement C Codeforces Round 420 (Div. 2) {821} PROGRAMMING Tutorial 1600
4411 Minimal Labels data structures dfs and similar graphs greedy Statement E Educational Codeforces Round 25 {825} PROGRAMMING Educational Codeforces Round 25 - Editorial 2400
4358 String Reconstruction data structures greedy sortings strings Statement A Codeforces Round 423 (Div. 1, rated, based on VK Cup Finals) {827} PROGRAMMING Codeforces Round #423 Analysis 1700
1807 DNA Evolution data structures strings Statement C Codeforces Round 423 (Div. 1, rated, based on VK Cup Finals) {827} PROGRAMMING Codeforces Round #423 Analysis 2200
1470 Best Edge Weight data structures dfs and similar graphs trees Statement D Codeforces Round 423 (Div. 1, rated, based on VK Cup Finals) {827} PROGRAMMING Codeforces Round #423 Analysis 2700
589 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
3063 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
1336 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
6741 The Bakery binary search data structures divide and conquer dp two pointers Statement B Codeforces Round 426 (Div. 1) {833} PROGRAMMING Codeforces Round #426 Editorial 2200
505 Red-Black Cobweb data structures divide and conquer implementation trees Statement D Codeforces Round 426 (Div. 1) {833} PROGRAMMING Codeforces Round #426 Editorial 2800
299 Caramel Clouds data structures dp sortings Statement E Codeforces Round 426 (Div. 1) {833} PROGRAMMING Codeforces Round #426 Editorial 3100
9419 The Festive Evening data structures implementation Statement B Codeforces Round 426 (Div. 2) {834} PROGRAMMING Codeforces Round #426 Editorial 1100
967 Functions On The Segments data structures Statement G Educational Codeforces Round 26 {837} PROGRAMMING 53662 2600
1139 Diverging Directions data structures dfs and similar trees Statement B IndiaHacks 2nd Elimination 2017 (unofficial, unrated mirror, ICPC rules) {838} PROGRAMMING 53736 2100
2853 Leha and another game about graph constructive algorithms data structures dfs and similar dp graphs Statement B Codeforces Round 429 (Div. 1) {840} PROGRAMMING Editorial 2100
4141 Destiny data structures probabilities Statement D Codeforces Round 429 (Div. 1) {840} PROGRAMMING Editorial 2400
4577 Vitya and Strange Lesson binary search data structures Statement D Codeforces Round 430 (Div. 2) {842} PROGRAMMING Tutorial Codeforces Round #430 (Div. 2) 2100
14450 Two TVs data structures greedy sortings Statement C Educational Codeforces Round 27 {845} PROGRAMMING 53986 1500
2589 Driving Test data structures dp greedy Statement D Educational Codeforces Round 27 {845} PROGRAMMING 53986 1800
708 Fire in the City binary search data structures Statement E Educational Codeforces Round 27 {845} PROGRAMMING 53986 2500
2871 Monitor binary search data structures Statement D Educational Codeforces Round 28 {846} PROGRAMMING 54357 1900
2992 Four Segments brute force data structures dp Statement C Educational Codeforces Round 28 {846} PROGRAMMING 54357 1900
2705 Random Query data structures math probabilities two pointers Statement F Educational Codeforces Round 28 {846} PROGRAMMING 54357 2000
3899 Union of Doubly Linked Lists implementation Statement A 2017-2018 ACM-ICPC, NEERC, Southern Subregional Contest, qualification stage (Online Mirror, ACM-ICPC Rules, Teams Preferred) {847} PROGRAMMING 1500
6438 Preparing for Merge Sort binary search data structures Statement B 2017-2018 ACM-ICPC, NEERC, Southern Subregional Contest, qualification stage (Online Mirror, ACM-ICPC Rules, Teams Preferred) {847} PROGRAMMING 1700
1419 Dog Show data structures greedy Statement D 2017-2018 ACM-ICPC, NEERC, Southern Subregional Contest, qualification stage (Online Mirror, ACM-ICPC Rules, Teams Preferred) {847} PROGRAMMING 2300
2014 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
1625 Goodbye Souvenir data structures divide and conquer Statement C Codeforces Round 431 (Div. 1) {848} PROGRAMMING Codeforces Round #431 Editorial 2800
1849 Boredom data structures Statement C Codeforces Round 433 (Div. 1, based on Olympiad of Metropolises) {853} PROGRAMMING Codeforces Round #433 Editorial 2200
85 Lada Malina data structures geometry Statement E Codeforces Round 433 (Div. 1, based on Olympiad of Metropolises) {853} PROGRAMMING Codeforces Round #433 Editorial 3400
10005 Marvolo Gaunt's Ring brute force data structures dp Statement B Manthan, Codefest 17 {855} PROGRAMMING 54750 1500
623 Nagini binary search data structures Statement F Manthan, Codefest 17 {855} PROGRAMMING 54750 3000
4229 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
537 Arkady and a Nobody-men data structures dfs and similar trees Statement E Codeforces Round 434 (Div. 1, based on Technocup 2018 Elimination Round 1) {860} PROGRAMMING Codeforces Round 434 Div.1+Div.2 (and Technocup 2018 — Elimination Round 1) Editorial 2600
2296 Mahmoud and Ehab and the function binary search data structures sortings Statement E Codeforces Round 435 (Div. 2) {862} PROGRAMMING Codeforces round #435 editorial 2200
271 Mahmoud and Ehab and the final stage data structures strings Statement F Codeforces Round 435 (Div. 2) {862} PROGRAMMING Codeforces round #435 editorial 2800
3864 Yet Another Array Queries Problem data structures implementation Statement D Educational Codeforces Round 29 {863} PROGRAMMING Editorial 1800
4259 Turn Off The TV data structures sortings Statement E Educational Codeforces Round 29 {863} PROGRAMMING Editorial 2000
8350 Buy Low Sell High constructive algorithms data structures greedy Statement D MemSQL Start[c]UP 3.0 - Round 2 (onsite finalists) {865} PROGRAMMING MemSQL Start[c]UP 3.0 Round 2 Editorial 2300
2104 The Untended Antiquity data structures hashing Statement E Codeforces Round 439 (Div. 2) {869} PROGRAMMING Tutorial 2300
715 Paths data structures number theory Statement F Technocup 2018 - Elimination Round 2 {870} PROGRAMMING Editorial Codeforces Round 440 Div.1+Div.2 (and Technocup 2018 — Elimination Round 2) 2600
812 Awards For Contestants brute force data structures dp Statement E Educational Codeforces Round 30 {873} PROGRAMMING 55171 2500
2568 High Cry binary search bitmasks combinatorics data structures divide and conquer Statement D Codeforces Round 441 (Div. 1, by Moscow Team Olympiad) {875} PROGRAMMING Codeforces Round #441. Editorial. 2200
1031 Delivery Club binary search data structures dp Statement E Codeforces Round 441 (Div. 1, by Moscow Team Olympiad) {875} PROGRAMMING Codeforces Round #441. Editorial. 2600
5230 Olya and Energy Drinks data structures dfs and similar graphs shortest paths Statement D Codeforces Round 442 (Div. 2) {877} PROGRAMMING 55362 1900
5757 Danil and a Part-time Job bitmasks data structures trees Statement E Codeforces Round 442 (Div. 2) {877} PROGRAMMING 55362 2000
2415 Ann and Books data structures flows hashing Statement F Codeforces Round 442 (Div. 2) {877} PROGRAMMING 55362 2500
1133 Teams Formation data structures implementation Statement B Codeforces Round 443 (Div. 1) {878} PROGRAMMING Editorial 2400
1058 Tournament data structures graphs Statement C Codeforces Round 443 (Div. 1) {878} PROGRAMMING Editorial 2800
14667 Table Tennis data structures implementation Statement B Codeforces Round 443 (Div. 2) {879} PROGRAMMING Codeforces Round #443. Editorial 1300
293 Berland.Taxi data structures Statement L 2017-2018 ACM-ICPC, NEERC, Southern Subregional Contest (Online Mirror, ACM-ICPC Rules, Teams Preferred) {883} PROGRAMMING 2800
2255 Boxes And Balls data structures greedy Statement D Educational Codeforces Round 31 {884} PROGRAMMING 55470 2300
565 Ratings and Reality Shows data structures two pointers Statement D Codeforces Round 444 (Div. 2) {887} PROGRAMMING Codeforces Round #444 (Div. 2) Editorial 2500
6025 Xor-MST bitmasks constructive algorithms data structures Statement G Educational Codeforces Round 32 {888} PROGRAMMING Educational Codeforces Round 32 - Editorial 2300
3095 Envy data structures dsu graphs Statement C Codeforces Round 446 (Div. 1) {891} PROGRAMMING Codeforces Round #446 Editorial 2500
3350 Credit Card data structures dp greedy implementation Statement D Educational Codeforces Round 33 (Rated for Div. 2) {893} PROGRAMMING 55989 1800
2579 Subtree Minimum Query data structures trees Statement F Educational Codeforces Round 33 (Rated for Div. 2) {893} PROGRAMMING 55989 2300
1227 Ralph And His Tour in Binary Country brute force data structures trees Statement D Codeforces Round 447 (Div. 2) {894} PROGRAMMING Codeforces Round #447 (Div.2 Only) Editorial 2300
1293 Eyes Closed data structures probabilities Statement E Codeforces Round 448 (Div. 2) {895} PROGRAMMING Codeforces Round #448(Div.2) Editorial 2500
4554 Willem, Chtholly and Seniorious data structures probabilities Statement C Codeforces Round 449 (Div. 1) {896} PROGRAMMING Codeforces Round #449 Editorial 2700
2533 Welcome home, Chtholly data structures dsu Statement E Codeforces Round 449 (Div. 1) {896} PROGRAMMING Codeforces Round #449 Editorial 3100
3623 Segments Removal data structures dsu flows implementation two pointers Statement E Codeforces Round 452 (Div. 2) {899} PROGRAMMING Codeforces Round #452 (Div.2) Editorial 2100
2070 Letters Removing data structures strings Statement F Codeforces Round 452 (Div. 2) {899} PROGRAMMING Codeforces Round #452 (Div.2) Editorial 2200
5038 Remove Extra One brute force data structures math Statement C Codeforces Round 450 (Div. 2) {900} PROGRAMMING Codeforces Round #450(Div. 2). Editorial. 1700
1419 Maximum Questions data structures dp strings Statement E Codeforces Round 450 (Div. 2) {900} PROGRAMMING Codeforces Round #450(Div. 2). Editorial. 2300
1329 Bipartite Segments binary search data structures dfs and similar dsu graphs two pointers Statement C Codeforces Round 453 (Div. 1) {901} PROGRAMMING Codeforces Round #453 (Div. 1 & Div. 2) Editorial 2500
4544 Almost Difference data structures math Statement D Educational Codeforces Round 34 (Rated for Div. 2) {903} PROGRAMMING Educational Codeforces Round 34 Editorial 2200
744 Yet Another Maxflow Problem data structures flows graphs Statement G Educational Codeforces Round 34 (Rated for Div. 2) {903} PROGRAMMING Educational Codeforces Round 34 Editorial 2700
2133 Colorful Points data structures greedy implementation Statement D Codeforces Round 455 (Div. 2) {909} PROGRAMMING Codeforces Round #455 (Div. 2) Editorial 2100
2888 Stack Sorting constructive algorithms data structures greedy implementation Statement E Educational Codeforces Round 35 (Rated for Div. 2) {911} PROGRAMMING 2000
3948 Mass Change Queries data structures Statement G Educational Codeforces Round 35 (Rated for Div. 2) {911} PROGRAMMING T 2600
2181 Fishes data structures graphs greedy probabilities shortest paths Statement D Codeforces Round 456 (Div. 2) {912} PROGRAMMING Codeforces Round #456 (Div. 2) Editorial 2100
5156 Too Easy Problems binary search brute force data structures greedy sortings Statement D Hello 2018 {913} PROGRAMMING Tutorial 1800
6542 Bash and a Tough Math Puzzle data structures number theory Statement D Codecraft-18 and Codeforces Round 458 (Div. 1 + Div. 2, combined) {914} PROGRAMMING Tutorial 1900
1988 Palindromes in a Tree bitmasks data structures divide and conquer trees Statement E Codecraft-18 and Codeforces Round 458 (Div. 1 + Div. 2, combined) {914} PROGRAMMING Tutorial 2400
2477 Substrings in a String bitmasks brute force data structures string suffix structures strings Statement F Codecraft-18 and Codeforces Round 458 (Div. 1 + Div. 2, combined) {914} PROGRAMMING Tutorial 2900
5715 Physical Education Lessons data structures implementation sortings Statement E Educational Codeforces Round 36 (Rated for Div. 2) {915} PROGRAMMING 57123 2300
3199 Imbalance Value of a Tree data structures dsu graphs trees Statement F Educational Codeforces Round 36 (Rated for Div. 2) {915} PROGRAMMING 57123 2500
579 Jamie and To-do List data structures interactive trees Statement D Codeforces Round 457 (Div. 2) {916} PROGRAMMING Codeforces Round #457 (Div. 2) Editorial 2600
2160 Jamie and Tree data structures trees Statement E Codeforces Round 457 (Div. 2) {916} PROGRAMMING Codeforces Round #457 (Div. 2) Editorial 2600
194 Upside Down data structures string suffix structures strings trees Statement E Codeforces Round 459 (Div. 1) {917} PROGRAMMING Codeforces Round #459 Editorial 3000
8956 SUM and REPLACE brute force data structures dsu number theory Statement F Educational Codeforces Round 37 (Rated for Div. 2) {920} PROGRAMMING T 2000
7943 Connected Components? data structures dfs and similar dsu graphs Statement E Educational Codeforces Round 37 (Rated for Div. 2) {920} PROGRAMMING T 2100
7799 Producing Snow binary search data structures Statement B VK Cup 2018 - Round 1 {923} PROGRAMMING VK Cup 2018 Round 1 and CF Round #470 (div. 1 & 2) editorial 1600
4786 Perfect Security data structures greedy strings trees Statement C VK Cup 2018 - Round 1 {923} PROGRAMMING VK Cup 2018 Round 1 and CF Round #470 (div. 1 & 2) editorial 1900
4333 Riverside Curio data structures dp greedy Statement C VK Cup 2018 - Round 2 {924} PROGRAMMING VK Cup 2018 Round 2 and Codeforces Round #472 Editorial 1800
565 May Holidays data structures trees Statement E VK Cup 2018 - Round 3 {925} PROGRAMMING Разбор VK 2018 Round 3 + Codeforces Round #477 2900
633 Segments data structures Statement J VK Cup 2018 - Wild-card Round 1 {926} PROGRAMMING Разбор VK Cup 2018 — Уайлд-кард Раунд 1 2500
2391 Teodor is not a liar! data structures dp Statement C Codeforces Round 468 (Div. 1, based on Technocup 2018 Final Round) {930} PROGRAMMING Codeforces Round #468 and Technocup 2018 Final Round Analysis 2100
460 Game with Tokens data structures games implementation Statement D Codeforces Round 468 (Div. 1, based on Technocup 2018 Final Round) {930} PROGRAMMING Codeforces Round #468 and Technocup 2018 Final Round Analysis 2600
542 Coins Exhibition data structures dp math Statement E Codeforces Round 468 (Div. 1, based on Technocup 2018 Final Round) {930} PROGRAMMING Codeforces Round #468 and Technocup 2018 Final Round Analysis 2700
9372 Recursive Queries binary search data structures dfs and similar Statement B ICM Technex 2018 and Codeforces Round 463 (Div. 1 + Div. 2, combined) {932} PROGRAMMING 57796 1300
4269 Escape Through Leaf data structures dp geometry Statement F ICM Technex 2018 and Codeforces Round 463 (Div. 1 + Div. 2, combined) {932} PROGRAMMING 57796 2700
482 Fafa and Array data structures greedy Statement F Codeforces Round 465 (Div. 2) {935} PROGRAMMING editorial 2800
261 Iqea data structures dfs and similar divide and conquer dsu shortest paths trees Statement E Codeforces Round 467 (Div. 1) {936} PROGRAMMING Codeforces Round #467, Editorial 3300
7294 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
1178 Shortest Path Queries bitmasks data structures dsu graphs Statement G Educational Codeforces Round 38 (Rated for Div. 2) {938} PROGRAMMING Educational Codeforces Round 38 — Editorial 2900
1241 Cutlet data structures dp Statement F Codeforces Round 464 (Div. 2) {939} PROGRAMMING Analysis of Codeforces Round #464 2700
4464 Cashback data structures dp greedy math Statement E Codeforces Round 466 (Div. 2) {940} PROGRAMMING [Editorial] Codeforces Round #466 (Div. 2) 2000
3515 Machine Learning brute force data structures Statement F Codeforces Round 466 (Div. 2) {940} PROGRAMMING [Editorial] Codeforces Round #466 (Div. 2) 2600
828 Almost Increasing Array data structures dp Statement G Educational Codeforces Round 39 (Rated for Div. 2) {946} PROGRAMMING 58210 2600
2430 Castle Defense binary search data structures greedy two pointers Statement G Educational Codeforces Round 40 (Rated for Div. 2) {954} PROGRAMMING 58519 2100
764 Maximum Control (medium) data structures dfs and similar graphs greedy trees Statement B2 Helvetic Coding Contest 2018 online mirror (teams allowed, unrated) {958} PROGRAMMING helvetic-coding-contest-2018-editorial.pdf 2400
745 Encryption (hard) data structures dp Statement C3 Helvetic Coding Contest 2018 online mirror (teams allowed, unrated) {958} PROGRAMMING helvetic-coding-contest-2018-editorial.pdf 2600
13043 Minimize the error data structures greedy sortings Statement B Divide by Zero 2018 and Codeforces Round 474 (Div. 1 + Div. 2, combined) {960} PROGRAMMING Divide by Zero 2018 and Codeforces Round #474 (Div. 1 + Div. 2, combined) Editorial 1500
3445 Pathwalks data structures dp graphs Statement F Divide by Zero 2018 and Codeforces Round 474 (Div. 1 + Div. 2, combined) {960} PROGRAMMING Divide by Zero 2018 and Codeforces Round #474 (Div. 1 + Div. 2, combined) Editorial 2000
407 Santa's Gift data structures trees Statement H Divide by Zero 2018 and Codeforces Round 474 (Div. 1 + Div. 2, combined) {960} PROGRAMMING Divide by Zero 2018 and Codeforces Round #474 (Div. 1 + Div. 2, combined) Editorial 3000
26913 Lecture Sleep data structures dp implementation two pointers Statement B Educational Codeforces Round 41 (Rated for Div. 2) {961} PROGRAMMING Educational Codeforces Round 41 Editorial 1300
4290 Tufurama data structures Statement E Educational Codeforces Round 41 (Rated for Div. 2) {961} PROGRAMMING Educational Codeforces Round 41 Editorial 1900
7428 Merge Equals data structures implementation Statement D Educational Codeforces Round 42 (Rated for Div. 2) {962} PROGRAMMING Educational Codeforces Round 42 Editorial 1600
232 Visible Black Areas data structures dsu geometry trees Statement G Educational Codeforces Round 42 (Rated for Div. 2) {962} PROGRAMMING Educational Codeforces Round 42 Editorial 2900
1959 Short Code data structures dp greedy strings trees Statement E Codeforces Round 476 (Div. 2) [Thanks, Telegram!] {965} PROGRAMMING Analysis of Codeforces Round #476 (Div. 2) [Thanks, Telegram!] 2500
9330 Mentors binary search data structures implementation Statement F Codeforces Round 481 (Div. 3) {978} PROGRAMMING T 1500
2233 Kuro and GCD and XOR and SUM binary search bitmasks brute force data structures dp dsu greedy math number theory strings trees Statement D Codeforces Round 482 (Div. 2) {979} PROGRAMMING 1750.0 Codeforces Round #482 (Div. 2) Editorial 2200
2338 The Number Games data structures greedy trees Statement E Codeforces Round 480 (Div. 2) {980} PROGRAMMING Tutorial 2300
2595 Addition on Segments bitmasks data structures divide and conquer dp Statement E Avito Code Challenge 2018 {981} PROGRAMMING Avito Code Challenge 2018 — разбор 2100
812 Magic multisets data structures Statement G Avito Code Challenge 2018 {981} PROGRAMMING Avito Code Challenge 2018 — разбор 2400
396 K Paths combinatorics data structures dp fft math Statement H Avito Code Challenge 2018 {981} PROGRAMMING Avito Code Challenge 2018 — разбор 2900
9011 Bus of Characters data structures greedy implementation Statement B Codeforces Round 484 (Div. 2) {982} PROGRAMMING Editorial 1300
2544 Shark brute force data structures dsu trees Statement D Codeforces Round 484 (Div. 2) {982} PROGRAMMING Editorial 1900
1223 NN country binary search data structures trees Statement E Codeforces Round 483 (Div. 1) [Thanks, Botan Investments and Victor Shaburov!] {983} PROGRAMMING Codeforces Round #483 [Thanks, Botan Investments and Victor Shaburov!] Editoral 2700
571 Arkady and Rectangles data structures Statement D Codeforces Round 483 (Div. 1) [Thanks, Botan Investments and Victor Shaburov!] {983} PROGRAMMING Codeforces Round #483 [Thanks, Botan Investments and Victor Shaburov!] Editoral 3300
4213 Pencils and Boxes binary search data structures dp greedy two pointers Statement E Educational Codeforces Round 44 (Rated for Div. 2) {985} PROGRAMMING Educational Codeforces Round 44 Editorial 2000
935 Prince's Problem brute force data structures math number theory trees Statement E Codeforces Round 485 (Div. 1) {986} PROGRAMMING Codeforces Round #485 Editorial 2900
1789 Nastya and King-Shamans binary search data structures Statement E Codeforces Round 489 (Div. 2) {992} PROGRAMMING 60083 2600
2071 Leaving the Bar brute force data structures geometry greedy math sortings Statement C Codeforces Round 492 (Div. 1) [Thanks, uDebug!] {995} PROGRAMMING Editorial for Codeforces Round #492 [Thanks u-Debug!] 2200
1756 Good Subsegments data structures Statement E Codeforces Round 493 (Div. 1) {997} PROGRAMMING 60357 3000
4943 Equalize the Remainders data structures greedy implementation Statement D Codeforces Round 490 (Div. 3) {999} PROGRAMMING 60138 1900
8667 Covered Points Count data structures implementation sortings Statement C Educational Codeforces Round 46 (Rated for Div. 2) {1000} PROGRAMMING 60288 1700
4981 One Occurrence data structures divide and conquer Statement F Educational Codeforces Round 46 (Rated for Div. 2) {1000} PROGRAMMING 60288 2400
771 Two-Paths data structures dp trees Statement G Educational Codeforces Round 46 (Rated for Div. 2) {1000} PROGRAMMING 60288 2800
1271 Sonya and Ice Cream binary search data structures dp greedy shortest paths trees Statement E Codeforces Round 495 (Div. 2) {1004} PROGRAMMING 60443 2400
968 Sonya and Bitwise OR bitmasks data structures divide and conquer Statement F Codeforces Round 495 (Div. 2) {1004} PROGRAMMING 60443 2900
25944 Three Parts of the Array binary search data structures two pointers Statement C Codeforces Round 498 (Div. 3) {1006} PROGRAMMING 60672 1300
13168 Reorder the Array combinatorics data structures math sortings two pointers Statement A Codeforces Round 497 (Div. 1) {1007} PROGRAMMING Editorial for Codeforces Round #497 by Skyglow 1300
359 Ants 2-sat data structures trees Statement D Codeforces Round 497 (Div. 1) {1007} PROGRAMMING Editorial for Codeforces Round #497 by Skyglow 3200
8063 Dominant Indices data structures dsu trees Statement F Educational Codeforces Round 47 (Rated for Div. 2) {1009} PROGRAMMING 60630 2300
416 Store data structures Statement E Codeforces Round 499 (Div. 1) {1010} PROGRAMMING 60851 2700
4018 The Wu bitmasks brute force data structures Statement D Codeforces Round 502 (in memory of Leopoldo Taravilse, Div. 1 + Div. 2) {1017} PROGRAMMING Разбор (англ.) 1900
1271 The Tree data structures Statement G Codeforces Round 502 (in memory of Leopoldo Taravilse, Div. 1 + Div. 2) {1017} PROGRAMMING Разбор (англ.) 3200
505 Raining season data structures divide and conquer trees Statement E Codeforces Round 503 (by SIS, Div. 1) {1019} PROGRAMMING 61161 3200
4321 Array Restoration constructive algorithms data structures Statement D Codeforces Round 504 (rated, Div. 1 + Div. 2, based on VK Cup 2018 Final) {1023} PROGRAMMING Codeforces Round 504 Editorial 1700
189 Pisces data structures flows trees Statement G Codeforces Round 504 (rated, Div. 1 + Div. 2, based on VK Cup 2018 Final) {1023} PROGRAMMING Codeforces Round 504 Editorial 3300
1840 Order book combinatorics data structures greedy Statement D AIM Tech Round 5 (rated, Div. 1 + Div. 2) {1028} PROGRAMMING 61493 2100
937 Putting Boxes Together data structures Statement F Technocup 2019 - Elimination Round 1 {1030} PROGRAMMING Сodeforces Round 512 (and Technocup — Elimination Round 1) Editorial 2600
603 Intervals of Intervals binary search data structures two pointers Statement D Codeforces Round 511 (Div. 1) {1034} PROGRAMMING Codeforces Round #511 Editorial 3500
1302 Maximum Reduction combinatorics data structures math Statement F Manthan, Codefest 18 (rated, Div. 1 + Div. 2) {1037} PROGRAMMING Tutorial 2400
1312 Security data structures string suffix structures Statement H Manthan, Codefest 18 (rated, Div. 1 + Div. 2) {1037} PROGRAMMING Tutorial 2900
889 Timetable constructive algorithms data structures greedy math Statement A Codeforces Round 507 (Div. 1, based on Olympiad of Metropolises) {1039} PROGRAMMING 61668 2400
2422 You Are Given a Tree data structures dp trees Statement D Codeforces Round 507 (Div. 1, based on Olympiad of Metropolises) {1039} PROGRAMMING 61668 2700
323 Summer Oenothera Exhibition data structures Statement E Codeforces Round 507 (Div. 1, based on Olympiad of Metropolises) {1039} PROGRAMMING 61668 3400
10308 Coffee Break binary search data structures greedy two pointers Statement C Codeforces Round 509 (Div. 2) {1041} PROGRAMMING Codeforces Round #509 (Div. 2) Editorial 1500
6473 Glider binary search data structures two pointers Statement D Codeforces Round 509 (Div. 2) {1041} PROGRAMMING Codeforces Round #509 (Div. 2) Editorial 1700
3875 Tree Reconstruction constructive algorithms data structures graphs greedy Statement E Codeforces Round 509 (Div. 2) {1041} PROGRAMMING Codeforces Round #509 (Div. 2) Editorial 1900
1653 Ray in the tube data structures divide and conquer dp math Statement F Codeforces Round 509 (Div. 2) {1041} PROGRAMMING Codeforces Round #509 (Div. 2) Editorial 2400
7555 Petya and Array data structures divide and conquer two pointers Statement D Codeforces Round 510 (Div. 2) {1042} PROGRAMMING Tutorial 1800
1573 Leaf Sets data structures dfs and similar dsu graphs greedy sortings trees Statement F Codeforces Round 510 (Div. 2) {1042} PROGRAMMING Tutorial 2400
326 Speckled Band data structures divide and conquer hashing string suffix structures strings Statement G Codeforces Round 519 by Botan Investments {1043} PROGRAMMING Codeforces Round #519 Editorial 3500
712 DFS data structures Statement F Lyft Level 5 Challenge 2018 - Final Round {1044} PROGRAMMING Lyft Level 5 Challenge 2018 — Final Round — Editorial 2600
1216 Deduction Queries data structures dsu Statement D Lyft Level 5 Challenge 2018 - Final Round {1044} PROGRAMMING Lyft Level 5 Challenge 2018 — Final Round — Editorial 2600
2031 AI robots data structures Statement G Bubble Cup 11 - Finals [Online Mirror, Div. 1] {1045} PROGRAMMING E 2200
595 Last chance data structures flows graph matchings trees Statement A Bubble Cup 11 - Finals [Online Mirror, Div. 1] {1045} PROGRAMMING E 2800
226 Moonwalk challenge data structures strings trees Statement J Bubble Cup 11 - Finals [Online Mirror, Div. 1] {1045} PROGRAMMING E 3000
1289 Vasya and Big Integers binary search data structures dp hashing strings Statement E Educational Codeforces Round 51 (Rated for Div. 2) {1051} PROGRAMMING Educational Codeforces Round 51 Editorial 2500
506 Distinctification data structures dsu greedy Statement G Educational Codeforces Round 51 (Rated for Div. 2) {1051} PROGRAMMING Educational Codeforces Round 51 Editorial 2700
2887 Check Transcription brute force data structures hashing strings Statement E Mail.Ru Cup 2018 Round 3 {1056} PROGRAMMING Mail.Ru Cup 2018 Round 3 Editorial 2100
319 Take Metro brute force data structures graphs Statement G Mail.Ru Cup 2018 Round 3 {1056} PROGRAMMING Mail.Ru Cup 2018 Round 3 Editorial 2800
276 Detect Robots data structures strings Statement H Mail.Ru Cup 2018 Round 3 {1056} PROGRAMMING Mail.Ru Cup 2018 Round 3 Editorial 3100
1650 Split the Tree binary search data structures dp greedy trees Statement E Codeforces Round 514 (Div. 2) {1059} PROGRAMMING Codeforces Round #514 (Div. 2) Editorial 2400
264 Balls and Pockets data structures Statement G Codeforces Round 513 by Barcelona Bootcamp (rated, Div. 1 + Div. 2) {1060} PROGRAMMING User editorial for Codeforces Round 513 by Barcelona Bootcamp (rated, Div. 1 + Div. 2) 3300
10977 Multiplicity data structures dp implementation math number theory Statement C Codeforces Round 523 (Div. 2) {1061} PROGRAMMING Tutorial (en) 1700
2583 TV Shows data structures greedy implementation sortings Statement D Codeforces Round 523 (Div. 2) {1061} PROGRAMMING Tutorial (en) 2000
2120 Company binary search data structures dfs and similar greedy trees Statement E Codeforces Round 520 (Div. 2) {1062} PROGRAMMING Tutorial 2300
1121 String Journey data structures dp string suffix structures Statement F Codeforces Round 516 (Div. 1, by Moscow Team Olympiad) {1063} PROGRAMMING Editorial 3000
6613 Binary Numbers AND Sum data structures implementation math Statement E Codeforces Round 515 (Div. 3) {1066} PROGRAMMING 62419 1700
2331 Cloud Computing data structures greedy Statement C 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 2000
1471 Getting Deals Done binary search data structures Statement E 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 2300
710 Berkomnadzor data structures greedy Statement B 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 2500
6756 Berland Fair binary search brute force data structures greedy Statement D Educational Codeforces Round 53 (Rated for Div. 2) {1073} PROGRAMMING 62742 1700
1137 Yet Another LCP Problem data structures string suffix structures Statement G Educational Codeforces Round 53 (Rated for Div. 2) {1073} PROGRAMMING 62742 2700
4197 Vasya and a Tree data structures trees Statement E Educational Codeforces Round 54 (Rated for Div. 2) {1076} PROGRAMMING E 1900
758 Array Game data structures games Statement G Educational Codeforces Round 54 (Rated for Div. 2) {1076} PROGRAMMING E 2700
4300 Pictures with Kittens (hard version) data structures dp Statement F2 Codeforces Round 521 (Div. 3) {1077} PROGRAMMING Codeforces Round #521 (Div. 3) Editorial 2300
958 Katya and Segments Sets data structures interactive sortings Statement F Codeforces Round 524 (Div. 2) {1080} PROGRAMMING Codeforces Round #524 (Div. 2) Editorial 2700
134 Palindromic Magic data structures hashing strings Statement H Avito Cool Challenge 2018 {1081} PROGRAMMING 63888 3500
6384 The Fair Nut and the Best Path data structures dp trees Statement A Codeforces Round 526 (Div. 1) {1083} PROGRAMMING 63753 1800
5846 The Fair Nut and Rectangles data structures dp geometry Statement E Codeforces Round 526 (Div. 1) {1083} PROGRAMMING 63753 2400
1160 Max Mex data structures trees Statement C Codeforces Round 526 (Div. 1) {1083} PROGRAMMING 63753 2800
382 The Fair Nut and Amusing Xor data structures Statement F Codeforces Round 526 (Div. 1) {1083} PROGRAMMING 63753 3100
471 The Fair Nut's getting crazy data structures implementation Statement D Codeforces Round 526 (Div. 1) {1083} PROGRAMMING 63753 3400
1001 Beautiful Matrix combinatorics data structures dp Statement G Technocup 2019 - Elimination Round 4 {1085} PROGRAMMING Technocup 2019 — Elimination Round 4 + Codeforces Round 528: editorial 2600
615 Ehab and a weird weight formula data structures trees Statement F Codeforces Round 525 (Div. 2) {1088} PROGRAMMING Codeforces round #525 editorial 3000
1255 King Kog's Reception data structures Statement K 2018-2019 ICPC, NEERC, Northern Eurasia Finals (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1089} PROGRAMMING T 2400
1108 New Year and the Acquaintance Estimation binary search data structures graphs greedy implementation math sortings Statement E Good Bye 2018 {1091} PROGRAMMING Editorial 2400
3419 Great Vova Wall (Version 2) data structures implementation Statement D2 Codeforces Round 527 (Div. 3) {1092} PROGRAMMING Codeforces Round #527 (Div. 3) Editorial 2200
2265 Multidimensional Queries bitmasks data structures Statement G Educational Codeforces Round 56 (Rated for Div. 2) {1093} PROGRAMMING 63877 2200
1915 Intersection of Permutations data structures Statement E Educational Codeforces Round 56 (Rated for Div. 2) {1093} PROGRAMMING 63877 2300
909 Eels data structures Statement D Codeforces Round 530 (Div. 1) {1098} PROGRAMMING 64331 2700
337 Fedya the Potter binary search implementation math number theory Statement E Codeforces Round 530 (Div. 1) {1098} PROGRAMMING 64331 3400
1073 Cookies binary search data structures dfs and similar dp games trees Statement F Codeforces Round 530 (Div. 2) {1099} PROGRAMMING E 2300
11848 Build a Contest data structures implementation Statement B Codeforces Round 532 (Div. 2) {1100} PROGRAMMING Unofficial Tutorial 1300
3835 Ivan and Burgers data structures divide and conquer greedy math Statement F Codeforces Round 532 (Div. 2) {1100} PROGRAMMING Unofficial Tutorial 2600
5522 GCD Counting data structures dfs and similar dp number theory trees Statement D Educational Codeforces Round 58 (Rated for Div. 2) {1101} PROGRAMMING 64483 2000
17108 Game with string data structures implementation math Statement B Codeforces Round 534 (Div. 2) {1104} PROGRAMMING Codeforces Round #534 — Editorial 1300
20566 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
7015 Lunar New Year and Food Ordering data structures implementation Statement B Codeforces Round 536 (Div. 2) {1106} PROGRAMMING Tutorial 1500
2861 Lunar New Year and Red Envelopes data structures dp Statement E Codeforces Round 536 (Div. 2) {1106} PROGRAMMING Tutorial 2100
1280 Vasya and Maximum Profit binary search constructive algorithms data structures dp dsu Statement G Educational Codeforces Round 59 (Rated for Div. 2) {1107} PROGRAMMING Educational Codeforces Round 59 Editorial 2400
2580 Array and Segments (Hard version) data structures implementation Statement E2 Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 2300
622 Sasha and a Very Easy Test data structures number theory Statement E Codeforces Round 539 (Div. 1) {1109} PROGRAMMING Codeforces Round #539 Editorial 2700
318 Sasha and a Patient Friend binary search data structures implementation Statement C Codeforces Round 539 (Div. 1) {1109} PROGRAMMING Codeforces Round #539 Editorial 2800
410 Sasha and Algorithm of Silence's Sounds data structures trees Statement F Codeforces Round 539 (Div. 1) {1109} PROGRAMMING Codeforces Round #539 Editorial 3200
2112 Nearest Leaf data structures trees Statement F Codeforces Global Round 1 {1110} PROGRAMMING The Editorial of the First Codeforces Global Round 2600
1155 Tree data structures dfs and similar dp graphs trees Statement E CodeCraft-19 and Codeforces Round 537 (Div. 2) {1111} PROGRAMMING CodeCraft-19 and Codeforces Round #537 (Div. 2) Editorial 2800
2541 Please, another Queries on Array? bitmasks data structures divide and conquer math number theory Statement F Codeforces Round 538 (Div. 2) {1114} PROGRAMMING Codeforces Round #538 (Div. 2) Editorial 2500
949 Recursive Queries data structures Statement G Educational Codeforces Round 60 (Rated for Div. 2) {1117} PROGRAMMING 65365 2500
941 Niyaz and Small Degrees data structures dp trees Statement F Codeforces Global Round 2 {1119} PROGRAMMING Codeforces Global Round 2 Editorial 2900
330 Secret Letters data structures dp greedy Statement F Codeforces Round 543 (Div. 1, based on Technocup 2019 Final Round) {1120} PROGRAMMING Разбор задач финала Технокубка 2019 и Codeforces Round #543 2900
1021 Morse Code binary search data structures dp hashing sortings string suffix structures strings Statement C Codeforces Round 542 [Alex Lopashev Thanks-Round] (Div. 1) {1129} PROGRAMMING 65520 2300
1367 Isolation data structures dp Statement D Codeforces Round 542 [Alex Lopashev Thanks-Round] (Div. 1) {1129} PROGRAMMING 65520 2800
563 Most Dangerous Shark data structures dp two pointers Statement G Codeforces Round 541 (Div. 2) {1131} PROGRAMMING Codeforces Round #541 Editorial 2900
1266 Greedy Subsequences data structures dp trees Statement G Educational Codeforces Round 61 (Rated for Div. 2) {1132} PROGRAMMING T 2600
1210 Nastya Hasn't Written a Legend binary search data structures Statement E Codeforces Round 546 (Div. 2) {1136} PROGRAMMING Editorial of Round #546(Div.2) 2500
642 Train Car Selection data structures greedy Statement E Codeforces Round 545 (Div. 1) {1137} PROGRAMMING Codeforces Round #545 – Editorial 2800
531 Matches Are Not a Child's Play data structures trees Statement F Codeforces Round 545 (Div. 1) {1137} PROGRAMMING Codeforces Round #545 – Editorial 3300
541 Dish Shopping data structures divide and conquer Statement F Codeforces Round 548 (Div. 2) {1139} PROGRAMMING Codeforces Round #548 Editorial 2800
10493 Playlist brute force data structures sortings Statement C Educational Codeforces Round 62 (Rated for Div. 2) {1140} PROGRAMMING Educational Codeforces Round 62 Editorial 1600
1618 Extending Set of Points data structures divide and conquer dsu Statement F Educational Codeforces Round 62 (Rated for Div. 2) {1140} PROGRAMMING Educational Codeforces Round 62 Editorial 2700
643 Double Tree data structures divide and conquer shortest paths trees Statement G Educational Codeforces Round 62 (Rated for Div. 2) {1140} PROGRAMMING Educational Codeforces Round 62 Editorial 2900
4635 Same Sum Blocks (Hard) data structures greedy Statement F2 Codeforces Round 547 (Div. 3) {1141} PROGRAMMING 66062 2200
3932 Lynyrd Skynyrd data structures dfs and similar dp math trees Statement B Codeforces Round 549 (Div. 1) {1142} PROGRAMMING Codeforces Round #549 Editorial 2300
1068 Hot is Cold bitmasks data structures divide and conquer implementation Statement E Forethought Future Cup - Elimination Round {1146} PROGRAMMING 66639 2400
400 Holy Diver data structures Statement H Codeforces Global Round 3 {1148} PROGRAMMING Codeforces Global Round 3 Editorial 3600
1712 Tree Generator™ data structures implementation trees Statement C Codeforces Round 556 (Div. 1) {1149} PROGRAMMING 66783 2900
3824 Number of Components combinatorics data structures dp math Statement E Codeforces Round 553 (Div. 2) {1151} PROGRAMMING Codeforces Round #553 (Div. 2) Editorial 2100
7045 Two Teams data structures implementation sortings Statement E Codeforces Round 552 (Div. 3) {1154} PROGRAMMING Codeforces Round #552 (Div. 3) Editorial 1800
7847 Beautiful Array brute force data structures divide and conquer dp greedy Statement D Educational Codeforces Round 63 (Rated for Div. 2) {1155} PROGRAMMING 66687 1900
4138 Special Segments of Permutation data structures divide and conquer dsu two pointers Statement E Educational Codeforces Round 64 (Rated for Div. 2) {1156} PROGRAMMING 66827 2400