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.

Get exact match for tags using this format, eg: [u'brute force', 'dp']

< 1 2 3 ... 70 71 72 73 74 ... 100 101 102 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
1879 Excellent Arrays brute force combinatorics constructive algorithms implementation math Statement D Educational Codeforces Round 111 (Rated for Div. 2) {1550} PROGRAMMING Educational Codeforces Round 111 Editorial
15720 Wonderful Coloring - 2 binary search constructive algorithms data structures greedy Statement B2 Codeforces Round 734 (Div. 3) {1551} PROGRAMMING Editorial for Codeforces Round #734 (Div.3)
29870 Wonderful Coloring - 1 strings Statement B1 Codeforces Round 734 (Div. 3) {1551} PROGRAMMING Editorial for Codeforces Round #734 (Div.3)
52617 Polycarp and Coins math Statement A Codeforces Round 734 (Div. 3) {1551} PROGRAMMING Editorial for Codeforces Round #734 (Div.3)
13522 Interesting Story greedy sortings strings Statement C Codeforces Round 734 (Div. 3) {1551} PROGRAMMING Editorial for Codeforces Round #734 (Div.3)
4034 Fixed Points brute force dp Statement E Codeforces Round 734 (Div. 3) {1551} PROGRAMMING Editorial for Codeforces Round #734 (Div.3)
1880 Equidistant Vertices combinatorics dfs and similar dp trees Statement F Codeforces Round 734 (Div. 3) {1551} PROGRAMMING Editorial for Codeforces Round #734 (Div.3)
2805 Domino (hard version) constructive algorithms implementation math Statement D2 Codeforces Round 734 (Div. 3) {1551} PROGRAMMING Editorial for Codeforces Round #734 (Div.3)
7200 Domino (easy version) constructive algorithms math Statement D1 Codeforces Round 734 (Div. 3) {1551} PROGRAMMING Editorial for Codeforces Round #734 (Div.3)
2993 Telepanting binary search data structures dp sortings Statement F Codeforces Global Round 15 {1552} PROGRAMMING 1500.0 Editorial of Global Round 15
24054 Subsequence Permutation sortings strings Statement A Codeforces Global Round 15 {1552} PROGRAMMING 250.0 Editorial of Global Round 15
15689 Running for Gold combinatorics graphs greedy probabilities sortings Statement B Codeforces Global Round 15 {1552} PROGRAMMING 500.0 Editorial of Global Round 15
130 Organizing a Music Festival dfs and similar math Statement I Codeforces Global Round 15 {1552} PROGRAMMING 3750.0 Editorial of Global Round 15
5979 Maximize the Intersections combinatorics constructive algorithms geometry greedy Statement C Codeforces Global Round 15 {1552} PROGRAMMING 1000.0 Editorial of Global Round 15
396 Guess the Perimeter binary search interactive number theory Statement H Codeforces Global Round 15 {1552} PROGRAMMING 2750.0 Editorial of Global Round 15
1939 Colors and Intervals constructive algorithms data structures greedy sortings Statement E Codeforces Global Round 15 {1552} PROGRAMMING 1500.0 Editorial of Global Round 15
539 A Serious Referee bitmasks brute force dfs and similar sortings Statement G Codeforces Global Round 15 {1552} PROGRAMMING 2500.0 Editorial of Global Round 15
7170 Array Differentiation bitmasks dp graphs math Statement D Codeforces Global Round 15 {1552} PROGRAMMING 1000.0 Editorial of Global Round 15
744 XOR and Distance bitmasks divide and conquer dp trees Statement H Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2) {1553} PROGRAMMING 3750.0 Harbour.Space Scholarship Contest 2021-2022 (Div. 1 + Div. 2) Editorial
209 Stairs combinatorics divide and conquer fft math Statement I Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2) {1553} PROGRAMMING 5250.0 Harbour.Space Scholarship Contest 2021-2022 (Div. 1 + Div. 2) Editorial
14307 Reverse String brute force dp hashing strings Statement B Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2) {1553} PROGRAMMING 500.0 Harbour.Space Scholarship Contest 2021-2022 (Div. 1 + Div. 2) Editorial
3407 Permutation Shift brute force combinatorics constructive algorithms dfs and similar graphs math Statement E Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2) {1553} PROGRAMMING 1750.0 Harbour.Space Scholarship Contest 2021-2022 (Div. 1 + Div. 2) Editorial
18202 Penalty brute force dp greedy Statement C Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2) {1553} PROGRAMMING 750.0 Harbour.Space Scholarship Contest 2021-2022 (Div. 1 + Div. 2) Editorial
2270 Pairwise Modulo data structures math Statement F Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2) {1553} PROGRAMMING 2500.0 Harbour.Space Scholarship Contest 2021-2022 (Div. 1 + Div. 2) Editorial
31693 Digits Sum math number theory Statement A Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2) {1553} PROGRAMMING 250.0 Harbour.Space Scholarship Contest 2021-2022 (Div. 1 + Div. 2) Editorial
1068 Common Divisor Graph binary search ds graphs math number theory Statement G Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2) {1553} PROGRAMMING 3000.0 Harbour.Space Scholarship Contest 2021-2022 (Div. 1 + Div. 2) Editorial
13969 Backspace greedy strings two pointers Statement D Harbour.Space Scholarship Contest 2021-2022 (open for everyone, rated, Div. 1 + Div. 2) {1553} PROGRAMMING 1250.0 Harbour.Space Scholarship Contest 2021-2022 (Div. 1 + Div. 2) Editorial
12983 Cobb bitmasks brute force greedy math Statement B Codeforces Round 735 (Div. 2) {1554} PROGRAMMING 1250.0 Editorial of Codeforces Round #735 (Div. 2) 1700
9058 Mikasa binary search bitmasks greedy implementation Statement C Codeforces Round 735 (Div. 2) {1554} PROGRAMMING 1750.0 Editorial of Codeforces Round #735 (Div. 2) 1800
9676 Diane constructive algorithms greedy strings Statement D Codeforces Round 735 (Div. 2) {1554} PROGRAMMING 2000.0 Editorial of Codeforces Round #735 (Div. 2) 1800
1252 You dfs and similar dp math number theory Statement E Codeforces Round 735 (Div. 2) {1554} PROGRAMMING 3000.0 Editorial of Codeforces Round #735 (Div. 2) 2600
29741 Cherry greedy Statement A Codeforces Round 735 (Div. 2) {1554} PROGRAMMING 750.0 Editorial of Codeforces Round #735 (Div. 2) 800
16275 Two Tables brute force Statement B Educational Codeforces Round 112 (Rated for Div. 2) {1555} PROGRAMMING 93389 1300
22222 Coin Rows brute force constructive algorithms dp implementation Statement C Educational Codeforces Round 112 (Rated for Div. 2) {1555} PROGRAMMING 93389 1300
12790 Say No to Palindromes brute force dp strings Statement D Educational Codeforces Round 112 (Rated for Div. 2) {1555} PROGRAMMING 93389 1600
4110 Boring Segments binary search data structures sortings two pointers Statement E Educational Codeforces Round 112 (Rated for Div. 2) {1555} PROGRAMMING 93389 2100
880 Good Graph data structures ds graphs trees Statement F Educational Codeforces Round 112 (Rated for Div. 2) {1555} PROGRAMMING 93389 2700
28592 PizzaForces brute force math Statement A Educational Codeforces Round 112 (Rated for Div. 2) {1555} PROGRAMMING 93389 900
12819 Take Your Places! data structures implementation Statement B Deltix Round, Summer 2021 (open for everyone, rated, Div. 1 + Div. 2) {1556} PROGRAMMING 1000.0 94384 1300
7201 Take a Guess bitmasks constructive algorithms interactive math Statement D Deltix Round, Summer 2021 (open for everyone, rated, Div. 1 + Div. 2) {1556} PROGRAMMING 1500.0 94384 1800
5858 Compressed Bracket Sequence brute force implementation Statement C Deltix Round, Summer 2021 (open for everyone, rated, Div. 1 + Div. 2) {1556} PROGRAMMING 1500.0 94384 1800
2756 Equilibrium data structures greedy Statement E Deltix Round, Summer 2021 (open for everyone, rated, Div. 1 + Div. 2) {1556} PROGRAMMING 2000.0 94384 2200
1278 Sports Betting bitmasks combinatorics dp graphs math probabilities Statement F Deltix Round, Summer 2021 (open for everyone, rated, Div. 1 + Div. 2) {1556} PROGRAMMING 2500.0 94384 2500
350 Gates to Another World Statement G Deltix Round, Summer 2021 (open for everyone, rated, Div. 1 + Div. 2) {1556} PROGRAMMING 3000.0 94384 3300
378 DIY Tree graphs greedy math Statement H Deltix Round, Summer 2021 (open for everyone, rated, Div. 1 + Div. 2) {1556} PROGRAMMING 3500.0 94384 3300
18152 A Variety of Operations math Statement A Deltix Round, Summer 2021 (open for everyone, rated, Div. 1 + Div. 2) {1556} PROGRAMMING 500.0 94384 800
8768 Moamen and XOR bitmasks combinatorics dp math Statement C Codeforces Round 737 (Div. 2) {1557} PROGRAMMING 1750.0 Codeforces Round #737 Editorial
23672 Moamen and k-subarrays greedy sortings Statement B Codeforces Round 737 (Div. 2) {1557} PROGRAMMING 1000.0 Codeforces Round #737 Editorial
28142 Ezzat and Two Subsequences brute force math Statement A Codeforces Round 737 (Div. 2) {1557} PROGRAMMING 500.0 Codeforces Round #737 Editorial
2596 Ezzat and Grid data structures dp graphs greedy Statement D Codeforces Round 737 (Div. 2) {1557} PROGRAMMING 2500.0 Codeforces Round #737 Editorial
721 Assiut Chess brute force interactive probabilities two pointers Statement E Codeforces Round 737 (Div. 2) {1557} PROGRAMMING 3000.0 Codeforces Round #737 Editorial
11168 Charmed by the Game brute force math Statement A Codeforces Round 740 (Div. 1, based on VK Cup 2021 - Final (Engine)) {1558} PROGRAMMING 500.0 Codeforces Round #740 Editorial 1300
4875 Up the Strip brute force dp math number theory Statement B Codeforces Round 740 (Div. 1, based on VK Cup 2021 - Final (Engine)) {1558} PROGRAMMING 1250.0 Codeforces Round #740 Editorial 1900
3404 Bottom-Tier Reversals constructive algorithms greedy Statement C Codeforces Round 740 (Div. 1, based on VK Cup 2021 - Final (Engine)) {1558} PROGRAMMING 1500.0 Codeforces Round #740 Editorial 2000
999 Top-Notch Insertions combinatorics data structures Statement D Codeforces Round 740 (Div. 1, based on VK Cup 2021 - Final (Engine)) {1558} PROGRAMMING 2000.0 Codeforces Round #740 Editorial 2600
486 Down Below binary search dfs and similar graphs meet-in-the-middle shortest paths Statement E Codeforces Round 740 (Div. 1, based on VK Cup 2021 - Final (Engine)) {1558} PROGRAMMING 3000.0 Codeforces Round #740 Editorial 3000
400 Strange Sort data structures sortings Statement F Codeforces Round 740 (Div. 1, based on VK Cup 2021 - Final (Engine)) {1558} PROGRAMMING 3500.0 Codeforces Round #740 Editorial 3300
20881 Mocha and Hiking constructive algorithms graphs Statement C Codeforces Round 738 (Div. 2) {1559} PROGRAMMING 1000.0 Tutorial (en) 1200
14170 Mocha and Diana (Easy Version) brute force constructive algorithms ds graphs greedy trees Statement D1 Codeforces Round 738 (Div. 2) {1559} PROGRAMMING 1500.0 Tutorial (en) 1400
2360 Mocha and Stars combinatorics dp fft math number theory Statement E Codeforces Round 738 (Div. 2) {1559} PROGRAMMING 3000.0 Tutorial (en) 2200
2702 Mocha and Diana (Hard Version) brute force constructive algorithms dfs and similar ds graphs greedy trees two pointers Statement D2 Codeforces Round 738 (Div. 2) {1559} PROGRAMMING 1500.0 Tutorial (en) 2500
22804 Mocha and Red and Blue dp greedy Statement B Codeforces Round 738 (Div. 2) {1559} PROGRAMMING 750.0 Tutorial (en) 900
32957 Mocha and Math bitmasks constructive algorithms math Statement A Codeforces Round 738 (Div. 2) {1559} PROGRAMMING 500.0 Tutorial (en) 900
18444 Make a Power of Two greedy math strings Statement D Codeforces Round 739 (Div. 3) {1560} PROGRAMMING 94009 1300
8191 Polycarp and String Transformation binary search implementation sortings strings Statement E Codeforces Round 739 (Div. 3) {1560} PROGRAMMING 94009 1800
6260 Nearest Beautiful Number (easy version) binary search bitmasks brute force constructive algorithms dfs and similar greedy Statement F1 Codeforces Round 739 (Div. 3) {1560} PROGRAMMING 94009 1900
4494 Nearest Beautiful Number (hard version) bitmasks brute force constructive algorithms dfs and similar dp greedy Statement F2 Codeforces Round 739 (Div. 3) {1560} PROGRAMMING 94009 2100
36310 Who's Opposite? math Statement B Codeforces Round 739 (Div. 3) {1560} PROGRAMMING 94009 800
26890 Infinity Table implementation math Statement C Codeforces Round 739 (Div. 3) {1560} PROGRAMMING 94009 800
62409 Dislike of Threes implementation Statement A Codeforces Round 739 (Div. 3) {1560} PROGRAMMING 94009 800
15444 Deep Down Below binary search greedy sortings Statement C Codeforces Round 740 (Div. 2, based on VK Cup 2021 - Final (Engine)) {1561} PROGRAMMING 1250.0 Codeforces Round #740 Editorial 1300
5697 Up the Strip (simplified version) brute force data structures dp math number theory Statement D1 Codeforces Round 740 (Div. 2, based on VK Cup 2021 - Final (Engine)) {1561} PROGRAMMING 1500.0 Codeforces Round #740 Editorial 1700
16646 Simply Strange Sort brute force implementation sortings Statement A Codeforces Round 740 (Div. 2, based on VK Cup 2021 - Final (Engine)) {1561} PROGRAMMING 500.0 Codeforces Round #740 Editorial 800
2161 Two Hundred Twenty One (hard version) binary search constructive algorithms data structures dp math Statement D2 Codeforces Round 741 (Div. 2) {1562} PROGRAMMING 1250.0 Editorial of Codeforces Round 741 (Div. 2)
6412 Two Hundred Twenty One (easy version) constructive algorithms dp math Statement D1 Codeforces Round 741 (Div. 2) {1562} PROGRAMMING 1250.0 Editorial of Codeforces Round 741 (Div. 2)
410 Tubular Bells interactive math number theory probabilities Statement F Codeforces Round 741 (Div. 2) {1562} PROGRAMMING 3500.0 Editorial of Codeforces Round 741 (Div. 2)
25775 The Miracle and the Sleeper greedy math Statement A Codeforces Round 741 (Div. 2) {1562} PROGRAMMING 500.0 Editorial of Codeforces Round 741 (Div. 2)
19824 Scenes From a Memory brute force implementation math number theory Statement B Codeforces Round 741 (Div. 2) {1562} PROGRAMMING 1000.0 Editorial of Codeforces Round 741 (Div. 2)
13493 Rings constructive algorithms math Statement C Codeforces Round 741 (Div. 2) {1562} PROGRAMMING 1250.0 Editorial of Codeforces Round 741 (Div. 2)
1433 Rescue Niwen! dp string suffix structures strings Statement E Codeforces Round 741 (Div. 2) {1562} PROGRAMMING 2750.0 Editorial of Codeforces Round 741 (Div. 2)
130 Xor-quiz constructive algorithms dp interactive math number theory Statement H Codeforces Global Round 16 {1566} PROGRAMMING 3750.0 Codeforces Global Round 16 Editorial
7962 Seating Arrangements (hard version) data structures greedy implementation sortings two pointers Statement D2 Codeforces Global Round 16 {1566} PROGRAMMING 1000.0 Codeforces Global Round 16 Editorial
14128 Seating Arrangements (easy version) data structures greedy sortings Statement D1 Codeforces Global Round 16 {1566} PROGRAMMING 750.0 Codeforces Global Round 16 Editorial
967 Points Movement data structures dp Statement F Codeforces Global Round 16 {1566} PROGRAMMING 2500.0 Codeforces Global Round 16 Editorial
19946 MIN-MEX Cut bitmasks constructive algorithms dp Statement B Codeforces Global Round 16 {1566} PROGRAMMING 750.0 Codeforces Global Round 16 Editorial
23757 Median Maximization greedy math Statement A Codeforces Global Round 16 {1566} PROGRAMMING 500.0 Codeforces Global Round 16 Editorial
17854 MAX-MEX Cut bitmasks constructive algorithms dp greedy Statement C Codeforces Global Round 16 {1566} PROGRAMMING 1000.0 Codeforces Global Round 16 Editorial
345 Four Vertices constructive algorithms data structures graphs greedy implementation shortest paths Statement G Codeforces Global Round 16 {1566} PROGRAMMING 3000.0 Codeforces Global Round 16 Editorial
4221 Buds Re-hanging dfs and similar graphs greedy trees Statement E Codeforces Global Round 16 {1566} PROGRAMMING 2000.0 Codeforces Global Round 16 Editorial
761 One-Four Overload 2-sat constructive algorithms dfs and similar geometry graphs implementation Statement F Codeforces Round 742 (Div. 2) {1567} PROGRAMMING 2750.0 Codeforces Round #742 Editorial
3766 Non-Decreasing Dilemma data structures implementation Statement E Codeforces Round 742 (Div. 2) {1567} PROGRAMMING 2250.0 Codeforces Round #742 Editorial
24120 MEXor Mixup bitmasks greedy Statement B Codeforces Round 742 (Div. 2) {1567} PROGRAMMING 1000.0 Codeforces Round #742 Editorial
4573 Expression Evaluation Error constructive algorithms greedy implementation math Statement D Codeforces Round 742 (Div. 2) {1567} PROGRAMMING 1750.0 Codeforces Round #742 Editorial
30391 Domino Disaster implementation strings Statement A Codeforces Round 742 (Div. 2) {1567} PROGRAMMING 500.0 Codeforces Round #742 Editorial
12338 Carrying Conundrum bitmasks combinatorics dp Statement C Codeforces Round 742 (Div. 2) {1567} PROGRAMMING 1500.0 Codeforces Round #742 Editorial
818 Playoff Restoration bitmasks brute force hashing implementation meet-in-the-middle Statement E Educational Codeforces Round 113 (Rated for Div. 2) {1569} PROGRAMMING 94721
291 Palindromic Hamiltonian Path brute force dp graphs Statement F Educational Codeforces Round 113 (Rated for Div. 2) {1569} PROGRAMMING 94721
12247 Jury Meeting combinatorics math Statement C Educational Codeforces Round 113 (Rated for Div. 2) {1569} PROGRAMMING 94721
4430 Inconvenient Pairs data structures implementation sortings two pointers Statement D Educational Codeforces Round 113 (Rated for Div. 2) {1569} PROGRAMMING 94721
19048 Chess Tournament constructive algorithms Statement B Educational Codeforces Round 113 (Rated for Div. 2) {1569} PROGRAMMING 94721