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 ... 5 6 7 8 9 ... 13 14 15 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
24552 Level Statistics implementation math Statement A Educational Codeforces Round 85 (Rated for Div. 2) {1334} PROGRAMMING Educational Codeforces Round 85 Editorial
108613 Candies and Two Sisters math Statement A Codeforces Round 634 (Div. 3) {1335} PROGRAMMING 75993 800
12353 Xenia and Colorful Gems binary search greedy math sortings two pointers Statement B Codeforces Round 635 (Div. 1) {1336} PROGRAMMING 750.0 Codeforces Round #635 Editorial 1800
915 Chiori and Doll Picking (easy version) bitmasks brute force combinatorics math Statement E1 Codeforces Round 635 (Div. 1) {1336} PROGRAMMING 1750.0 Codeforces Round #635 Editorial 2600
725 Chiori and Doll Picking (hard version) bitmasks brute force combinatorics math Statement E2 Codeforces Round 635 (Div. 1) {1336} PROGRAMMING 1500.0 Codeforces Round #635 Editorial 3400
43709 Ichihime and Triangle constructive algorithms math Statement A Codeforces Round 635 (Div. 2) {1337} PROGRAMMING 500.0 Codeforces Round #635 Editorial 1000
37271 Kana and Dragon Quest game greedy implementation math Statement B Codeforces Round 635 (Div. 2) {1337} PROGRAMMING 1000.0 Codeforces Round #635 Editorial 1000
3499 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
9754 Edge Weight Assignment bitmasks constructive algorithms greedy math trees Statement B Codeforces Round 633 (Div. 1) {1338} PROGRAMMING 1000.0 Editorial
32009 Powered Addition greedy math Statement A Codeforces Round 633 (Div. 1) {1338} PROGRAMMING 500.0 Editorial
30657 Nastya and Rice math Statement A Codeforces Round 637 (Div. 2) - Thanks, Ivan Belonogov! {1341} PROGRAMMING 500.0 Codeforces Round #637 Editorial
47381 Road To Zero greedy math Statement A Educational Codeforces Round 86 (Rated for Div. 2) {1342} PROGRAMMING 76633 1100
15182 Yet Another Counting Problem math number theory Statement C Educational Codeforces Round 86 (Rated for Div. 2) {1342} PROGRAMMING 76633 1700
3755 Placing Rooks combinatorics fft math Statement E Educational Codeforces Round 86 (Rated for Div. 2) {1342} PROGRAMMING 76633 2300
66937 Balanced Array constructive algorithms math Statement B Codeforces Round 636 (Div. 3) {1343} PROGRAMMING 76352 800
54366 Candies brute force math Statement A Codeforces Round 636 (Div. 3) {1343} PROGRAMMING 76352 900
16646 Hilbert's Hotel math number theory sortings Statement A Codeforces Round 639 (Div. 1) {1344} PROGRAMMING 500.0 Codeforces Round #639 Editorial 1600
2035 Quantifier Question dfs and similar dp graphs math Statement C Codeforces Round 639 (Div. 1) {1344} PROGRAMMING 1500.0 Codeforces Round #639 Editorial 2600
1347 Résumé Review binary search greedy math Statement D Codeforces Round 639 (Div. 1) {1344} PROGRAMMING 1750.0 Codeforces Round #639 Editorial 2700
28542 Card Constructions binary search brute force dp math Statement B Codeforces Round 639 (Div. 2) {1345} PROGRAMMING 1000.0 Codeforces Round #639 Editorial 1100
24894 Puzzle Pieces math Statement A Codeforces Round 639 (Div. 2) {1345} PROGRAMMING 500.0 Codeforces Round #639 Editorial 800
2228 Color Revolution *special math Statement A Kotlin Heroes: Episode 4 {1346} PROGRAMMING Kotlin Heroes: Episode 4 — Editorial 1000
417 Magic Tricks *special dp graphs Statement E Kotlin Heroes: Episode 4 {1346} PROGRAMMING Kotlin Heroes: Episode 4 — Editorial 1700
257 Dune II: Battle For Arrakis *special data structures greedy math Statement F Kotlin Heroes: Episode 4 {1346} PROGRAMMING Kotlin Heroes: Episode 4 — Editorial 2000
153 Two IP Cameras *special math number theory Statement G Kotlin Heroes: Episode 4 {1346} PROGRAMMING Kotlin Heroes: Episode 4 — Editorial 2300
9414 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
43452 Phoenix and Balance greedy math Statement A Codeforces Round 638 (Div. 2) {1348} PROGRAMMING 500.0 Codeforces Round #638 (Div. 2) Editorial 800
22751 Orac and LCM data structures math number theory Statement A Codeforces Round 641 (Div. 1) {1349} PROGRAMMING 500.0 Codeforces Round #641 Editorial 1600
9051 Orac and Medians constructive algorithms greedy math Statement B Codeforces Round 641 (Div. 1) {1349} PROGRAMMING 1250.0 Codeforces Round #641 Editorial 2000
678 Slime and Sequences (Easy Version) dp fft math Statement F1 Codeforces Round 641 (Div. 1) {1349} PROGRAMMING 1750.0 Codeforces Round #641 Editorial 3100
1254 Slime and Biscuits math probabilities Statement D Codeforces Round 641 (Div. 1) {1349} PROGRAMMING 2000.0 Codeforces Round #641 Editorial 3200
143 Slime and Sequences (Hard Version) dp fft math Statement F2 Codeforces Round 641 (Div. 1) {1349} PROGRAMMING 1750.0 Codeforces Round #641 Editorial 3500
31182 Orac and Models dp math number theory Statement B Codeforces Round 641 (Div. 2) {1350} PROGRAMMING 1000.0 Codeforces Round #641 Editorial 1400
27618 Orac and Factors math Statement A Codeforces Round 641 (Div. 2) {1350} PROGRAMMING 500.0 Codeforces Round #641 Editorial 900
18739 Square? brute force implementation math Statement B Testing Round 16 (Unrated) {1351} PROGRAMMING 1000.0 900
73878 K-th Not Divisible by n binary search math Statement C Codeforces Round 640 (Div. 4) {1352} PROGRAMMING 77161 1200
46764 Same Parity Summands constructive algorithms math Statement B Codeforces Round 640 (Div. 4) {1352} PROGRAMMING 77161 1200
19906 Binary String Reconstruction constructive algorithms dfs and similar math Statement F Codeforces Round 640 (Div. 4) {1352} PROGRAMMING 77161 1500
108996 Sum of Round Numbers implementation math Statement A Codeforces Round 640 (Div. 4) {1352} PROGRAMMING 77161 800
39305 Board Moves math Statement C Codeforces Round 642 (Div. 3) {1353} PROGRAMMING Codeforces Round #642 (Div. 3) Editorial 1000
45165 Most Unstable Array constructive algorithms greedy math Statement A Codeforces Round 642 (Div. 3) {1353} PROGRAMMING Codeforces Round #642 (Div. 3) Editorial 800
16427 Simple Polygon Embedding binary search geometry math ternary search Statement C1 Educational Codeforces Round 87 (Rated for Div. 2) {1354} PROGRAMMING 77593 1400
6438 Not So Simple Polygon Embedding binary search brute force geometry math Statement C2 Educational Codeforces Round 87 (Rated for Div. 2) {1354} PROGRAMMING 77593 2000
25068 Alarm Clock math Statement A Educational Codeforces Round 87 (Rated for Div. 2) {1354} PROGRAMMING 77593 900
29258 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
19225 Game With Array constructive algorithms math Statement D Codeforces Round 643 (Div. 2) {1355} PROGRAMMING 1500.0 Codeforces Round #643 (Div. 2) Editorial 1400
12368 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
6117 Restorer Distance binary search greedy math sortings ternary search Statement E Codeforces Round 643 (Div. 2) {1355} PROGRAMMING 2000.0 Codeforces Round #643 (Div. 2) Editorial 2100
18524 Celex Update math Statement C Codeforces Round 645 (Div. 2) {1358} PROGRAMMING 1500.0 Codeforces Round #645 (Div. 2) Editorial 1600
43983 Park Lighting math Statement A Codeforces Round 645 (Div. 2) {1358} PROGRAMMING 500.0 Codeforces Round #645 (Div. 2) Editorial 800
32068 Berland Poker brute force greedy math Statement A Educational Codeforces Round 88 (Rated for Div. 2) {1359} PROGRAMMING Educational Codeforces Round 88 Editorial 1000
15597 Mixing Water binary search math Statement C Educational Codeforces Round 88 (Rated for Div. 2) {1359} PROGRAMMING Educational Codeforces Round 88 Editorial 1700
6896 Modular Stability combinatorics math number theory Statement E Educational Codeforces Round 88 (Rated for Div. 2) {1359} PROGRAMMING Educational Codeforces Round 88 Editorial 2000
630 RC Kaboom Show binary search brute force data structures geometry math Statement F Educational Codeforces Round 88 (Rated for Div. 2) {1359} PROGRAMMING Educational Codeforces Round 88 Editorial 2900
45538 Buying Shovels math number theory Statement D Codeforces Round 644 (Div. 3) {1360} PROGRAMMING Codeforces Round #644 (Div. 3) Editorial 1300
8418 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
58072 Minimal Square greedy math Statement A Codeforces Round 644 (Div. 3) {1360} PROGRAMMING Codeforces Round #644 (Div. 3) Editorial 800
3893 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
446 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
263 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
25106 Johnny and Another Rating Drop bitmasks greedy math Statement C Codeforces Round 647 (Div. 2) - Thanks, Algo Muse! {1362} PROGRAMMING 1500.0 Codeforces Round #647 Editorial 1400
41453 Odd Selection brute force implementation math Statement A Codeforces Round 646 (Div. 2) {1363} PROGRAMMING 500.0 78202 1200
4478 Guess The Maximums binary search divide and conquer implementation interactive math Statement D Codeforces Round 646 (Div. 2) {1363} PROGRAMMING 2000.0 78202 2100
1565 Secure Password bitmasks combinatorics constructive algorithms interactive math Statement G Codeforces Round 648 (Div. 2) {1365} PROGRAMMING 3000.0 Editorial — Codeforces Round #648 2800
33411 Shovels and Swords binary search greedy math Statement A Educational Codeforces Round 89 (Rated for Div. 2) {1366} PROGRAMMING Educational Codeforces Round 89 Editorial
12793 Two Divisors constructive algorithms math number theory Statement D Educational Codeforces Round 89 (Rated for Div. 2) {1366} PROGRAMMING Educational Codeforces Round 89 Editorial
14337 Palindromic Paths dsu greedy math Statement C Educational Codeforces Round 89 (Rated for Div. 2) {1366} PROGRAMMING Educational Codeforces Round 89 Editorial
29754 Shuffle math two pointers Statement B Educational Codeforces Round 89 (Rated for Div. 2) {1366} PROGRAMMING Educational Codeforces Round 89 Editorial
25653 Social Distance constructive algorithms greedy math Statement C Codeforces Round 650 (Div. 3) {1367} PROGRAMMING Codeforces Round #650 (Div. 3) Editorial
66133 Even Array greedy math Statement B Codeforces Round 650 (Div. 3) {1367} PROGRAMMING Codeforces Round #650 (Div. 3) Editorial
14324 AND, OR and square sum bitmasks greedy math Statement D Codeforces Global Round 8 {1368} PROGRAMMING 1750.0 Codeforces Global Round 8: editorial
21858 Codeforces Subsequences brute force constructive algorithms greedy math strings Statement B Codeforces Global Round 8 {1368} PROGRAMMING 1000.0 Codeforces Global Round 8: editorial
47395 C+= brute force greedy math Statement A Codeforces Global Round 8 {1368} PROGRAMMING 500.0 Codeforces Global Round 8: editorial
1134 Lamps on a Circle games greedy implementation interactive math Statement F Codeforces Global Round 8 {1368} PROGRAMMING 3000.0 Codeforces Global Round 8: editorial
21154 RationalLee greedy math sortings Statement C Codeforces Round 652 (Div. 2) {1369} PROGRAMMING 1500.0 Codeforces Round #652 (Div. 2) Editorial 1400
9299 TediousLee dp graphs greedy math matrices trees Statement D Codeforces Round 652 (Div. 2) {1369} PROGRAMMING 2000.0 Codeforces Round #652 (Div. 2) Editorial 1900
39429 FashionabLee geometry math Statement A Codeforces Round 652 (Div. 2) {1369} PROGRAMMING 500.0 Codeforces Round #652 (Div. 2) Editorial 800
25409 GCD Compression brute force constructive algorithms math number theory Statement B Codeforces Round 651 (Div. 2) {1370} PROGRAMMING 1000.0 Editorial — Codeforces Round #651
67460 Maximum GCD brute force greedy implementation number theory Statement A Codeforces Round 651 (Div. 2) {1370} PROGRAMMING 500.0 Editorial — Codeforces Round #651
27721 Number Game games math number theory Statement C Codeforces Round 651 (Div. 2) {1370} PROGRAMMING 1500.0 Editorial — Codeforces Round #651
2551 Asterism (Hard Version) binary search math number theory sortings Statement E2 Codeforces Round 654 (Div. 2) {1371} PROGRAMMING 1250.0 Codeforces Round #654 (Div. 2) Editorial
5560 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
21534 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
13781 Grid-00100 constructive algorithms greedy math Statement D Codeforces Round 654 (Div. 2) {1371} PROGRAMMING 1500.0 Codeforces Round #654 (Div. 2) Editorial
19719 Magical Calendar constructive algorithms math Statement B Codeforces Round 654 (Div. 2) {1371} PROGRAMMING 1000.0 Codeforces Round #654 (Div. 2) Editorial
52101 Magical Sticks math Statement A Codeforces Round 654 (Div. 2) {1371} PROGRAMMING 500.0 Codeforces Round #654 (Div. 2) Editorial
38489 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
19264 Omkar and Baseball constructive algorithms math Statement C Codeforces Round 655 (Div. 2) {1372} PROGRAMMING 1500.0 Codeforces Round #655 Editorial 1500
5944 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
19555 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
2998 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
29997 Donut Shops greedy implementation math Statement A Educational Codeforces Round 90 (Rated for Div. 2) {1373} PROGRAMMING Educational Codeforces Round 90 Editorial
66004 Required Remainder math Statement A Codeforces Round 653 (Div. 3) {1374} PROGRAMMING 79517
76699 Multiply by 2, divide by 6 math Statement B Codeforces Round 653 (Div. 3) {1374} PROGRAMMING 79517
32853 Zero Remainder Array math sortings two pointers Statement D Codeforces Round 653 (Div. 3) {1374} PROGRAMMING 79517
2582 Integer Game brute force constructive algorithms games interactive math Statement F Codeforces Global Round 9 {1375} PROGRAMMING 2000.0 79731
283 Cubic Lattice geometry math matrices number theory Statement I Codeforces Global Round 9 {1375} PROGRAMMING 4000.0 79731
13240 Dubious Cyrpto binary search brute force math number theory Statement B Codeforces Round 657 (Div. 2) {1379} PROGRAMMING 750.0 Codeforces Round #657 Editorial 1500
6209 Choosing flowers binary search data structures greedy math sortings two pointers Statement C Codeforces Round 657 (Div. 2) {1379} PROGRAMMING 1250.0 Codeforces Round #657 Editorial 2000
601 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
5093 Berserk And Fireball brute force greedy math Statement D Educational Codeforces Round 91 (Rated for Div. 2) {1380} PROGRAMMING Educational Codeforces Round 91 Editorial
1030 Circular Dungeon greedy math probabilities Statement G Educational Codeforces Round 91 (Rated for Div. 2) {1380} PROGRAMMING Educational Codeforces Round 91 Editorial
9721 Unmerge combinatorics dp two pointers Statement B Codeforces Round 658 (Div. 1) {1381} PROGRAMMING 1500.0 Codeforces Round #658 Editorial 1800
367 Origami geometry math sortings Statement E Codeforces Round 658 (Div. 1) {1381} PROGRAMMING 3000.0 Codeforces Round #658 Editorial 3300
5611 GameGame bitmasks constructive algorithms dp games greedy math Statement B Codeforces Round 659 (Div. 1) {1383} PROGRAMMING 1000.0 Codeforces Round #659 Editorial
44314 Three Pairwise Maximums math Statement A Codeforces Round 656 (Div. 3) {1385} PROGRAMMING Codeforces Round #656 (Div. 3) Editorial 800
363 Colors *special binary search constructive algorithms interactive Statement A Baltic Olympiad in Informatics 2020, Day 1 (IOI, Unofficial Mirror Contest, Unrated) {1386} PROGRAMMING T
210 Mixture *special data structures geometry math sortings Statement B Baltic Olympiad in Informatics 2020, Day 1 (IOI, Unofficial Mirror Contest, Unrated) {1386} PROGRAMMING T
983 Graph *special dfs and similar dp math Statement A Baltic Olympiad in Informatics 2020, Day 2 (IOI, Unofficial Mirror Contest, Unrated) {1387} PROGRAMMING T
22907 Captain Flint and a Long Voyage greedy math Statement B Codeforces Round 660 (Div. 2) {1388} PROGRAMMING 1000.0 Codeforces Round #660 Editorial 1000
10522 Uncle Bogdan and Country Happiness dfs and similar dp greedy math trees Statement C Codeforces Round 660 (Div. 2) {1388} PROGRAMMING 1500.0 Codeforces Round #660 Editorial 1800
26079 Captain Flint and Crew Recruitment brute force math number theory Statement A Codeforces Round 660 (Div. 2) {1388} PROGRAMMING 750.0 Codeforces Round #660 Editorial 800
4597 Segment Intersections binary search brute force greedy implementation math Statement D Educational Codeforces Round 92 (Rated for Div. 2) {1389} PROGRAMMING 80809
51841 LCM Problem constructive algorithms greedy math number theory Statement A Educational Codeforces Round 92 (Rated for Div. 2) {1389} PROGRAMMING 80809
21260 Array Walk dp greedy math Statement B Educational Codeforces Round 92 (Rated for Div. 2) {1389} PROGRAMMING 80809
3767 Calendar Ambiguity math number theory Statement E Educational Codeforces Round 92 (Rated for Div. 2) {1389} PROGRAMMING 80809
16208 Cyclic Permutations combinatorics graphs math Statement C Codeforces Round 663 (Div. 2) {1391} PROGRAMMING 1250.0 Codeforces Round #663 (Div. 2) Editorial
25138 Suborrays constructive algorithms math Statement A Codeforces Round 663 (Div. 2) {1391} PROGRAMMING 500.0 Codeforces Round #663 (Div. 2) Editorial
2692 Omkar and Landslide binary search constructive algorithms greedy math Statement F Codeforces Global Round 10 {1392} PROGRAMMING 2500.0 Codeforces Global Round 10 — Editorial
3951 Omkar and Duck bitmasks constructive algorithms interactive math Statement E Codeforces Global Round 10 {1392} PROGRAMMING 2000.0 Codeforces Global Round 10 — Editorial
789 Omkar and Pies bitmasks dfs and similar dp math Statement G Codeforces Global Round 10 {1392} PROGRAMMING 3000.0 Codeforces Global Round 10 — Editorial
1222 ZS Shuffles Cards combinatorics math probabilities Statement H Codeforces Global Round 10 {1392} PROGRAMMING 3500.0 Codeforces Global Round 10 — Editorial
10050 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
336 Kevin and Grid fft graphs math Statement I Codeforces Global Round 10 {1392} PROGRAMMING 4000.0 Codeforces Global Round 10 — Editorial
18958 Omkar and Infinity Clock implementation math Statement B Codeforces Global Round 10 {1392} PROGRAMMING 750.0 Codeforces Global Round 10 — Editorial
11116 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
20870 Rainbow Dash, Fluttershy and Chess Coloring greedy math Statement A Codeforces Round 662 (Div. 2) {1393} PROGRAMMING 500.0 Codeforces Round #662 Editorial
15583 Power Sequence binary search brute force math number theory ternary search Statement B Codeforces Round 666 (Div. 2) {1397} PROGRAMMING 1000.0 Codeforces Round #666 — Editorial
39461 Good Subarrays binary search data structures dp math Statement C Educational Codeforces Round 93 (Rated for Div. 2) {1398} PROGRAMMING Educational Codeforces Round 93 Editorial
2643 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
1347 Running Competition bitmasks fft math number theory Statement G Educational Codeforces Round 93 (Rated for Div. 2) {1398} PROGRAMMING Educational Codeforces Round 93 Editorial
29052 Bad Triangle geometry math Statement A Educational Codeforces Round 93 (Rated for Div. 2) {1398} PROGRAMMING Educational Codeforces Round 93 Editorial
11777 RPG Protagonist binary search brute force greedy math Statement B Educational Codeforces Round 94 (Rated for Div. 2) {1400} PROGRAMMING 81942
1229 Mercenaries bitmasks combinatorics data structures math two pointers Statement G Educational Codeforces Round 94 (Rated for Div. 2) {1400} PROGRAMMING 81942
11570 Zigzags brute force data structures dp math two pointers Statement D Educational Codeforces Round 94 (Rated for Div. 2) {1400} PROGRAMMING 81942
10830 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
21878 Ternary Sequence constructive algorithms greedy math Statement B Codeforces Round 665 (Div. 2) {1401} PROGRAMMING 1000.0 Codeforces Round #665 (Div. 2) Editorial
27527 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
28887 Distance and Axis math number theory Statement A Codeforces Round 665 (Div. 2) {1401} PROGRAMMING 500.0 Codeforces Round #665 (Div. 2) Editorial
1384 Fancy Fence *special data structures dp dsu math sortings Statement A Central-European Olympiad in Informatics, CEOI 2020, Day 1 (IOI, Unofficial Mirror Contest, Unrated) {1402} PROGRAMMING Editorial
95 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
1320 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
21974 Permutation Forgery constructive algorithms Statement A Codeforces Round 668 (Div. 2) {1405} PROGRAMMING 500.0 Codeforces Round #668 Editorial
3879 Three Sequences binary search data structures greedy math Statement D Codeforces Round 670 (Div. 2) {1406} PROGRAMMING 2000.0 Codeforces Round #670 (Div. 2) Editorial
23320 Subset Mex greedy implementation math Statement A Codeforces Round 670 (Div. 2) {1406} PROGRAMMING 500.0 Codeforces Round #670 (Div. 2) Editorial
18261 Big Vova brute force greedy math number theory Statement B Codeforces Round 669 (Div. 2) {1407} PROGRAMMING 1000.0 Codeforces Round #669 Editorial
15419 Chocolate Bunny constructive algorithms interactive math two pointers Statement C Codeforces Round 669 (Div. 2) {1407} PROGRAMMING 1500.0 Codeforces Round #669 Editorial
21618 Ahahahahahahahaha constructive algorithms math Statement A Codeforces Round 669 (Div. 2) {1407} PROGRAMMING 500.0 Codeforces Round #669 Editorial
9387 Discrete Acceleration binary search implementation math two pointers Statement C Grakn Forces 2020 {1408} PROGRAMMING 1250.0 Grakn Forces -- Editorial
2790 Two Different bitmasks constructive algorithms divide and conquer greedy Statement F Grakn Forces 2020 {1408} PROGRAMMING 2500.0 Grakn Forces -- Editorial
10520 Arrays Sum constructive algorithms greedy math Statement B Grakn Forces 2020 {1408} PROGRAMMING 1000.0 Grakn Forces -- Editorial
402 Bitwise Magic dp math Statement I Grakn Forces 2020 {1408} PROGRAMMING 3750.0 Grakn Forces -- Editorial
31313 Minimum Product brute force greedy math Statement B Codeforces Round 667 (Div. 3) {1409} PROGRAMMING Codeforces Round #667 (Div. 3) Editorial
24886 Yet Another Array Restoration brute force math Statement C Codeforces Round 667 (Div. 3) {1409} PROGRAMMING Codeforces Round #667 (Div. 3) Editorial
21730 Decrease the Sum of Digits greedy math Statement D Codeforces Round 667 (Div. 3) {1409} PROGRAMMING Codeforces Round #667 (Div. 3) Editorial
82918 Yet Another Two Integers Problem math Statement A Codeforces Round 667 (Div. 3) {1409} PROGRAMMING Codeforces Round #667 (Div. 3) Editorial
961 No Game No Life games math matrices Statement G Technocup 2021 - Elimination Round 3 {1411} PROGRAMMING 3250.0 Technocup 2021 Elimination Round 3 and Round #692 (Div. 1 + Div. 2) Editorial
1867 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
536 The Thorny Path greedy math matrices Statement F Technocup 2021 - Elimination Round 3 {1411} PROGRAMMING 2750.0 Technocup 2021 Elimination Round 3 and Round #692 (Div. 1 + Div. 2) Editorial
2313 Solo mid Oracle binary search math ternary search Statement E Technocup 2021 - Elimination Round 1 {1413} PROGRAMMING 2250.0 Codeforces Round 679 (Div. 1, Div. 2) and Technocup Round 1 editorial
15332 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
15941 Prison Break brute force brute force math Statement A Technocup 2021 - Elimination Round 2 {1415} PROGRAMMING 500.0 Editorial of Codeforces Round 687 (Technocup 2021 — Elimitation Round 2)
3061 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)
6778 Make Them Equal constructive algorithms greedy math Statement B Codeforces Round 673 (Div. 1) {1416} PROGRAMMING 1000.0 Codeforces Round #673 Editorial 2000
15156 Two Arrays greedy math sortings Statement B Codeforces Round 673 (Div. 2) {1417} PROGRAMMING 1000.0 Codeforces Round #673 Editorial 1100
18785 Copy-paste greedy math Statement A Codeforces Round 673 (Div. 2) {1417} PROGRAMMING 500.0 Codeforces Round #673 Editorial 800
2398 Expected Damage binary search combinatorics math probabilities Statement E Educational Codeforces Round 95 (Rated for Div. 2) {1418} PROGRAMMING Unofficial Editorial for Educational Round 95 (Div. 2)
563 Equal Product data structures math number theory two pointers Statement F Educational Codeforces Round 95 (Rated for Div. 2) {1418} PROGRAMMING Unofficial Editorial for Educational Round 95 (Div. 2)
36709 Buying Torches math Statement A Educational Codeforces Round 95 (Rated for Div. 2) {1418} PROGRAMMING Unofficial Editorial for Educational Round 95 (Div. 2)
3557 Decryption bitmasks constructive algorithms implementation math number theory Statement E Codeforces Round 671 (Div. 2) {1419} PROGRAMMING 2250.0 Codeforces Round #671 Editorial
17128 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
16420 Killjoy greedy implementation math Statement C Codeforces Round 671 (Div. 2) {1419} PROGRAMMING 1250.0 Codeforces Round #671 Editorial
38355 Rock and Lever bitmasks math Statement B Codeforces Round 672 (Div. 2) {1420} PROGRAMMING 1000.0 Editorial
25466 Cubes Sorting math sortings Statement A Codeforces Round 672 (Div. 2) {1420} PROGRAMMING 500.0 Editorial
36867 XORwice bitmasks greedy math Statement A Codeforces Round 676 (Div. 2) {1421} PROGRAMMING 500.0 Codeforces Round #676 (Div. 2) Editorial
4401 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
8900 Bargain dp math probabilities Statement C Codeforces Round 675 (Div. 2) {1422} PROGRAMMING 1000.0 Codeforces Round #675 (Div. 2) Editorial
21998 Fence geometry math Statement A Codeforces Round 675 (Div. 2) {1422} PROGRAMMING 500.0 Codeforces Round #675 (Div. 2) Editorial
5509 Lonely Numbers binary search math number theory Statement K Bubble Cup 13 - Finals [Online Mirror, unrated, Div. 1] {1423} PROGRAMMING FinalsEditorial2020.pdf
919 Bubble Cup hypothesis constructive algorithms dp math Statement J Bubble Cup 13 - Finals [Online Mirror, unrated, Div. 1] {1423} PROGRAMMING FinalsEditorial2020.pdf
241 Dušan's Railway graphs trees Statement C Bubble Cup 13 - Finals [Online Mirror, unrated, Div. 1] {1423} PROGRAMMING FinalsEditorial2020.pdf
369 Milutin's Plums interactive Statement M Bubble Cup 13 - Finals [Online Mirror, unrated, Div. 1] {1423} PROGRAMMING FinalsEditorial2020.pdf
545 Coins math Statement F Bubble Cup 13 - Finals [Online Mirror, unrated, Div. 1] {1423} PROGRAMMING FinalsEditorial2020.pdf
931 Danger of Mad Snakes combinatorics dp math Statement D 2020 ICPC, COMPFEST 12, Indonesia Multi-Provincial Contest (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1425} PROGRAMMING Tutorial 2300
127 Captain of Knights math Statement C 2020 ICPC, COMPFEST 12, Indonesia Multi-Provincial Contest (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1425} PROGRAMMING Tutorial 3100
20810 Increase and Copy binary search constructive algorithms math Statement C Codeforces Round 674 (Div. 3) {1426} PROGRAMMING 83120 1100
8228 Rock, Paper, Scissors brute force constructive algorithms flows greedy math Statement E Codeforces Round 674 (Div. 3) {1426} PROGRAMMING 83120 1800
56154 Floor Number implementation math Statement A Codeforces Round 674 (Div. 3) {1426} PROGRAMMING 83120 800
1728 Xum bitmasks constructive algorithms math number theory Statement E Codeforces Global Round 11 {1427} PROGRAMMING 1500.0 Editorial of Global Round 11 2500
18182 Avoiding Zero math sortings Statement A Codeforces Global Round 11 {1427} PROGRAMMING 500.0 Editorial of Global Round 11 900
4399 Carrots for Rabbits binary search data structures greedy math Statement E Codeforces Raif Round 1 (Div. 1 + Div. 2) {1428} PROGRAMMING 1750.0 Codeforces Raif Round 1 Editorial
17137 Box is Pull math Statement A Codeforces Raif Round 1 (Div. 1 + Div. 2) {1428} PROGRAMMING 500.0 Codeforces Raif Round 1 Editorial
965 Yet Another DAG Problem bitmasks dp flows math Statement G Educational Codeforces Round 96 (Rated for Div. 2) {1430} PROGRAMMING Educational Codeforces Round 96 — Editorial
21999 Number of Apartments brute force dp math Statement A Educational Codeforces Round 96 (Rated for Div. 2) {1430} PROGRAMMING Educational Codeforces Round 96 — Editorial
28981 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
20133 Two Round Dances combinatorics math Statement E Codeforces Round 677 (Div. 3) {1433} PROGRAMMING Codeforces Round #677 (Div. 3) Editorial
64114 Boring Apartments implementation math Statement A Codeforces Round 677 (Div. 3) {1433} PROGRAMMING Codeforces Round #677 (Div. 3) Editorial
727 Sum Over Subsets combinatorics math number theory Statement F Codeforces Round 678 (Div. 2) {1436} PROGRAMMING 3000.0 Codeforces Round #678 (Div. 2). Editorial
21846 Prime Square constructive algorithms math Statement B Codeforces Round 678 (Div. 2) {1436} PROGRAMMING 1000.0 Codeforces Round #678 (Div. 2). Editorial
23706 Reorder math Statement A Codeforces Round 678 (Div. 2) {1436} PROGRAMMING 500.0 Codeforces Round #678 (Div. 2). Editorial
18524 Marketing Scheme brute force constructive algorithms greedy math Statement A Educational Codeforces Round 97 (Rated for Div. 2) {1437} PROGRAMMING 84149
1716 Emotional Fishermen combinatorics dp math Statement F Educational Codeforces Round 97 (Rated for Div. 2) {1437} PROGRAMMING 84149
33225 Sum of Medians greedy math Statement B Codeforces Round 684 (Div. 2) {1440} PROGRAMMING 1000.0 Codeforces Round #684[Div1 and Div2] Editorial
20454 Buy the String implementation math Statement A Codeforces Round 684 (Div. 2) {1440} PROGRAMMING 500.0 Codeforces Round #684[Div1 and Div2] Editorial
1590 Long Permutation brute force combinatorics math Statement E Codeforces Round 681 (Div. 2, based on VK Cup 2019-2020 - Final) {1443} PROGRAMMING 2500.0 VK Cup 2019-2020 -- Engine Editorial
16745 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
16776 Saving the City greedy math sortings Statement B Codeforces Round 681 (Div. 2, based on VK Cup 2019-2020 - Final) {1443} PROGRAMMING 1000.0 VK Cup 2019-2020 -- Engine Editorial
6849 Divide and Sum combinatorics math Statement B Codeforces Round 680 (Div. 1, based on Moscow Team Olympiad) {1444} PROGRAMMING 1000.0 Codeforces Round #680 Editorial
14687 Division math number theory Statement A Codeforces Round 680 (Div. 1, based on Moscow Team Olympiad) {1444} PROGRAMMING 500.0 Codeforces Round #680 Editorial
16016 Elimination math Statement B Codeforces Round 680 (Div. 2, based on Moscow Team Olympiad) {1445} PROGRAMMING 1000.0 Codeforces Round #680 Editorial
14498 Add Candies constructive algorithms math Statement A Codeforces Round 683 (Div. 2, by Meet IT) {1447} PROGRAMMING 500.0 Meet IT Codeforces Round Editorial
29026 Numbers Box greedy math Statement B Codeforces Round 683 (Div. 2, by Meet IT) {1447} PROGRAMMING 1000.0 Meet IT Codeforces Round Editorial
659 Multithreading (Easy Version) combinatorics fft math Statement H1 Codeforces Global Round 12 {1450} PROGRAMMING 2750.0 Codeforces Global Round 12 Editorial
387 Multithreading (Hard Version) combinatorics implementation math Statement H2 Codeforces Global Round 12 {1450} PROGRAMMING 1750.0 Codeforces Global Round 12 Editorial
4456 Errich-Tac-Toe (Hard Version) constructive algorithms math Statement C2 Codeforces Global Round 12 {1450} PROGRAMMING 750.0 Codeforces Global Round 12 Editorial
5610 Bitwise Queries (Easy Version) bitmasks constructive algorithms interactive math Statement E1 Codeforces Round 685 (Div. 2) {1451} PROGRAMMING 1500.0 Editorial — Codeforces Round #685
3986 Bitwise Queries (Hard Version) bitmasks constructive algorithms interactive math Statement E2 Codeforces Round 685 (Div. 2) {1451} PROGRAMMING 1000.0 Editorial — Codeforces Round #685
10371 Circle Game games geometry math Statement D Codeforces Round 685 (Div. 2) {1451} PROGRAMMING 1750.0 Editorial — Codeforces Round #685
25507 Subtract or Divide greedy math Statement A Codeforces Round 685 (Div. 2) {1451} PROGRAMMING 500.0 Editorial — Codeforces Round #685
15627 Toy Blocks binary search greedy math sortings Statement B Educational Codeforces Round 98 (Rated for Div. 2) {1452} PROGRAMMING 84847
8804 Radio Towers combinatorics dp math Statement D Educational Codeforces Round 98 (Rated for Div. 2) {1452} PROGRAMMING 84847
23075 Robot Program math Statement A Educational Codeforces Round 98 (Rated for Div. 2) {1452} PROGRAMMING 84847
4490 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
22630 Number into Sequence constructive algorithms math number theory Statement D Codeforces Round 686 (Div. 3) {1454} PROGRAMMING Codeforces Round #686 (Div. 3) Editorial
1689 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
20591 Ping-pong constructive algorithms games math Statement C Educational Codeforces Round 99 (Rated for Div. 2) {1455} PROGRAMMING 85186
23545 Jumps constructive algorithms math Statement B Educational Codeforces Round 99 (Rated for Div. 2) {1455} PROGRAMMING 85186
498 Range Diameter Sum Statement F Codeforces Round 691 (Div. 1) {1458} PROGRAMMING 3500.0 Codeforces Round #691 Editorial (finished)
1800 Latin Square data structures implementation math matrices Statement C Codeforces Round 691 (Div. 1) {1458} PROGRAMMING 1500.0 Codeforces Round #691 Editorial (finished)
26834 Row GCD math number theory Statement A Codeforces Round 691 (Div. 1) {1458} PROGRAMMING 500.0 Codeforces Round #691 Editorial (finished)
22368 Move and Turn dp math Statement B Codeforces Round 691 (Div. 2) {1459} PROGRAMMING 1000.0 Codeforces Round #691 Editorial (finished)
18104 Red-Blue Shuffle math probabilities Statement A Codeforces Round 691 (Div. 2) {1459} PROGRAMMING 750.0 Codeforces Round #691 Editorial (finished)
10437 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
2249 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
685 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
12764 Random Events math probabilities Statement C Codeforces Round 689 (Div. 2, based on Zed Code Competition) {1461} PROGRAMMING 1250.0 Codeforces Round #689 (Div. 2). Editorial
11769 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
15657 Close Tuples (easy version) binary search combinatorics math sortings two pointers Statement E1 Codeforces Round 690 (Div. 3) {1462} PROGRAMMING Codeforces Round #690 (Div. 3) Editorial
37106 Unique Number dp greedy math Statement C Codeforces Round 690 (Div. 3) {1462} PROGRAMMING Codeforces Round #690 (Div. 3) Editorial
18492 Add to Neighbour and Remove greedy math number theory Statement D Codeforces Round 690 (Div. 3) {1462} PROGRAMMING Codeforces Round #690 (Div. 3) Editorial
6091 Busy Robot implementation math Statement C Educational Codeforces Round 100 (Rated for Div. 2) {1463} PROGRAMMING Educational Codeforces Round 100 Editorial
28297 Dungeon math Statement A Educational Codeforces Round 100 (Rated for Div. 2) {1463} PROGRAMMING Educational Codeforces Round 100 Editorial
8625 Apollo versus Pan bitmasks math Statement E Good Bye 2020 {1466} PROGRAMMING 1500.0 Good Bye 2020 Editorial
23287 Bovine Dilemma brute force math Statement A Good Bye 2020 {1466} PROGRAMMING 500.0 Good Bye 2020 Editorial
3101 Euclid's nightmare dfs and similar dsu graphs math Statement F Good Bye 2020 {1466} PROGRAMMING 1750.0 Good Bye 2020 Editorial
1056 Song of the Sirens divide and conquer hashing math strings Statement G Good Bye 2020 {1466} PROGRAMMING 2500.0 Good Bye 2020 Editorial
721 Finding satisfactory solutions dp graphs greedy math Statement H Good Bye 2020 {1466} PROGRAMMING 3500.0 Good Bye 2020 Editorial
4101 Sum of Paths combinatorics dp math Statement D Codeforces Round 695 (Div. 2) {1467} PROGRAMMING 1750.0 Codeforces Round #695 (Div. 2) Editorial 2200
25443 Wizard of Orz greedy math Statement A Codeforces Round 695 (Div. 2) {1467} PROGRAMMING 500.0 Codeforces Round #695 (Div. 2) Editorial 900
2044 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)