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
4165 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
25998 Little Artem constructive algorithms Statement A Codeforces Round 632 (Div. 2) {1333} PROGRAMMING 500.0 Codeforces Round #632 (Div. 2) editorial
18117 Circle of Monsters brute force constructive algorithms greedy math Statement C Educational Codeforces Round 85 (Rated for Div. 2) {1334} PROGRAMMING Educational Codeforces Round 85 Editorial
7784 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
42969 Construct the String constructive algorithms Statement B Codeforces Round 634 (Div. 3) {1335} PROGRAMMING 75993 1000
29653 Anti-Sudoku constructive algorithms implementation Statement D Codeforces Round 634 (Div. 3) {1335} PROGRAMMING 75993 1300
588 Yui and Mahjong Set constructive algorithms interactive Statement D Codeforces Round 635 (Div. 1) {1336} PROGRAMMING 2250.0 Codeforces Round #635 Editorial 3000
43412 Ichihime and Triangle constructive algorithms math Statement A Codeforces Round 635 (Div. 2) {1337} PROGRAMMING 500.0 Codeforces Round #635 Editorial 1000
3482 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
9664 Edge Weight Assignment bitmasks constructive algorithms greedy math trees Statement B Codeforces Round 633 (Div. 1) {1338} PROGRAMMING 1000.0 Editorial
28545 Sorted Adjacent Differences constructive algorithms sortings Statement B Codeforces Round 633 (Div. 2) {1339} PROGRAMMING 750.0 Codeforces Round #633 Editorial
1094 Nastya and Time Machine constructive algorithms dfs and similar graphs trees Statement D Codeforces Round 637 (Div. 1) - Thanks, Ivan Belonogov! {1340} PROGRAMMING 1750.0 Codeforces Round #637 Editorial
24698 Binary Period constructive algorithms strings Statement B Educational Codeforces Round 86 (Rated for Div. 2) {1342} PROGRAMMING 76633 1200
6387 Multiple Testcases binary search constructive algorithms data structures greedy sortings two pointers Statement D Educational Codeforces Round 86 (Rated for Div. 2) {1342} PROGRAMMING 76633 1900
1425 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
66237 Balanced Array constructive algorithms math Statement B Codeforces Round 636 (Div. 3) {1343} PROGRAMMING 76352 800
6394 Monopole Magnets constructive algorithms dfs and similar dsu graphs Statement B Codeforces Round 639 (Div. 1) {1344} PROGRAMMING 1000.0 Codeforces Round #639 Editorial 2000
27749 Phoenix and Beauty constructive algorithms data structures greedy Statement B Codeforces Round 638 (Div. 2) {1348} PROGRAMMING 1000.0 Codeforces Round #638 (Div. 2) Editorial 1400
15593 Phoenix and Distribution constructive algorithms greedy strings Statement C Codeforces Round 638 (Div. 2) {1348} PROGRAMMING 1500.0 Codeforces Round #638 (Div. 2) Editorial 1600
9380 Phoenix and Science binary search bitmasks constructive algorithms greedy math Statement D Codeforces Round 638 (Div. 2) {1348} PROGRAMMING 2000.0 Codeforces Round #638 (Div. 2) Editorial 1900
9012 Orac and Medians constructive algorithms greedy math Statement B Codeforces Round 641 (Div. 1) {1349} PROGRAMMING 1250.0 Codeforces Round #641 Editorial 2000
125 Slime and Hats constructive algorithms dp greedy Statement E Codeforces Round 641 (Div. 1) {1349} PROGRAMMING 2500.0 Codeforces Round #641 Editorial 3500
45706 Same Parity Summands constructive algorithms math Statement B Codeforces Round 640 (Div. 4) {1352} PROGRAMMING 77161 1200
19709 Binary String Reconstruction constructive algorithms dfs and similar math Statement F Codeforces Round 640 (Div. 4) {1352} PROGRAMMING 77161 1500
25168 Special Permutation constructive algorithms Statement G Codeforces Round 640 (Div. 4) {1352} PROGRAMMING 77161 1600
20543 Constructing the Array constructive algorithms data structures sortings Statement D Codeforces Round 642 (Div. 3) {1353} PROGRAMMING Codeforces Round #642 (Div. 3) Editorial 1600
44942 Most Unstable Array constructive algorithms greedy math Statement A Codeforces Round 642 (Div. 3) {1353} PROGRAMMING Codeforces Round #642 (Div. 3) Editorial 800
1516 Summoning Minions constructive algorithms dp flows graph matchings greedy sortings Statement F Educational Codeforces Round 87 (Rated for Div. 2) {1354} PROGRAMMING 77593 2500
19143 Game With Array constructive algorithms math Statement D Codeforces Round 643 (Div. 2) {1355} PROGRAMMING 1500.0 Codeforces Round #643 (Div. 2) Editorial 1400
981 Guess Divisors Count constructive algorithms interactive number theory Statement F Codeforces Round 643 (Div. 2) {1355} PROGRAMMING 3000.0 Codeforces Round #643 (Div. 2) Editorial 2600
2472 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
527 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
37163 Similar Pairs constructive algorithms graph matchings greedy sortings Statement C Codeforces Round 644 (Div. 3) {1360} PROGRAMMING Codeforces Round #644 (Div. 3) Editorial 1100
13666 Spy-string bitmasks brute force constructive algorithms dp hashing strings Statement F Codeforces Round 644 (Div. 3) {1360} PROGRAMMING Codeforces Round #644 (Div. 3) Editorial 1700
8392 A/B Matrix constructive algorithms flows greedy math number theory Statement G Codeforces Round 644 (Div. 3) {1360} PROGRAMMING Codeforces Round #644 (Div. 3) Editorial 1900
4893 Binary Median bitmasks brute force constructive algorithms Statement H Codeforces Round 644 (Div. 3) {1360} PROGRAMMING Codeforces Round #644 (Div. 3) Editorial 2100
8875 Johnny and Contribution constructive algorithms graphs greedy sortings Statement A Codeforces Round 647 (Div. 1) - Thanks, Algo Muse! {1361} PROGRAMMING 500.0 Codeforces Round #647 Editorial 1700
2110 Johnny and Megan's Necklace binary search bitmasks constructive algorithms dfs and similar dsu graphs Statement C Codeforces Round 647 (Div. 1) - Thanks, Algo Muse! {1361} PROGRAMMING 2000.0 Codeforces Round #647 Editorial 2500
14496 Ehab and Prefix MEXs brute force constructive algorithms greedy Statement C Codeforces Round 649 (Div. 2) {1364} PROGRAMMING 1500.0 Codeforces round #649 editorial 1600
5059 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
1658 X-OR bitmasks constructive algorithms interactive probabilities Statement E Codeforces Round 649 (Div. 2) {1364} PROGRAMMING 2500.0 Codeforces round #649 editorial 2700
29058 Trouble Sort constructive algorithms implementation Statement B Codeforces Round 648 (Div. 2) {1365} PROGRAMMING 750.0 Editorial — Codeforces Round #648 1300
25161 Rotation Matching constructive algorithms data structures greedy implementation Statement C Codeforces Round 648 (Div. 2) {1365} PROGRAMMING 1250.0 Editorial — Codeforces Round #648 1400
21251 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
8454 Maximum Subsequence Value brute force constructive algorithms Statement E Codeforces Round 648 (Div. 2) {1365} PROGRAMMING 2000.0 Editorial — Codeforces Round #648 1900
4817 Swaps Again constructive algorithms implementation sortings Statement F Codeforces Round 648 (Div. 2) {1365} PROGRAMMING 2500.0 Editorial — Codeforces Round #648 2100
1462 Secure Password bitmasks combinatorics constructive algorithms interactive math Statement G Codeforces Round 648 (Div. 2) {1365} PROGRAMMING 3000.0 Editorial — Codeforces Round #648 2800
12562 Two Divisors constructive algorithms math number theory Statement D Educational Codeforces Round 89 (Rated for Div. 2) {1366} PROGRAMMING Educational Codeforces Round 89 Editorial
8903 Task On The Board constructive algorithms greedy implementation sortings Statement D Codeforces Round 650 (Div. 3) {1367} PROGRAMMING Codeforces Round #650 (Div. 3) Editorial
25490 Social Distance constructive algorithms greedy math Statement C Codeforces Round 650 (Div. 3) {1367} PROGRAMMING Codeforces Round #650 (Div. 3) Editorial
21687 Codeforces Subsequences brute force constructive algorithms greedy math strings Statement B Codeforces Global Round 8 {1368} PROGRAMMING 1000.0 Codeforces Global Round 8: editorial
14081 Even Picture constructive algorithms Statement C Codeforces Global Round 8 {1368} PROGRAMMING 1500.0 Codeforces Global Round 8: editorial
2401 Ski Accidents constructive algorithms dfs and similar greedy Statement E Codeforces Global Round 8 {1368} PROGRAMMING 2500.0 Codeforces Global Round 8: editorial
2482 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
25246 GCD Compression brute force constructive algorithms math number theory Statement B Codeforces Round 651 (Div. 2) {1370} PROGRAMMING 1000.0 Editorial — Codeforces Round #651
21476 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
13759 Grid-00100 constructive algorithms greedy math Statement D Codeforces Round 654 (Div. 2) {1371} PROGRAMMING 1500.0 Codeforces Round #654 (Div. 2) Editorial
19658 Magical Calendar constructive algorithms math Statement B Codeforces Round 654 (Div. 2) {1371} PROGRAMMING 1000.0 Codeforces Round #654 (Div. 2) Editorial
37690 Omkar and Last Class of Math constructive algorithms greedy math number theory Statement B Codeforces Round 655 (Div. 2) {1372} PROGRAMMING 1000.0 Codeforces Round #655 Editorial 1300
19192 Omkar and Baseball constructive algorithms math Statement C Codeforces Round 655 (Div. 2) {1372} PROGRAMMING 1500.0 Codeforces Round #655 Editorial 1500
5902 Omkar and Circle brute force constructive algorithms dp games greedy Statement D Codeforces Round 655 (Div. 2) {1372} PROGRAMMING 2000.0 Codeforces Round #655 Editorial 2100
33590 Omkar and Completion constructive algorithms implementation Statement A Codeforces Round 655 (Div. 2) {1372} PROGRAMMING 500.0 Codeforces Round #655 Editorial 800
55142 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
2985 Sum of Digits brute force constructive algorithms dp greedy math number theory Statement E Educational Codeforces Round 90 (Rated for Div. 2) {1373} PROGRAMMING Educational Codeforces Round 90 Editorial
1426 Cyclic Shifts Sorting brute force constructive algorithms implementation Statement F Codeforces Round 653 (Div. 3) {1374} PROGRAMMING 79517
2547 Integer Game brute force constructive algorithms games interactive math Statement F Codeforces Global Round 9 {1375} PROGRAMMING 2000.0 79731
10210 Replace by MEX brute force constructive algorithms implementation Statement D Codeforces Global Round 9 {1375} PROGRAMMING 1750.0 79731
18899 Sign Flipping constructive algorithms Statement A Codeforces Global Round 9 {1375} PROGRAMMING 500.0 79731
521 Set Merging constructive algorithms data structures divide and conquer Statement H Codeforces Global Round 9 {1375} PROGRAMMING 2750.0 79731
17893 Neighbor Grid constructive algorithms greedy Statement B Codeforces Global Round 9 {1375} PROGRAMMING 750.0 79731
23125 Element Extermination constructive algorithms greedy Statement C Codeforces Global Round 9 {1375} PROGRAMMING 1500.0 79731
3433 Inversion SwapSort constructive algorithms greedy sortings Statement E Codeforces Global Round 9 {1375} PROGRAMMING 2000.0 79731
529 Inverse Genealogy constructive algorithms divide and conquer dp math trees Statement E Codeforces Round 657 (Div. 2) {1379} PROGRAMMING 2500.0 Codeforces Round #657 Editorial 2400
21858 Prefix Flip (Easy Version) constructive algorithms data structures strings Statement A1 Codeforces Round 658 (Div. 1) {1381} PROGRAMMING 500.0 Codeforces Round #658 Editorial 1300
14471 Prefix Flip (Hard Version) constructive algorithms data structures strings two pointers Statement A2 Codeforces Round 658 (Div. 1) {1381} PROGRAMMING 500.0 Codeforces Round #658 Editorial 1700
1734 Mastermind constructive algorithms greedy implementation sortings Statement C Codeforces Round 658 (Div. 1) {1381} PROGRAMMING 2000.0 Codeforces Round #658 Editorial 2500
5553 GameGame bitmasks constructive algorithms dp games greedy math Statement B Codeforces Round 659 (Div. 1) {1383} PROGRAMMING 1000.0 Codeforces Round #659 Editorial
823 Rearrange brute force constructive algorithms graphs greedy sortings Statement D Codeforces Round 659 (Div. 1) {1383} PROGRAMMING 1750.0 Codeforces Round #659 Editorial
2638 Koa and the Beach (Hard Version) constructive algorithms greedy Statement B2 Codeforces Round 659 (Div. 2) {1384} PROGRAMMING 750.0 Codeforces Round #659 Editorial
19823 Common Prefixes constructive algorithms greedy strings Statement A Codeforces Round 659 (Div. 2) {1384} PROGRAMMING 500.0 Codeforces Round #659 Editorial
354 Colors *special binary search constructive algorithms interactive Statement A Baltic Olympiad in Informatics 2020, Day 1 (IOI, Unofficial Mirror Contest, Unrated) {1386} PROGRAMMING T
51080 LCM Problem constructive algorithms greedy math number theory Statement A Educational Codeforces Round 92 (Rated for Div. 2) {1389} PROGRAMMING 80809
2011 Pairs of Pairs constructive algorithms dfs and similar graphs trees Statement E Codeforces Round 663 (Div. 2) {1391} PROGRAMMING 2750.0 Codeforces Round #663 (Div. 2) Editorial
25109 Suborrays constructive algorithms math Statement A Codeforces Round 663 (Div. 2) {1391} PROGRAMMING 500.0 Codeforces Round #663 (Div. 2) Editorial
2428 Omkar and Landslide binary search constructive algorithms greedy math Statement F Codeforces Global Round 10 {1392} PROGRAMMING 2500.0 Codeforces Global Round 10 — Editorial
3785 Omkar and Duck bitmasks constructive algorithms interactive math Statement E Codeforces Global Round 10 {1392} PROGRAMMING 2000.0 Codeforces Global Round 10 — Editorial
9981 Omkar and Bed Wars constructive algorithms dp greedy math strings Statement D Codeforces Global Round 10 {1392} PROGRAMMING 1500.0 Codeforces Global Round 10 — Editorial
11089 Pinkie Pie Eats Patty-cakes binary search constructive algorithms data structures greedy math sortings Statement C Codeforces Round 662 (Div. 2) {1393} PROGRAMMING 1500.0 Codeforces Round #662 Editorial
16415 Boboniu Plays Chess constructive algorithms Statement B Codeforces Round 664 (Div. 2) {1395} PROGRAMMING 750.0 Codeforces Round #664 Editorial 1100
441 Distance Matching binary search constructive algorithms dfs and similar trees Statement E Codeforces Round 666 (Div. 1) {1396} PROGRAMMING 2500.0 Codeforces Round #666 — Editorial
13196 Stoned Game brute force constructive algorithms games greedy Statement B Codeforces Round 666 (Div. 1) {1396} PROGRAMMING 1000.0 Codeforces Round #666 — Editorial
16803 Multiples of Length constructive algorithms greedy number theory Statement A Codeforces Round 666 (Div. 1) {1396} PROGRAMMING 500.0 Codeforces Round #666 — Editorial
20038 Binary String To Subsequences constructive algorithms data structures greedy Statement D Codeforces Round 661 (Div. 3) {1399} PROGRAMMING Codeforces Round #661 (Div. 3) Editorial
18616 Binary String Reconstruction 2-sat constructive algorithms greedy strings Statement C Educational Codeforces Round 94 (Rated for Div. 2) {1400} PROGRAMMING 81942
28040 String Similarity brute force constructive algorithms strings Statement A Educational Codeforces Round 94 (Rated for Div. 2) {1400} PROGRAMMING 81942
10716 Maximum Distributed Tree constructive algorithms dfs and similar greedy math number theory sortings trees Statement D Codeforces Round 665 (Div. 2) {1401} PROGRAMMING 1750.0 Codeforces Round #665 (Div. 2) Editorial
21841 Ternary Sequence constructive algorithms greedy math Statement B Codeforces Round 665 (Div. 2) {1401} PROGRAMMING 1000.0 Codeforces Round #665 (Div. 2) Editorial
27190 Mere Array constructive algorithms math number theory number theory sortings sortings Statement C Codeforces Round 665 (Div. 2) {1401} PROGRAMMING 1500.0 Codeforces Round #665 (Div. 2) Editorial
1302 Game of Pairs constructive algorithms dfs and similar interactive math number theory Statement D Codeforces Round 668 (Div. 1) {1404} PROGRAMMING 2250.0 Codeforces Round #668 Editorial
21956 Permutation Forgery constructive algorithms Statement A Codeforces Round 668 (Div. 2) {1405} PROGRAMMING 500.0 Codeforces Round #668 Editorial
23317 Array Cancellation constructive algorithms Statement B Codeforces Round 668 (Div. 2) {1405} PROGRAMMING 1000.0 Codeforces Round #668 Editorial
11930 Link Cut Centroids constructive algorithms dfs and similar graphs trees Statement C Codeforces Round 670 (Div. 2) {1406} PROGRAMMING 1500.0 Codeforces Round #670 (Div. 2) Editorial
1948 Egor in the Republic of Dagestan constructive algorithms dfs and similar dp graphs greedy shortest paths Statement E Codeforces Round 669 (Div. 2) {1407} PROGRAMMING 2500.0 Codeforces Round #669 Editorial
15232 Chocolate Bunny constructive algorithms interactive math two pointers Statement C Codeforces Round 669 (Div. 2) {1407} PROGRAMMING 1500.0 Codeforces Round #669 Editorial
21487 Ahahahahahahahaha constructive algorithms math Statement A Codeforces Round 669 (Div. 2) {1407} PROGRAMMING 500.0 Codeforces Round #669 Editorial
2718 Two Different bitmasks constructive algorithms divide and conquer greedy Statement F Grakn Forces 2020 {1408} PROGRAMMING 2500.0 Grakn Forces -- Editorial
12818 Circle Coloring constructive algorithms Statement A Grakn Forces 2020 {1408} PROGRAMMING 500.0 Grakn Forces -- Editorial
10492 Arrays Sum constructive algorithms greedy math Statement B Grakn Forces 2020 {1408} PROGRAMMING 1000.0 Grakn Forces -- Editorial
2745 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
15316 Finding Sasuke constructive algorithms math Statement A Technocup 2021 - Elimination Round 1 {1413} PROGRAMMING 500.0 Codeforces Round 679 (Div. 1, Div. 2) and Technocup Round 1 editorial
6240 XOR-gun bitmasks brute force constructive algorithms Statement D Technocup 2021 - Elimination Round 2 {1415} PROGRAMMING 2000.0 Editorial of Codeforces Round 687 (Technocup 2021 — Elimitation Round 2)
3039 New Game Plus! constructive algorithms greedy math Statement E Technocup 2021 - Elimination Round 2 {1415} PROGRAMMING 2500.0 Editorial of Codeforces Round 687 (Technocup 2021 — Elimitation Round 2)
6755 Make Them Equal constructive algorithms greedy math Statement B Codeforces Round 673 (Div. 1) {1416} PROGRAMMING 1000.0 Codeforces Round #673 Editorial 2000
17585 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
3542 Decryption bitmasks constructive algorithms implementation math number theory Statement E Codeforces Round 671 (Div. 2) {1419} PROGRAMMING 2250.0 Codeforces Round #671 Editorial
17081 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
19155 Pokémon Army (easy version) constructive algorithms dp greedy Statement C1 Codeforces Round 672 (Div. 2) {1420} PROGRAMMING 1000.0 Editorial
13507 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
13601 Palindromifier constructive algorithms strings Statement C Codeforces Round 676 (Div. 2) {1421} PROGRAMMING 1500.0 Codeforces Round #676 (Div. 2) Editorial
907 Bubble Cup hypothesis constructive algorithms dp math Statement J Bubble Cup 13 - Finals [Online Mirror, unrated, Div. 1] {1423} PROGRAMMING FinalsEditorial2020.pdf
4427 Huge Boxes of Animal Toys constructive algorithms Statement H 2020 ICPC, COMPFEST 12, Indonesia Multi-Provincial Contest (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1425} PROGRAMMING Tutorial 1300
20702 Increase and Copy binary search constructive algorithms math Statement C Codeforces Round 674 (Div. 3) {1426} PROGRAMMING 83120 1100
17751 Non-zero Segments constructive algorithms data structures greedy Statement D Codeforces Round 674 (Div. 3) {1426} PROGRAMMING 83120 1500
8191 Rock, Paper, Scissors brute force constructive algorithms flows greedy math Statement E Codeforces Round 674 (Div. 3) {1426} PROGRAMMING 83120 1800
3730 Unshuffling a Deck constructive algorithms implementation Statement D Codeforces Global Round 11 {1427} PROGRAMMING 1000.0 Editorial of Global Round 11 2000
1676 Xum bitmasks constructive algorithms math number theory Statement E Codeforces Global Round 11 {1427} PROGRAMMING 1500.0 Editorial of Global Round 11 2500
4749 Bouncing Boomerangs constructive algorithms greedy Statement D Codeforces Raif Round 1 (Div. 1 + Div. 2) {1428} PROGRAMMING 1500.0 Codeforces Raif Round 1 Editorial
28677 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
31838 Districts Connection constructive algorithms dfs and similar trees Statement D Codeforces Round 677 (Div. 3) {1433} PROGRAMMING Codeforces Round #677 (Div. 3) Editorial
28802 Dominant Piranha constructive algorithms greedy Statement C Codeforces Round 677 (Div. 3) {1433} PROGRAMMING Codeforces Round #677 (Div. 3) Editorial
21797 Prime Square constructive algorithms math Statement B Codeforces Round 678 (Div. 2) {1436} PROGRAMMING 1000.0 Codeforces Round #678 (Div. 2). Editorial
18503 Marketing Scheme brute force constructive algorithms greedy math Statement A Educational Codeforces Round 97 (Rated for Div. 2) {1437} PROGRAMMING 84149
21036 Reverse Binary Strings constructive algorithms greedy Statement B Educational Codeforces Round 97 (Rated for Div. 2) {1437} PROGRAMMING 84149
11770 Engineer Artem 2-sat constructive algorithms Statement C Codeforces Round 682 (Div. 2) {1438} PROGRAMMING 1250.0 Codeforces Round #682 (Div. 2) Editorial
4588 Powerful Ksenia bitmasks constructive algorithms Statement D Codeforces Round 682 (Div. 2) {1438} PROGRAMMING 1750.0 Codeforces Round #682 (Div. 2) Editorial
19792 Specific Tastes of Andre constructive algorithms Statement A Codeforces Round 682 (Div. 2) {1438} PROGRAMMING 500.0 Codeforces Round #682 (Div. 2) Editorial
30634 Valerii Against Everyone constructive algorithms greedy sortings Statement B Codeforces Round 682 (Div. 2) {1438} PROGRAMMING 750.0 Codeforces Round #682 (Div. 2) Editorial
5412 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
9833 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
16725 Kids Seating constructive algorithms math Statement A Codeforces Round 681 (Div. 2, based on VK Cup 2019-2020 - Final) {1443} PROGRAMMING 500.0 VK Cup 2019-2020 -- Engine Editorial
663 Rectangular Polyline constructive algorithms dp geometry Statement D Codeforces Round 680 (Div. 1, based on Moscow Team Olympiad) {1444} PROGRAMMING 2000.0 Codeforces Round #680 Editorial
127 Long Recovery constructive algorithms dfs and similar Statement E Codeforces Round 683 (Div. 1, by Meet IT) {1446} PROGRAMMING 3000.0 E
18026 Knapsack constructive algorithms greedy sortings Statement A Codeforces Round 683 (Div. 1, by Meet IT) {1446} PROGRAMMING 500.0 E
14483 Add Candies constructive algorithms math Statement A Codeforces Round 683 (Div. 2, by Meet IT) {1447} PROGRAMMING 500.0 Meet IT Codeforces Round Editorial
5971 Errich-Tac-Toe (Easy Version) constructive algorithms Statement C1 Codeforces Global Round 12 {1450} PROGRAMMING 1000.0 Codeforces Global Round 12 Editorial
1511 Capitalism constructive algorithms dfs and similar graphs shortest paths Statement E Codeforces Global Round 12 {1450} PROGRAMMING 2500.0 Codeforces Global Round 12 Editorial
1488 The Struggling Contestant constructive algorithms greedy Statement F Codeforces Global Round 12 {1450} PROGRAMMING 2750.0 Codeforces Global Round 12 Editorial
4304 Errich-Tac-Toe (Hard Version) constructive algorithms math Statement C2 Codeforces Global Round 12 {1450} PROGRAMMING 750.0 Codeforces Global Round 12 Editorial
18514 Avoid Trygub constructive algorithms sortings Statement A Codeforces Global Round 12 {1450} PROGRAMMING 500.0 Codeforces Global Round 12 Editorial
5537 Bitwise Queries (Easy Version) bitmasks constructive algorithms interactive math Statement E1 Codeforces Round 685 (Div. 2) {1451} PROGRAMMING 1500.0 Editorial — Codeforces Round #685
3897 Bitwise Queries (Hard Version) bitmasks constructive algorithms interactive math Statement E2 Codeforces Round 685 (Div. 2) {1451} PROGRAMMING 1000.0 Editorial — Codeforces Round #685
381 Divide Powers constructive algorithms greedy Statement F Educational Codeforces Round 98 (Rated for Div. 2) {1452} PROGRAMMING 84847
4468 Checkpoints brute force constructive algorithms greedy math probabilities Statement D Codeforces Round 688 (Div. 2) {1453} PROGRAMMING 2000.0 Codeforces Round #688 (Div. 2) Editorial
14129 Suffix Operations constructive algorithms implementation Statement B Codeforces Round 688 (Div. 2) {1453} PROGRAMMING 1000.0 Codeforces Round #688 (Div. 2) Editorial
22494 Number into Sequence constructive algorithms math number theory Statement D Codeforces Round 686 (Div. 3) {1454} PROGRAMMING Codeforces Round #686 (Div. 3) Editorial
44456 Special Permutation constructive algorithms probabilities Statement A Codeforces Round 686 (Div. 3) {1454} PROGRAMMING Codeforces Round #686 (Div. 3) Editorial
1679 Four Points brute force constructive algorithms flows geometry greedy math ternary search Statement E Educational Codeforces Round 99 (Rated for Div. 2) {1455} PROGRAMMING 85186
27496 Strange Functions constructive algorithms Statement A Educational Codeforces Round 99 (Rated for Div. 2) {1455} PROGRAMMING 85186
20551 Ping-pong constructive algorithms games math Statement C Educational Codeforces Round 99 (Rated for Div. 2) {1455} PROGRAMMING 85186
23410 Jumps constructive algorithms math Statement B Educational Codeforces Round 99 (Rated for Div. 2) {1455} PROGRAMMING 85186
663 Mathematical Expression constructive algorithms dp greedy Statement F Codeforces Round 689 (Div. 2, based on Zed Code Competition) {1461} PROGRAMMING 2750.0 Codeforces Round #689 (Div. 2). Editorial
19025 String Generation constructive algorithms greedy Statement A Codeforces Round 689 (Div. 2, based on Zed Code Competition) {1461} PROGRAMMING 500.0 Codeforces Round #689 (Div. 2). Editorial
4899 Pairs binary search constructive algorithms greedy Statement D Educational Codeforces Round 100 (Rated for Div. 2) {1463} PROGRAMMING Educational Codeforces Round 100 Editorial
21323 Find The Array constructive algorithms Statement B Educational Codeforces Round 100 (Rated for Div. 2) {1463} PROGRAMMING Educational Codeforces Round 100 Editorial
6836 Three Bags brute force constructive algorithms greedy Statement C Codeforces Round 695 (Div. 2) {1467} PROGRAMMING 1500.0 Codeforces Round #695 (Div. 2) Editorial 1900
2030 K and Medians constructive algorithms math Statement H 2020-2021 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules) {1468} PROGRAMMING Tutorial (PDF)
10265 Ceil Divisions brute force constructive algorithms math number theory Statement D Educational Codeforces Round 101 (Rated for Div. 2) {1469} PROGRAMMING Educational Codeforces Round 101 Editorial
30211 Regular Bracket Sequence constructive algorithms greedy Statement A Educational Codeforces Round 101 (Rated for Div. 2) {1469} PROGRAMMING Educational Codeforces Round 101 Editorial
1464 Strange Shuffle binary search brute force constructive algorithms interactive probabilities Statement C Codeforces Round 694 (Div. 1) {1470} PROGRAMMING 1000.0 86464
4235 Strange Housing constructive algorithms dfs and similar dsu graph matchings graphs Statement D Codeforces Round 694 (Div. 1) {1470} PROGRAMMING 1500.0 86464
13494 No More Inversions constructive algorithms Statement C Educational Codeforces Round 102 (Rated for Div. 2) {1473} PROGRAMMING Educational Codeforces Round 102 Editorial
42131 Different Divisors binary search constructive algorithms greedy math number theory Statement B Codeforces Round 696 (Div. 2) {1474} PROGRAMMING 1000.0 Codeforces Round #696 Editorial
14308 Array Destruction constructive algorithms data structures greedy implementation sortings Statement C Codeforces Round 696 (Div. 2) {1474} PROGRAMMING 1500.0 Codeforces Round #696 Editorial
1513 What Is It? constructive algorithms greedy Statement E Codeforces Round 696 (Div. 2) {1474} PROGRAMMING 2250.0 Codeforces Round #696 Editorial
5972 Unusual Matrix 2-sat constructive algorithms greedy Statement F Codeforces Round 697 (Div. 3) {1475} PROGRAMMING Codeforces Round #697 (Div. 3) Editorial
45591 K-divisible Sum binary search constructive algorithms greedy math Statement A Educational Codeforces Round 103 (Rated for Div. 2) {1476} PROGRAMMING 87356
12384 Longest Simple Cycle constructive algorithms dp graphs greedy Statement C Educational Codeforces Round 103 (Rated for Div. 2) {1476} PROGRAMMING 87356
6599 Nezzar and Board constructive algorithms math number theory Statement A Codeforces Round 698 (Div. 1) {1477} PROGRAMMING 500.0 87294 1800
2622 Nezzar and Nice Beatmap constructive algorithms geometry greedy sortings Statement C Codeforces Round 698 (Div. 1) {1477} PROGRAMMING 1500.0 87294 2200
806 Nezzar and Hidden Permutations constructive algorithms dfs and similar graphs Statement D Codeforces Round 698 (Div. 1) {1477} PROGRAMMING 2250.0 87294 2800
10702 Nezzar and Symmetric Array constructive algorithms implementation math sortings Statement C Codeforces Round 698 (Div. 2) {1478} PROGRAMMING 1500.0 Tutorial 1700
1463 Continuous City bitmasks constructive algorithms Statement C Codeforces Round 700 (Div. 1) {1479} PROGRAMMING 1500.0 Editorial of Codeforces Round #700
7516 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
12492 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
4911 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
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
5713 Multiples and Power Differences constructive algorithms math number theory Statement D Codeforces Round 701 (Div. 2) {1485} PROGRAMMING 1750.0 Editorial of Codeforces Round #701 (Div. 2) 2200
3433 Paired Payment binary search constructive algorithms dp graphs shortest paths Statement E Codeforces Round 703 (Div. 2) {1486} PROGRAMMING 2250.0 Codeforces Round #703 (Div. 2) Editorial
15541 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
28056 Balanced Remainders brute force constructive algorithms math Statement B Codeforces Round 702 (Div. 3) {1490} PROGRAMMING Codeforces Round #702 (Div. 3) Editorial
1153 Magnets binary search constructive algorithms interactive Statement F Codeforces Global Round 13 {1491} PROGRAMMING 2000.0 Codeforces Global Round 13 Editorial
8451 Zookeeper and The Infinite Zoo bitmasks constructive algorithms math Statement D Codeforces Global Round 13 {1491} PROGRAMMING 1250.0 Codeforces Global Round 13 Editorial
1039 Switch and Flip constructive algorithms math Statement G Codeforces Global Round 13 {1491} PROGRAMMING 2250.0 Codeforces Global Round 13 Editorial
6542 Genius's Gambit bitmasks constructive algorithms math Statement D Codeforces Round 704 (Div. 2) {1492} PROGRAMMING 2250.0 Codeforces Round #704 Editorial
1316 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
19833 Anti-knapsack constructive algorithms greedy Statement A Codeforces Round 705 (Div. 2) {1493} PROGRAMMING 750.0 Codeforces Round #705 (Div.2) Editorial
2847 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
2087 A-Z Graph constructive algorithms data structures graphs Statement E Educational Codeforces Round 105 (Rated for Div. 2) {1494} PROGRAMMING Educational Codeforces Round 105 Editorial
512 Squares constructive algorithms data structures graphs trees Statement F Codeforces Round 706 (Div. 1) {1495} PROGRAMMING 3250.0 Codeforces Round #706 Editorial
6361 Let's Go Hiking constructive algorithms games greedy implementation Statement B Codeforces Round 706 (Div. 1) {1495} PROGRAMMING 1000.0 Codeforces Round #706 Editorial
2935 Garden of the Sun constructive algorithms graphs Statement C Codeforces Round 706 (Div. 1) {1495} PROGRAMMING 1500.0 Codeforces Round #706 Editorial
22382 Split it! brute force constructive algorithms greedy strings Statement A Codeforces Round 706 (Div. 2) {1496} PROGRAMMING 500.0 Codeforces Round #706 Editorial
28628 M-arrays constructive algorithms greedy math Statement B Codeforces Round 708 (Div. 2) {1497} PROGRAMMING 750.0 Codeforces Round #708 Editorial 1200
29547 k-LCM (easy version) constructive algorithms math Statement C1 Codeforces Round 708 (Div. 2) {1497} PROGRAMMING 750.0 Codeforces Round #708 Editorial 1200
19693 k-LCM (hard version) constructive algorithms math Statement C2 Codeforces Round 708 (Div. 2) {1497} PROGRAMMING 500.0 Codeforces Round #708 Editorial 1600
22020 Domino on Windowsill constructive algorithms math Statement A Educational Codeforces Round 106 (Rated for Div. 2) {1499} PROGRAMMING Educational Codeforces Round 106 Editorial
979 Matrix Sorting bitmasks constructive algorithms dfs and similar greedy hashing string suffix structures two pointers Statement C Codeforces Round 707 (Div. 1, based on Moscow Open Olympiad in Informatics) {1500} PROGRAMMING 1500.0 Codeforces Round #707 Editorial 2600
14845 Balance the Bits constructive algorithms greedy Statement A Codeforces Round 712 (Div. 1) {1503} PROGRAMMING 750.0 T 1600
7732 3-Coloring constructive algorithms games interactive Statement B Codeforces Round 712 (Div. 1) {1503} PROGRAMMING 1000.0 T 1700
1297 Flip the Cards 2-sat constructive algorithms data structures dsu greedy sortings Statement D Codeforces Round 712 (Div. 1) {1503} PROGRAMMING 1750.0 T 2600
237 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
26905 Flip the Bits constructive algorithms greedy implementation math Statement B Codeforces Round 712 (Div. 2) {1504} PROGRAMMING 1000.0 Codeforces Round #712 Editorial 1200
22882 Déjà Vu constructive algorithms strings Statement A Codeforces Round 712 (Div. 2) {1504} PROGRAMMING 500.0 Codeforces Round #712 Editorial 800
1596 Math constructive algorithms Statement F April Fools Day Contest 2021 {1505} PROGRAMMING tutorial
1928 Cakewalk constructive algorithms greedy implementation shortest paths Statement E April Fools Day Contest 2021 {1505} PROGRAMMING tutorial
6559 DMCA constructive algorithms implementation Statement B April Fools Day Contest 2021 {1505} PROGRAMMING tutorial
6732 Fibonacci Words constructive algorithms implementation Statement C April Fools Day Contest 2021 {1505} PROGRAMMING tutorial
14327 Restoring the Permutation constructive algorithms data structures dsu greedy Statement E Codeforces Round 710 (Div. 3) {1506} PROGRAMMING Editorial
25894 Epic Transformation constructive algorithms greedy Statement D Codeforces Round 710 (Div. 3) {1506} PROGRAMMING Editorial
3744 Triangular Paths constructive algorithms greedy math shortest paths sortings Statement F Codeforces Round 710 (Div. 3) {1506} PROGRAMMING Editorial
4489 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
433 Tree Calendar brute force constructive algorithms dfs and similar sortings Statement E Codeforces Round 715 (Div. 1) {1508} PROGRAMMING 2250.0 Codeforces Round #715 Editorial
742 Swap Pass constructive algorithms geometry sortings Statement D Codeforces Round 715 (Div. 1) {1508} PROGRAMMING 2250.0 Codeforces Round #715 Editorial
6715 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
27377 Average Height constructive algorithms Statement A Codeforces Round 715 (Div. 2) {1509} PROGRAMMING 500.0 Codeforces Round #715 Editorial
565 Japanese Game constructive algorithms math Statement J 2020-2021 ICPC, NERC, Northern Eurasia Onsite (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1510} PROGRAMMING nerc-2020-offline-tutorial.pdf
12544 Min Cost String brute force constructive algorithms dfs and similar graphs greedy Statement D Educational Codeforces Round 107 (Rated for Div. 2) {1511} PROGRAMMING 89634
24870 GCD Length constructive algorithms math number theory Statement B Educational Codeforces Round 107 (Rated for Div. 2) {1511} PROGRAMMING 89634
24815 Corrupted Array constructive algorithms data structures greedy Statement D Codeforces Round 713 (Div. 3) {1512} PROGRAMMING Codeforces Round #713 (Div. 3) Editorial
21971 A-B Palindrome constructive algorithms implementation strings Statement C Codeforces Round 713 (Div. 3) {1512} PROGRAMMING Codeforces Round #713 (Div. 3) Editorial
20857 AND Sequences bitmasks combinatorics constructive algorithms Statement B Divide by Zero 2021 and Codeforces Round 714 (Div. 2) {1513} PROGRAMMING 1250.0 Divide by Zero 2021 and Codeforces Round #714 (Div. 2) Editorial
1465 Swapping Problem brute force constructive algorithms data structures sortings Statement F Divide by Zero 2021 and Codeforces Round 714 (Div. 2) {1513} PROGRAMMING 3500.0 Divide by Zero 2021 and Codeforces Round #714 (Div. 2) Editorial
1759 Cost Equilibrium combinatorics constructive algorithms math sortings Statement E Divide by Zero 2021 and Codeforces Round 714 (Div. 2) {1513} PROGRAMMING 2750.0 Divide by Zero 2021 and Codeforces Round #714 (Div. 2) Editorial
6640 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
20058 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
18694 Product 1 Modulo N constructive algorithms math number theory Statement C Codeforces Round 716 (Div. 2) {1514} PROGRAMMING 1500.0 Codeforces round #716 editorial
18933 Phoenix and Towers constructive algorithms data structures greedy Statement C Codeforces Global Round 14 {1515} PROGRAMMING 1500.0 Editorial
2137 Phoenix and Earthquake constructive algorithms dfs and similar dsu graphs greedy trees Statement F Codeforces Global Round 14 {1515} PROGRAMMING 3250.0 Editorial
21342 Phoenix and Gold constructive algorithms math Statement A Codeforces Global Round 14 {1515} PROGRAMMING 500.0 Editorial
14410 Baby Ehab Partitions Again bitmasks constructive algorithms dp math Statement C Codeforces Round 717 (Div. 2) {1516} PROGRAMMING 1500.0 Codeforces round #717 editorial
14248 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
13878 Morning Jogging constructive algorithms greedy sortings Statement B Contest 2050 and Codeforces Round 718 (Div. 1 + Div. 2) {1517} PROGRAMMING 1250.0 Contest 2050 and Codeforces Round #718 (Div.1 + Div.2) Editorial
931 Off by One constructive algorithms dfs and similar geometry graphs sortings trees Statement E Educational Codeforces Round 108 (Rated for Div. 2) {1519} PROGRAMMING Educational Codeforces Round 108 Editorial
34820 Not Adjacent Matrix constructive algorithms Statement C Codeforces Round 719 (Div. 3) {1520} PROGRAMMING Editorial
745 Nastia and a Beautiful Matrix binary search constructive algorithms greedy math Statement E Codeforces Round 720 (Div. 2) {1521} PROGRAMMING 2750.0 90477
2371 Nastia Plays with a Tree constructive algorithms data structures dfs and similar dp flows graphs greedy implementation trees Statement D Codeforces Round 720 (Div. 2) {1521} PROGRAMMING 2250.0 90477
4651 Nastia and a Hidden Permutation constructive algorithms interactive Statement C Codeforces Round 720 (Div. 2) {1521} PROGRAMMING 1750.0 90477
42500 Nastia and Nearly Good Numbers constructive algorithms math Statement A Codeforces Round 720 (Div. 2) {1521} PROGRAMMING 500.0 90477
23088 Nastia and a Good Array constructive algorithms math Statement B Codeforces Round 720 (Div. 2) {1521} PROGRAMMING 1000.0 90477
12545 Lord of the Values constructive algorithms Statement B Deltix Round, Spring 2021 (open for everyone, rated, Div. 1 + Div. 2) {1523} PROGRAMMING 1000.0 Deltix Round, Spring 2021. Editorial 1100