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 ... 6 7 8 9 10 11 12 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
18743 Longest Palindrome brute force constructive algorithms greedy implementation strings Statement B Codeforces Round 620 (Div. 2) {1304} PROGRAMMING 1000.0 Codeforces Round #620 (Div. 2) Editorial 1100
17719 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
3265 Kuroni and the Score Distribution constructive algorithms greedy implementation math Statement E Ozon Tech Challenge 2020 (Div.1 + Div.2, Rated, T-shirts + prizes!) {1305} PROGRAMMING 2000.0 Ozon Tech Challenge 2020 Editorial 2100
1362 Cow and Treats binary search combinatorics dp greedy implementation math Statement E Codeforces Round 621 (Div. 1 + Div. 2) {1307} PROGRAMMING 2500.0 Codeforces Round #621 (Div. 1 + Div. 2) Editorial 2400
15621 Cow and Haybales greedy implementation Statement A Codeforces Round 621 (Div. 1 + Div. 2) {1307} PROGRAMMING 500.0 Codeforces Round #621 (Div. 1 + Div. 2) Editorial 800
574 Double Elimination dp implementation Statement B VK Cup 2019-2020 - Elimination Round (Engine) {1310} PROGRAMMING 1000.0 VK Cup 2019-2020 - Elimination Round (Engine) and Codeforces Round #623 2500
4810 Moving Points data structures divide and conquer implementation sortings Statement F Codeforces Round 624 (Div. 3) {1311} PROGRAMMING 74224 2100
46143 Add Odd or Subtract Even greedy implementation math Statement A Codeforces Round 624 (Div. 3) {1311} PROGRAMMING 74224 700
18314 Adding Powers bitmasks greedy implementation math number theory ternary search Statement C Educational Codeforces Round 83 (Rated for Div. 2) {1312} PROGRAMMING 74640
7006 Different Rules binary search constructive algorithms greedy implementation math Statement B Codeforces Round 622 (Div. 2) {1313} PROGRAMMING 1000.0 Editorial 1700
1497 Happy New Year bitmasks dp implementation Statement D Codeforces Round 622 (Div. 2) {1313} PROGRAMMING 2000.0 Editorial 2600
16212 Fast Food Restaurant brute force greedy implementation Statement A Codeforces Round 622 (Div. 2) {1313} PROGRAMMING 500.0 Editorial 900
12909 Dead Pixel implementation Statement A Codeforces Round 623 (Div. 2, based on VK Cup 2019-2020 - Elimination Round, Engine) {1315} PROGRAMMING 500.0 VK Cup 2019-2020 - Elimination Round (Engine) and Codeforces Round #623 700
11719 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
3537 Nash Matrix constructive algorithms dfs and similar graphs implementation Statement D CodeCraft-20 (Div. 2) {1316} PROGRAMMING 1750.0 Codecraft-20 (Div.2) Editorial 2000
19637 Grade Allocation implementation Statement A CodeCraft-20 (Div. 2) {1316} PROGRAMMING 500.0 Codecraft-20 (Div.2) Editorial 700
20861 Even Subset Sum Problem brute force dp greedy implementation Statement A Codeforces Round 626 (Div. 2, based on Moscow Open Olympiad in Informatics) {1323} PROGRAMMING 500.0 Codeforces Round #626 Editorial
11703 Count Subrectangles greedy implementation Statement B Codeforces Round 626 (Div. 2, based on Moscow Open Olympiad in Informatics) {1323} PROGRAMMING 1000.0 Codeforces Round #626 Editorial
30424 Frog Jumps binary search data structures greedy implementation Statement C Codeforces Round 627 (Div. 3) {1324} PROGRAMMING Codeforces Round #627 (Div. 3) Editorial
27280 Yet Another Tetris Problem implementation number theory Statement A Codeforces Round 627 (Div. 3) {1324} PROGRAMMING Codeforces Round #627 (Div. 3) Editorial
38766 CopyCopyCopyCopyCopy greedy implementation Statement B Codeforces Round 628 (Div. 2) {1325} PROGRAMMING 750.0 74235 800
25244 Maximums implementation math Statement B Codeforces Global Round 7 {1326} PROGRAMMING 1000.0 74961 900
33018 Ternary XOR greedy implementation Statement C Codeforces Round 629 (Div. 3) {1328} PROGRAMMING 75246 1200
31976 K-th Beautiful String combinatorics implementation math Statement B Codeforces Round 629 (Div. 3) {1328} PROGRAMMING 75246 1300
9656 Dreamoon Likes Coloring constructive algorithms greedy implementation math Statement A Codeforces Round 631 (Div. 1) - Thanks, Denis aramis Shitov! {1329} PROGRAMMING 500.0 Codeforces Round #631 Editorial 1800
1802 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
19441 Dreamoon and Ranking Collection implementation Statement A Codeforces Round 631 (Div. 2) - Thanks, Denis aramis Shitov! {1330} PROGRAMMING 500.0 Codeforces Round #631 Editorial 1000
14512 Dreamoon Likes Permutations implementation math Statement B Codeforces Round 631 (Div. 2) - Thanks, Denis aramis Shitov! {1330} PROGRAMMING 1000.0 Codeforces Round #631 Editorial 1400
1238 Jordan Smiley dfs and similar geometry implementation Statement E April Fools Day Contest 2020 {1331} PROGRAMMING April Fools Day Contest 2020: editorial
12099 Again? implementation Statement D April Fools Day Contest 2020 {1331} PROGRAMMING April Fools Day Contest 2020: editorial
19852 Exercising Walk greedy implementation math Statement A Codeforces Round 630 (Div. 2) {1332} PROGRAMMING 500.0 Codeforces Round #630 Editorial 1200
20761 K-Complete Word dfs and similar dsu greedy implementation strings Statement C Codeforces Round 630 (Div. 2) {1332} PROGRAMMING 1250.0 Codeforces Round #630 Editorial 1500
13285 Eugene and an array binary search data structures hashing implementation two pointers Statement C Codeforces Round 632 (Div. 2) {1333} PROGRAMMING 1250.0 Codeforces Round #632 (Div. 2) editorial
4128 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
22214 Kind Anton greedy implementation Statement B Codeforces Round 632 (Div. 2) {1333} PROGRAMMING 750.0 Codeforces Round #632 (Div. 2) editorial
4566 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
7718 Minimum Euler Cycle constructive algorithms graphs greedy implementation Statement D Educational Codeforces Round 85 (Rated for Div. 2) {1334} PROGRAMMING Educational Codeforces Round 85 Editorial
24338 Level Statistics implementation math Statement A Educational Codeforces Round 85 (Rated for Div. 2) {1334} PROGRAMMING Educational Codeforces Round 85 Editorial
38877 Two Teams Composing binary search greedy implementation sortings Statement C Codeforces Round 634 (Div. 3) {1335} PROGRAMMING 75993 1100
29413 Anti-Sudoku constructive algorithms implementation Statement D Codeforces Round 634 (Div. 3) {1335} PROGRAMMING 75993 1300
36818 Kana and Dragon Quest game greedy implementation math Statement B Codeforces Round 635 (Div. 2) {1337} PROGRAMMING 1000.0 Codeforces Round #635 Editorial 1000
3436 Perfect Triples bitmasks brute force constructive algorithms divide and conquer greedy implementation math Statement C Codeforces Round 633 (Div. 1) {1338} PROGRAMMING 1500.0 Editorial
13686 Nastya and Strange Generator brute force data structures greedy implementation Statement A Codeforces Round 637 (Div. 1) - Thanks, Ivan Belonogov! {1340} PROGRAMMING 500.0 Codeforces Round #637 Editorial
21053 Nastya and Door greedy implementation Statement B Codeforces Round 637 (Div. 2) - Thanks, Ivan Belonogov! {1341} PROGRAMMING 1000.0 Codeforces Round #637 Editorial
1392 Restore the Permutation by Sorted Segments brute force constructive algorithms data structures greedy implementation Statement F Codeforces Round 636 (Div. 3) {1343} PROGRAMMING 76352 2800
4803 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
9265 Skier data structures implementation Statement C Testing Round 16 (Unrated) {1351} PROGRAMMING 1500.0 1400
26851 A+B (Trial Problem) implementation Statement A Testing Round 16 (Unrated) {1351} PROGRAMMING 500.0 800
18495 Square? brute force implementation math Statement B Testing Round 16 (Unrated) {1351} PROGRAMMING 1000.0 900
29707 Alice, Bob and Candies implementation Statement D Codeforces Round 640 (Div. 4) {1352} PROGRAMMING 77161 1300
23901 Special Elements brute force implementation two pointers Statement E Codeforces Round 640 (Div. 4) {1352} PROGRAMMING 77161 1500
103475 Sum of Round Numbers implementation math Statement A Codeforces Round 640 (Div. 4) {1352} PROGRAMMING 77161 800
35174 Ternary String binary search dp implementation two pointers Statement B Educational Codeforces Round 87 (Rated for Div. 2) {1354} PROGRAMMING 77593 1200
28748 Sequence with Digits brute force implementation math Statement A Codeforces Round 643 (Div. 2) {1355} PROGRAMMING 750.0 Codeforces Round #643 (Div. 2) Editorial 1200
11912 Count Triangles binary search implementation math two pointers Statement C Codeforces Round 643 (Div. 2) {1355} PROGRAMMING 1250.0 Codeforces Round #643 (Div. 2) Editorial 1800
8701 The Best Vacation binary search brute force greedy implementation two pointers Statement D Codeforces Round 645 (Div. 2) {1358} PROGRAMMING 1500.0 Codeforces Round #645 (Div. 2) Editorial 1900
2449 Are You Fired? constructive algorithms data structures dp greedy implementation Statement E Codeforces Round 645 (Div. 2) {1358} PROGRAMMING 2000.0 Codeforces Round #645 (Div. 2) Editorial 2400
501 Tasty Cookie binary search constructive algorithms greedy implementation Statement F Codeforces Round 645 (Div. 2) {1358} PROGRAMMING 2500.0 Codeforces Round #645 (Div. 2) Editorial 2700
29358 New Theatre Square brute force dp greedy implementation two pointers Statement B Educational Codeforces Round 88 (Rated for Div. 2) {1359} PROGRAMMING Educational Codeforces Round 88 Editorial 1000
10689 Yet Another Yet Another Task data structures dp implementation two pointers Statement D Educational Codeforces Round 88 (Rated for Div. 2) {1359} PROGRAMMING Educational Codeforces Round 88 Editorial 2000
27931 Polygon dp graphs implementation shortest paths Statement E Codeforces Round 644 (Div. 3) {1360} PROGRAMMING Codeforces Round #644 (Div. 3) Editorial 1300
3843 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
340 Johnny and James greedy implementation math trees Statement D Codeforces Round 647 (Div. 1) - Thanks, Algo Muse! {1361} PROGRAMMING 2500.0 Codeforces Round #647 Editorial 2900
172 Johnny and New Toy data structures implementation math Statement F Codeforces Round 647 (Div. 1) - Thanks, Algo Muse! {1361} PROGRAMMING 3500.0 Codeforces Round #647 Editorial 3300
33813 Johnny and Ancient Computer implementation Statement A Codeforces Round 647 (Div. 2) - Thanks, Algo Muse! {1362} PROGRAMMING 500.0 Codeforces Round #647 Editorial 1000
40288 Odd Selection brute force implementation math Statement A Codeforces Round 646 (Div. 2) {1363} PROGRAMMING 500.0 78202 1200
26083 Subsequence Hate implementation strings Statement B Codeforces Round 646 (Div. 2) {1363} PROGRAMMING 1000.0 78202 1400
4405 Guess The Maximums binary search divide and conquer implementation interactive math Statement D Codeforces Round 646 (Div. 2) {1363} PROGRAMMING 2000.0 78202 2100
4951 Ehab's Last Corollary constructive algorithms data structures dfs and similar dp graphs implementation trees Statement D Codeforces Round 649 (Div. 2) {1364} PROGRAMMING 2000.0 Codeforces round #649 editorial 2100
25026 Matrix Game games greedy implementation Statement A Codeforces Round 648 (Div. 2) {1365} PROGRAMMING 500.0 Editorial — Codeforces Round #648 1100
28799 Trouble Sort constructive algorithms implementation Statement B Codeforces Round 648 (Div. 2) {1365} PROGRAMMING 750.0 Editorial — Codeforces Round #648 1300
24942 Rotation Matching constructive algorithms data structures greedy implementation Statement C Codeforces Round 648 (Div. 2) {1365} PROGRAMMING 1250.0 Editorial — Codeforces Round #648 1400
20687 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
4740 Swaps Again constructive algorithms implementation sortings Statement F Codeforces Round 648 (Div. 2) {1365} PROGRAMMING 2500.0 Editorial — Codeforces Round #648 2100
4616 Two Arrays binary search brute force combinatorics dp greedy implementation two pointers Statement E Educational Codeforces Round 89 (Rated for Div. 2) {1366} PROGRAMMING Educational Codeforces Round 89 Editorial
8768 Task On The Board constructive algorithms greedy implementation sortings Statement D Codeforces Round 650 (Div. 3) {1367} PROGRAMMING Codeforces Round #650 (Div. 3) Editorial
67431 Short Substrings implementation strings Statement A Codeforces Round 650 (Div. 3) {1367} PROGRAMMING Codeforces Round #650 (Div. 3) Editorial
1104 Lamps on a Circle games greedy implementation interactive math Statement F Codeforces Global Round 8 {1368} PROGRAMMING 3000.0 Codeforces Global Round 8: editorial
25545 AccurateLee greedy implementation strings Statement B Codeforces Round 652 (Div. 2) {1369} PROGRAMMING 1000.0 Codeforces Round #652 (Div. 2) Editorial 1200
2450 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
5216 Binary Subsequence Rotation binary search data structures dp greedy implementation Statement E Codeforces Round 651 (Div. 2) {1370} PROGRAMMING 2500.0 Editorial — Codeforces Round #651
10812 Odd-Even Subsequence binary search dp greedy implementation sortings Statement D Codeforces Round 651 (Div. 2) {1370} PROGRAMMING 2000.0 Editorial — Codeforces Round #651
64005 Maximum GCD brute force greedy implementation number theory Statement A Codeforces Round 651 (Div. 2) {1370} PROGRAMMING 500.0 Editorial — Codeforces Round #651
5523 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
21352 A Cookie for You constructive algorithms greedy implementation math Statement C Codeforces Round 654 (Div. 2) {1371} PROGRAMMING 1250.0 Codeforces Round #654 (Div. 2) Editorial
689 Raging Thunder data structures implementation Statement F Codeforces Round 654 (Div. 2) {1371} PROGRAMMING 3000.0 Codeforces Round #654 (Div. 2) Editorial
33453 Omkar and Completion constructive algorithms implementation Statement A Codeforces Round 655 (Div. 2) {1372} PROGRAMMING 500.0 Codeforces Round #655 Editorial 800
19332 Pluses and Minuses binary search dp greedy implementation math Statement C Educational Codeforces Round 90 (Rated for Div. 2) {1373} PROGRAMMING Educational Codeforces Round 90 Editorial
52280 01 Game brute force constructive algorithms dp games implementation strings Statement B Educational Codeforces Round 90 (Rated for Div. 2) {1373} PROGRAMMING Educational Codeforces Round 90 Editorial
29420 Donut Shops greedy implementation math Statement A Educational Codeforces Round 90 (Rated for Div. 2) {1373} PROGRAMMING Educational Codeforces Round 90 Editorial
1392 Cyclic Shifts Sorting brute force constructive algorithms implementation Statement F Codeforces Round 653 (Div. 3) {1374} PROGRAMMING 79517
14943 Reading Books (easy version) data structures greedy implementation sortings Statement E1 Codeforces Round 653 (Div. 3) {1374} PROGRAMMING 79517
10050 Replace by MEX brute force constructive algorithms implementation Statement D Codeforces Global Round 9 {1375} PROGRAMMING 1750.0 79731
12325 Acacius and String brute force implementation strings Statement A Codeforces Round 657 (Div. 2) {1379} PROGRAMMING 500.0 Codeforces Round #657 Editorial 1500
2406 Merging Towers data structures dsu implementation trees Statement E Educational Codeforces Round 91 (Rated for Div. 2) {1380} PROGRAMMING Educational Codeforces Round 91 Editorial
1708 Mastermind constructive algorithms greedy implementation sortings Statement C Codeforces Round 658 (Div. 1) {1381} PROGRAMMING 2000.0 Codeforces Round #658 Editorial 2500
21815 a-Good String bitmasks brute force divide and conquer dp implementation Statement D Codeforces Round 656 (Div. 3) {1385} PROGRAMMING Codeforces Round #656 (Div. 3) Editorial 1500
1809 Columns Swaps 2-sat dfs and similar dsu graphs implementation Statement G Codeforces Round 656 (Div. 3) {1385} PROGRAMMING Codeforces Round #656 (Div. 3) Editorial 2300
2813 Removing Leaves data structures dfs and similar divide and conquer greedy implementation trees Statement F Codeforces Round 656 (Div. 3) {1385} PROGRAMMING Codeforces Round #656 (Div. 3) Editorial 2300
6902 Captain Flint and Treasure data structures dfs and similar dp graphs greedy implementation trees Statement D Codeforces Round 660 (Div. 2) {1388} PROGRAMMING 2000.0 Codeforces Round #660 Editorial 2000
4546 Segment Intersections binary search brute force greedy implementation math Statement D Educational Codeforces Round 92 (Rated for Div. 2) {1389} PROGRAMMING 80809
20523 Good String brute force dp greedy implementation two pointers Statement C Educational Codeforces Round 92 (Rated for Div. 2) {1389} PROGRAMMING 80809
5751 505 bitmasks brute force dp implementation Statement D Codeforces Round 663 (Div. 2) {1391} PROGRAMMING 2000.0 Codeforces Round #663 (Div. 2) Editorial
29730 Fix You brute force greedy implementation Statement B Codeforces Round 663 (Div. 2) {1391} PROGRAMMING 750.0 Codeforces Round #663 (Div. 2) Editorial
19574 Omkar and Waterslide greedy implementation Statement C Codeforces Global Round 10 {1392} PROGRAMMING 1000.0 Codeforces Global Round 10 — Editorial
18882 Omkar and Infinity Clock implementation math Statement B Codeforces Global Round 10 {1392} PROGRAMMING 750.0 Codeforces Global Round 10 — Editorial
4181 Rarity and New Dress data structures dp graphs implementation Statement D Codeforces Round 662 (Div. 2) {1393} PROGRAMMING 1750.0 Codeforces Round #662 Editorial
17353 Applejack and Storages data structures greedy implementation Statement B Codeforces Round 662 (Div. 2) {1393} PROGRAMMING 1000.0 Codeforces Round #662 Editorial
446 Twilight and Ancient Scroll (easier version) dp hashing implementation string suffix structures strings Statement E1 Codeforces Round 662 (Div. 2) {1393} PROGRAMMING 1500.0 Codeforces Round #662 Editorial
438 Twilight and Ancient Scroll (harder version) dp implementation string suffix structures strings Statement E2 Codeforces Round 662 (Div. 2) {1393} PROGRAMMING 1500.0 Codeforces Round #662 Editorial
2143 Boboniu Walks on Graph brute force graphs hashing implementation meet-in-the-middle Statement B Codeforces Round 664 (Div. 1) {1394} PROGRAMMING 1000.0 Codeforces Round #664 Editorial 2300
2592 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
2628 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
75 Chess Rush *special combinatorics dp implementation math Statement C Central-European Olympiad in Informatics, CEOI 2020, Day 2 (IOI, Unofficial Mirror Contest, Unrated) {1403} PROGRAMMING CEOI 2020 Online Mirror — Day 2 Tutorial
19314 Balanced Bitstring implementation strings Statement A Codeforces Round 668 (Div. 1) {1404} PROGRAMMING 500.0 Codeforces Round #668 Editorial
24421 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
22909 Subset Mex greedy implementation math Statement A Codeforces Round 670 (Div. 2) {1406} PROGRAMMING 500.0 Codeforces Round #670 (Div. 2) Editorial
4666 Searchlights binary search brute force data structures dp geometry implementation sortings Statement D Grakn Forces 2020 {1408} PROGRAMMING 2000.0 Grakn Forces -- Editorial
9264 Discrete Acceleration binary search implementation math two pointers Statement C Grakn Forces 2020 {1408} PROGRAMMING 1250.0 Grakn Forces -- Editorial
2708 Grime Zoo constructive algorithms greedy implementation Statement D Technocup 2021 - Elimination Round 3 {1411} PROGRAMMING 2000.0 Technocup 2021 Elimination Round 3 and Round #692 (Div. 1 + Div. 2) Editorial
1812 Poman Numbers greedy implementation math Statement E Technocup 2021 - Elimination Round 3 {1411} PROGRAMMING 2250.0 Technocup 2021 Elimination Round 3 and Round #692 (Div. 1 + Div. 2) Editorial
21725 In-game Chat implementation Statement A Technocup 2021 - Elimination Round 3 {1411} PROGRAMMING 500.0 Technocup 2021 Elimination Round 3 and Round #692 (Div. 1 + Div. 2) Editorial
6213 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
6908 Shurikens data structures greedy implementation Statement D Technocup 2021 - Elimination Round 1 {1413} PROGRAMMING 2000.0 Codeforces Round 679 (Div. 1, Div. 2) and Technocup Round 1 editorial
12004 A New Technique implementation Statement B Technocup 2021 - Elimination Round 1 {1413} PROGRAMMING 1000.0 Codeforces Round 679 (Div. 1, Div. 2) and Technocup Round 1 editorial
11712 Bouncing Ball brute force dp implementation Statement C Technocup 2021 - Elimination Round 2 {1415} PROGRAMMING 1250.0 Editorial of Codeforces Round 687 (Technocup 2021 — Elimitation Round 2)
16619 k-Amazing Numbers binary search data structures implementation two pointers Statement A Codeforces Round 673 (Div. 1) {1416} PROGRAMMING 500.0 Codeforces Round #673 Editorial 1500
4733 Trash Problem data structures hashing implementation two pointers Statement D Educational Codeforces Round 95 (Rated for Div. 2) {1418} PROGRAMMING Unofficial Editorial for Educational Round 95 (Div. 2)
17367 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
561 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
26357 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
3494 Decryption bitmasks constructive algorithms implementation math number theory Statement E Codeforces Round 671 (Div. 2) {1419} PROGRAMMING 2250.0 Codeforces Round #671 Editorial
16949 Stairs brute force constructive algorithms greedy implementation math two pointers Statement B Codeforces Round 671 (Div. 2) {1419} PROGRAMMING 750.0 Codeforces Round #671 Editorial
20507 Digit Game games implementation Statement A Codeforces Round 671 (Div. 2) {1419} PROGRAMMING 500.0 Codeforces Round #671 Editorial
16286 Killjoy greedy implementation math Statement C Codeforces Round 671 (Div. 2) {1419} PROGRAMMING 1250.0 Codeforces Round #671 Editorial
5180 Pokémon Army (hard version) data structures divide and conquer dp greedy implementation Statement C2 Codeforces Round 672 (Div. 2) {1420} PROGRAMMING 1250.0
961 Swedish Heroes brute force dp implementation Statement E Codeforces Round 676 (Div. 2) {1421} PROGRAMMING 2500.0 Codeforces Round #676 (Div. 2) Editorial
4375 Hexagons brute force implementation math shortest paths ternary search Statement D Codeforces Round 676 (Div. 2) {1421} PROGRAMMING 2000.0 Codeforces Round #676 (Div. 2) Editorial
13465 Putting Bricks in the Wall constructive algorithms implementation Statement B Codeforces Round 676 (Div. 2) {1421} PROGRAMMING 1000.0 Codeforces Round #676 (Div. 2) Editorial
3117 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
851 Minlexes dp greedy implementation strings Statement E Codeforces Round 675 (Div. 2) {1422} PROGRAMMING 2000.0 Codeforces Round #675 (Div. 2) Editorial
14997 Nice Matrix greedy implementation ternary search Statement B Codeforces Round 675 (Div. 2) {1422} PROGRAMMING 750.0 Codeforces Round #675 (Div. 2) Editorial
155 Lookup Tables bitmasks Statement I Bubble Cup 13 - Finals [Online Mirror, unrated, Div. 1] {1423} PROGRAMMING FinalsEditorial2020.pdf
1012 Excitation of Atoms greedy implementation Statement E 2020 ICPC, COMPFEST 12, Indonesia Multi-Provincial Contest (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1425} PROGRAMMING Tutorial 2200
54789 Floor Number implementation math Statement A Codeforces Round 674 (Div. 3) {1426} PROGRAMMING 83120 800
21775 Symmetric Matrix implementation Statement B Codeforces Round 674 (Div. 3) {1426} PROGRAMMING 83120 900
11438 Chess Cheater greedy implementation sortings Statement B Codeforces Global Round 11 {1427} PROGRAMMING 750.0 Editorial of Global Round 11 1400
3690 Unshuffling a Deck constructive algorithms implementation Statement D Codeforces Global Round 11 {1427} PROGRAMMING 1000.0 Editorial of Global Round 11 2000
15164 Belted Rooms graphs implementation Statement B Codeforces Raif Round 1 (Div. 1 + Div. 2) {1428} PROGRAMMING 1000.0 Codeforces Raif Round 1 Editorial
28112 Numbers on Whiteboard constructive algorithms data structures games implementation math Statement C Educational Codeforces Round 96 (Rated for Div. 2) {1430} PROGRAMMING Educational Codeforces Round 96 — Editorial
20188 Barrels greedy implementation sortings Statement B Educational Codeforces Round 96 (Rated for Div. 2) {1430} PROGRAMMING Educational Codeforces Round 96 — Editorial
746 Black Friday *special implementation Statement C Kotlin Heroes 5: ICPC Round {1431} PROGRAMMING 84563
1053 Polycarp and the Language of Gods *special implementation two pointers Statement B Kotlin Heroes 5: ICPC Round {1431} PROGRAMMING 84563
29814 Yet Another Bookshelf greedy implementation Statement B Codeforces Round 677 (Div. 3) {1433} PROGRAMMING Codeforces Round #677 (Div. 3) Editorial
62371 Boring Apartments implementation math Statement A Codeforces Round 677 (Div. 3) {1433} PROGRAMMING Codeforces Round #677 (Div. 3) Editorial
11645 Binary Search binary search combinatorics Statement C Codeforces Round 678 (Div. 2) {1436} PROGRAMMING 1500.0 Codeforces Round #678 (Div. 2). Editorial
3904 Make It Increasing data structures dp implementation Statement E Educational Codeforces Round 97 (Rated for Div. 2) {1437} PROGRAMMING 84149
1463 Yurii Can Do Everything brute force divide and conquer greedy implementation Statement E Codeforces Round 682 (Div. 2) {1438} PROGRAMMING 2250.0 Codeforces Round #682 (Div. 2) Editorial
5390 Binary Table (Hard Version) constructive algorithms graphs greedy implementation Statement A2 Codeforces Round 684 (Div. 1) {1439} PROGRAMMING 500.0 Codeforces Round #684[Div1 and Div2] Editorial
9796 Binary Table (Easy Version) constructive algorithms implementation Statement A1 Codeforces Round 684 (Div. 1) {1439} PROGRAMMING 500.0 Codeforces Round #684[Div1 and Div2] Editorial
20366 Buy the String implementation math Statement A Codeforces Round 684 (Div. 2) {1440} PROGRAMMING 500.0 Codeforces Round #684[Div1 and Div2] Editorial
5230 Identify the Operations brute force combinatorics data structures dsu greedy implementation Statement B Codeforces Round 681 (Div. 1, based on VK Cup 2019-2020 - Final) {1442} PROGRAMMING 1000.0 84298
277 Multithreading (Hard Version) combinatorics implementation math Statement H2 Codeforces Global Round 12 {1450} PROGRAMMING 1750.0 Codeforces Global Round 12 Editorial
5801 Rating Compression data structures implementation two pointers Statement D Codeforces Global Round 12 {1450} PROGRAMMING 1750.0 Codeforces Global Round 12 Editorial
17267 String Equality dp greedy hashing implementation strings Statement C Codeforces Round 685 (Div. 2) {1451} PROGRAMMING 1250.0 Editorial — Codeforces Round #685
20176 Non-Substring Subsequence greedy implementation strings Statement B Codeforces Round 685 (Div. 2) {1451} PROGRAMMING 750.0 Editorial — Codeforces Round #685
1688 Two Editorials brute force data structures greedy implementation Statement E Educational Codeforces Round 98 (Rated for Div. 2) {1452} PROGRAMMING 84847
14056 Suffix Operations constructive algorithms implementation Statement B Codeforces Round 688 (Div. 2) {1453} PROGRAMMING 1000.0 Codeforces Round #688 (Div. 2) Editorial
6256 Triangles greedy implementation Statement C Codeforces Round 688 (Div. 2) {1453} PROGRAMMING 1500.0 Codeforces Round #688 (Div. 2) Editorial
24092 Cancel the Trains implementation Statement A Codeforces Round 688 (Div. 2) {1453} PROGRAMMING 500.0 Codeforces Round #688 (Div. 2) Editorial
22463 Sequence Transformation greedy implementation Statement C Codeforces Round 686 (Div. 3) {1454} PROGRAMMING Codeforces Round #686 (Div. 3) Editorial
30009 Unique Bid Auction implementation Statement B Codeforces Round 686 (Div. 3) {1454} PROGRAMMING Codeforces Round #686 (Div. 3) Editorial
1680 Latin Square data structures implementation math matrices Statement C Codeforces Round 691 (Div. 1) {1458} PROGRAMMING 1500.0 Codeforces Round #691 Editorial (finished)
10169 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
2209 Water Level brute force graphs greedy implementation math Statement E Codeforces Round 689 (Div. 2, based on Zed Code Competition) {1461} PROGRAMMING 2250.0 Codeforces Round #689 (Div. 2). Editorial
11337 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
29121 Last Year's Substring implementation strings Statement B Codeforces Round 690 (Div. 3) {1462} PROGRAMMING Codeforces Round #690 (Div. 3) Editorial
48709 Favorite Sequence implementation two pointers Statement A Codeforces Round 690 (Div. 3) {1462} PROGRAMMING Codeforces Round #690 (Div. 3) Editorial
6046 Busy Robot implementation math Statement C Educational Codeforces Round 100 (Rated for Div. 2) {1463} PROGRAMMING Educational Codeforces Round 100 Editorial
11532 Hills And Valleys brute force implementation Statement B Codeforces Round 695 (Div. 2) {1467} PROGRAMMING 1000.0 Codeforces Round #695 (Div. 2) Editorial 1700
5595 The Robot brute force implementation Statement K 2020-2021 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules) {1468} PROGRAMMING Tutorial (PDF)
10276 Berpizza data structures implementation Statement C 2020-2021 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules) {1468} PROGRAMMING Tutorial (PDF)
9109 Waste Sorting flows greedy implementation Statement N 2020-2021 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules) {1468} PROGRAMMING Tutorial (PDF)
573 Plane Tiling implementation math Statement I 2020-2021 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules) {1468} PROGRAMMING Tutorial (PDF)
11655 Building a Fence dp greedy implementation two pointers Statement C Educational Codeforces Round 101 (Rated for Div. 2) {1469} PROGRAMMING Educational Codeforces Round 101 Editorial
19919 Strange List brute force greedy implementation math Statement B Codeforces Round 694 (Div. 2) {1471} PROGRAMMING 750.0 Codeforces Round #694 Editorial
10933 Program data structures dp implementation Statement D Educational Codeforces Round 102 (Rated for Div. 2) {1473} PROGRAMMING Educational Codeforces Round 102 Editorial
4690 Minimum Path dp graphs implementation shortest paths Statement E Educational Codeforces Round 102 (Rated for Div. 2) {1473} PROGRAMMING Educational Codeforces Round 102 Editorial
37276 Replacing Elements greedy implementation sortings Statement A Educational Codeforces Round 102 (Rated for Div. 2) {1473} PROGRAMMING Educational Codeforces Round 102 Editorial
14107 Array Destruction constructive algorithms data structures greedy implementation sortings Statement C Codeforces Round 696 (Div. 2) {1474} PROGRAMMING 1500.0 Codeforces Round #696 Editorial
4297 Cleaning data structures dp greedy implementation Statement D Codeforces Round 696 (Div. 2) {1474} PROGRAMMING 2000.0 Codeforces Round #696 Editorial
17561 Advertising Agency combinatorics implementation math sortings Statement E Codeforces Round 697 (Div. 3) {1475} PROGRAMMING Codeforces Round #697 (Div. 3) Editorial
9221 Journey dfs and similar dp dsu implementation two pointers Statement D Educational Codeforces Round 103 (Rated for Div. 2) {1476} PROGRAMMING 87356
10616 Nezzar and Symmetric Array constructive algorithms implementation math sortings Statement C Codeforces Round 698 (Div. 2) {1478} PROGRAMMING 1500.0 Tutorial 1700
7462 Painting the Array I constructive algorithms data structures dp greedy implementation Statement B1 Codeforces Round 700 (Div. 1) {1479} PROGRAMMING 750.0 Editorial of Codeforces Round #700
4425 Painting the Array II data structures dp greedy implementation Statement B2 Codeforces Round 700 (Div. 1) {1479} PROGRAMMING 750.0 Editorial of Codeforces Round #700
17921 The Great Hero greedy implementation Statement B Codeforces Round 700 (Div. 2) {1480} PROGRAMMING 1000.0 Editorial of Codeforces Round #700
12390 Fence Painting brute force constructive algorithms greedy implementation Statement C Codeforces Round 699 (Div. 2) {1481} PROGRAMMING 1500.0 Codeforces Round #699 (Div. 2) Editorial
19898 New Colony brute force greedy implementation Statement B Codeforces Round 699 (Div. 2) {1481} PROGRAMMING 750.0 Codeforces Round #699 (Div. 2) Editorial
4847 AB Graph constructive algorithms graphs greedy implementation strings Statement D Codeforces Round 699 (Div. 2) {1481} PROGRAMMING 2000.0 Codeforces Round #699 (Div. 2) Editorial
25725 Space Navigation greedy implementation strings Statement A Codeforces Round 699 (Div. 2) {1481} PROGRAMMING 500.0 Codeforces Round #699 (Div. 2) Editorial
4110 Playlist data structures dsu implementation Statement D Технокубок 2021 - Финал {1482} PROGRAMMING 2000.0 Technocup 2021: Final Round and Codeforces Round #709 — tutorial
9590 Restore Modulo implementation math Statement B Технокубок 2021 - Финал {1482} PROGRAMMING 1250.0 Technocup 2021: Final Round and Codeforces Round #709 — tutorial
3852 Basic Diplomacy constructive algorithms flows greedy implementation Statement A Codeforces Round 709 (Div. 1, based on Technocup 2021 Final Round) {1483} PROGRAMMING 500.0 Technocup 2021: Final Round and Codeforces Round #709 — tutorial
1353 Playlist data structures dsu implementation two pointers Statement B Codeforces Round 709 (Div. 1, based on Technocup 2021 Final Round) {1483} PROGRAMMING 1000.0 Technocup 2021: Final Round and Codeforces Round #709 — tutorial
4125 Restore Modulo implementation math Statement B Codeforces Round 709 (Div. 2, based on Technocup 2021 Final Round) {1484} PROGRAMMING 1250.0 Technocup 2021: Final Round and Codeforces Round #709 — tutorial
17896 Replace and Keep Sorted dp implementation math Statement B Codeforces Round 701 (Div. 2) {1485} PROGRAMMING 1000.0 Editorial of Codeforces Round #701 (Div. 2) 1200
27032 Shifting Stacks greedy implementation Statement A Codeforces Round 703 (Div. 2) {1486} PROGRAMMING 500.0 Codeforces Round #703 (Div. 2) Editorial
15386 Minimum Ties brute force constructive algorithms dfs and similar graphs greedy implementation math Statement C Educational Codeforces Round 104 (Rated for Div. 2) {1487} PROGRAMMING 87873
5113 Cheap Dinner data structures dp implementation sortings two pointers Statement E Educational Codeforces Round 104 (Rated for Div. 2) {1487} PROGRAMMING 87873
27490 Arena implementation sortings Statement A Educational Codeforces Round 104 (Rated for Div. 2) {1487} PROGRAMMING 87873
21625 Permutation Transformation dfs and similar divide and conquer implementation Statement D Codeforces Round 702 (Div. 3) {1490} PROGRAMMING Codeforces Round #702 (Div. 3) Editorial
8386 Pekora and Trampoline brute force data structures dp graphs greedy implementation Statement C Codeforces Global Round 13 {1491} PROGRAMMING 1000.0 Codeforces Global Round 13 Editorial
18994 K-th Largest Value brute force greedy implementation Statement A Codeforces Global Round 13 {1491} PROGRAMMING 500.0 Codeforces Global Round 13 Editorial
14222 Minimal Cost brute force greedy implementation math Statement B Codeforces Global Round 13 {1491} PROGRAMMING 750.0 Codeforces Global Round 13 Editorial
1288 Almost Fault-Tolerant Database brute force constructive algorithms dfs and similar greedy implementation Statement E Codeforces Round 704 (Div. 2) {1492} PROGRAMMING 3000.0 Codeforces Round #704 Editorial
4941 K-beautiful Strings binary search brute force greedy implementation strings Statement C Codeforces Round 705 (Div. 2) {1493} PROGRAMMING 1750.0 Codeforces Round #705 (Div.2) Editorial
12562 Planet Lapituletti brute force implementation Statement B Codeforces Round 705 (Div. 2) {1493} PROGRAMMING 1250.0 Codeforces Round #705 (Div.2) Editorial
15296 Berland Crossword binary search bitmasks brute force greedy implementation Statement B Educational Codeforces Round 105 (Rated for Div. 2) {1494} PROGRAMMING Educational Codeforces Round 105 Editorial
5719 1D Sokoban binary search implementation two pointers Statement C Educational Codeforces Round 105 (Rated for Div. 2) {1494} PROGRAMMING Educational Codeforces Round 105 Editorial
22786 ABC String bitmasks brute force implementation Statement A Educational Codeforces Round 105 (Rated for Div. 2) {1494} PROGRAMMING Educational Codeforces Round 105 Editorial
2814 Dogeforces brute force constructive algorithms divide and conquer dsu greedy implementation trees Statement D Educational Codeforces Round 105 (Rated for Div. 2) {1494} PROGRAMMING Educational Codeforces Round 105 Editorial
538 Qingshan and Daniel brute force data structures greedy implementation Statement E Codeforces Round 706 (Div. 1) {1495} PROGRAMMING 2500.0 Codeforces Round #706 Editorial
6327 Let's Go Hiking constructive algorithms games greedy implementation Statement B Codeforces Round 706 (Div. 1) {1495} PROGRAMMING 1000.0 Codeforces Round #706 Editorial
18262 Max and Mex implementation math Statement B Codeforces Round 706 (Div. 2) {1496} PROGRAMMING 1000.0 Codeforces Round #706 Editorial
21983 Binary Removals brute force dp greedy implementation Statement B Educational Codeforces Round 106 (Rated for Div. 2) {1499} PROGRAMMING Educational Codeforces Round 106 Editorial
9480 Going Home brute force implementation math Statement A Codeforces Round 707 (Div. 1, based on Moscow Open Olympiad in Informatics) {1500} PROGRAMMING 750.0 Codeforces Round #707 Editorial 1800
12195 Alexey and Train implementation Statement A Codeforces Round 707 (Div. 2, based on Moscow Open Olympiad in Informatics) {1501} PROGRAMMING 500.0 Codeforces Round #707 Editorial 800
21027 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
215 Balance the Cards constructive algorithms data structures divide and conquer geometry graphs implementation Statement F Codeforces Round 712 (Div. 1) {1503} PROGRAMMING 4000.0 T 3500
25540 Flip the Bits constructive algorithms greedy implementation math Statement B Codeforces Round 712 (Div. 2) {1504} PROGRAMMING 1000.0 Codeforces Round #712 Editorial 1200
1921 Cakewalk constructive algorithms greedy implementation shortest paths Statement E April Fools Day Contest 2021 {1505} PROGRAMMING tutorial
6514 DMCA constructive algorithms implementation Statement B April Fools Day Contest 2021 {1505} PROGRAMMING tutorial
6701 Fibonacci Words constructive algorithms implementation Statement C April Fools Day Contest 2021 {1505} PROGRAMMING tutorial
16051 Is it rated - 2 implementation interactive Statement A April Fools Day Contest 2021 {1505} PROGRAMMING tutorial
21111 Partial Replacement greedy implementation Statement B Codeforces Round 710 (Div. 3) {1506} PROGRAMMING Editorial
4414 Almost Sorted binary search bitmasks combinatorics constructive algorithms dp implementation math Statement B Codeforces Round 715 (Div. 1) {1508} PROGRAMMING 1000.0 Codeforces Round #715 Editorial
6662 Binary Literature constructive algorithms greedy implementation math strings two pointers Statement A Codeforces Round 715 (Div. 1) {1508} PROGRAMMING 750.0 Codeforces Round #715 Editorial
5964 King's Task brute force graphs implementation Statement K 2020-2021 ICPC, NERC, Northern Eurasia Onsite (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1510} PROGRAMMING nerc-2020-offline-tutorial.pdf
32589 Yet Another Card Deck brute force data structures implementation trees Statement C Educational Codeforces Round 107 (Rated for Div. 2) {1511} PROGRAMMING 89634
6802 Education binary search greedy implementation math Statement F Codeforces Round 713 (Div. 3) {1512} PROGRAMMING Codeforces Round #713 (Div. 3) Editorial
79579 Spy Detected! brute force implementation Statement A Codeforces Round 713 (Div. 3) {1512} PROGRAMMING Codeforces Round #713 (Div. 3) Editorial
21676 A-B Palindrome constructive algorithms implementation strings Statement C Codeforces Round 713 (Div. 3) {1512} PROGRAMMING Codeforces Round #713 (Div. 3) Editorial
26505 Almost Rectangle implementation Statement B Codeforces Round 713 (Div. 3) {1512} PROGRAMMING Codeforces Round #713 (Div. 3) Editorial
6451 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
20008 Array and Peaks constructive algorithms implementation Statement A Divide by Zero 2021 and Codeforces Round 714 (Div. 2) {1513} PROGRAMMING 500.0 Divide by Zero 2021 and Codeforces Round #714 (Div. 2) Editorial
1031 Group Photo binary search combinatorics implementation two pointers Statement E Contest 2050 and Codeforces Round 718 (Div. 1 + Div. 2) {1517} PROGRAMMING 2500.0 Contest 2050 and Codeforces Round #718 (Div.1 + Div.2) Editorial
14160 Fillomino 2 constructive algorithms greedy implementation Statement C Contest 2050 and Codeforces Round 718 (Div. 1 + Div. 2) {1517} PROGRAMMING 1500.0 Contest 2050 and Codeforces Round #718 (Div.1 + Div.2) Editorial
17530 Maximum Sum of Products brute force dp implementation math ternary search two pointers Statement D Educational Codeforces Round 108 (Rated for Div. 2) {1519} PROGRAMMING Educational Codeforces Round 108 Editorial
58278 Do Not Be Distracted! brute force implementation Statement A Codeforces Round 719 (Div. 3) {1520} PROGRAMMING Editorial