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']
Solved |
Name |
Tags |
Solutions |
Index |
Contest |
Type |
Points |
Tutorial |
Rating Level |
---|---|---|---|---|---|---|---|---|---|
15066 | Cyclic Permutations | combinatorics graphs math | Statement | C | Codeforces Round 663 (Div. 2) {1391} | PROGRAMMING | 1250.0 | Codeforces Round #663 (Div. 2) Editorial | |
843 | 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 | |
18583 | Two Round Dances | combinatorics math | Statement | E | Codeforces Round 677 (Div. 3) {1433} | PROGRAMMING | Codeforces Round #677 (Div. 3) Editorial | ||
1316 | Emotional Fishermen | combinatorics dp math | Statement | F | Educational Codeforces Round 97 (Rated for Div. 2) {1437} | PROGRAMMING | 84149 | ||
6333 | 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 | |
439 | Multithreading (Easy Version) | combinatorics fft math | Statement | H1 | Codeforces Global Round 12 {1450} | PROGRAMMING | 2750.0 | Codeforces Global Round 12 Editorial | |
219 | Multithreading (Hard Version) | combinatorics implementation math | Statement | H2 | Codeforces Global Round 12 {1450} | PROGRAMMING | 1750.0 | Codeforces Global Round 12 Editorial | |
8017 | Radio Towers | combinatorics dp math | Statement | D | Educational Codeforces Round 98 (Rated for Div. 2) {1452} | PROGRAMMING | 84847 | ||
3709 | Sum of Paths | combinatorics dp math | Statement | D | Codeforces Round 695 (Div. 2) {1467} | PROGRAMMING | 1750.0 | Codeforces Round #695 (Div. 2) Editorial | 2200 |
400 | Tiles | combinatorics dp fft math | Statement | G | Educational Codeforces Round 102 (Rated for Div. 2) {1473} | PROGRAMMING | Educational Codeforces Round 102 Editorial | ||
21426 | Ball in Berland | combinatorics dfs and similar graphs hashing math | Statement | C | Codeforces Round 697 (Div. 3) {1475} | PROGRAMMING | Codeforces Round #697 (Div. 3) Editorial | ||
601 | String Counting | combinatorics dp math | Statement | G | Educational Codeforces Round 104 (Rated for Div. 2) {1487} | PROGRAMMING | 87873 | ||
714 | 2-Coloring | combinatorics dp math | Statement | E | Codeforces Round 712 (Div. 1) {1503} | PROGRAMMING | 2500.0 | T | 3100 |
2613 | Colorings and Dominoes | combinatorics dp math | Statement | E | Educational Codeforces Round 107 (Rated for Div. 2) {1511} | PROGRAMMING | 89634 | ||
3630 | Phoenix and Computers | combinatorics dp math | Statement | E | Codeforces Global Round 14 {1515} | PROGRAMMING | 2750.0 | Editorial | |
883 | Baby Ehab Plays with Permutations | combinatorics dp math | Statement | E | Codeforces Round 717 (Div. 2) {1516} | PROGRAMMING | 2750.0 | Codeforces round #717 editorial | |
289 | AmShZ Farm | combinatorics fft math | Statement | F | Codeforces Round 722 (Div. 1) {1528} | PROGRAMMING | 3000.0 | Codeforces Round #722 Editorial | |
12878 | Little Alawn's Puzzle | combinatorics dfs and similar dp ds graphs math | Statement | C | Codeforces LATOKEN Round 1 (Div. 1 + Div. 2) {1534} | PROGRAMMING | 1250.0 | Codeforces LATOKEN Round 1 (Div. 1 + Div. 2) Editorial | |
963 | Omkar and Akmar | combinatorics games math | Statement | F | Codeforces Round 724 (Div. 2) {1536} | PROGRAMMING | 2500.0 | Codeforces Round #724 — Editorial | 2600 |
20195 | Contest Start | combinatorics geometry math | Statement | A | Codeforces Round 727 (Div. 2) {1539} | PROGRAMMING | 500.0 | tutorial | 1000 |
1254 | Abnormal Permutation Pairs (easy version) | combinatorics dp fft math | Statement | E1 | Codeforces Round 729 (Div. 2) {1542} | PROGRAMMING | 2000.0 | ||
2654 | Priority Queue | combinatorics dp implementation math | Statement | D | Codeforces Round 729 (Div. 2) {1542} | PROGRAMMING | 2000.0 | ||
866 | Abnormal Permutation Pairs (hard version) | combinatorics dp math | Statement | E2 | Codeforces Round 729 (Div. 2) {1542} | PROGRAMMING | 1000.0 | ||
23225 | Customising the Track | combinatorics greedy math | Statement | B | Codeforces Round 730 (Div. 2) {1543} | PROGRAMMING | 750.0 | Codeforces Round #730 (Div. 2) Editorial | |
6001 | AquaMoon and Chess | combinatorics math | Statement | B | Codeforces Round 732 (Div. 1) {1545} | PROGRAMMING | 1000.0 | Codeforces Round #732 Editorial | 1900 |
1841 | The Three Little Pigs | combinatorics dp fft math | Statement | C | Codeforces Round 736 (Div. 1) {1548} | PROGRAMMING | 1750.0 | Codeforces Round 736 Editorial | |
205 | 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 | |
12097 | Jury Meeting | combinatorics math | Statement | C | Educational Codeforces Round 113 (Rated for Div. 2) {1569} | PROGRAMMING | 94721 | ||
17358 | Combinatorics Homework | combinatorics greedy math | Statement | B | Educational Codeforces Round 114 (Rated for Div. 2) {1574} | PROGRAMMING | 95188 | ||
20879 | Luntik and Subsequences | combinatorics math | Statement | B | Codeforces Round 750 (Div. 2) {1582} | PROGRAMMING | 750.0 | Codeforces Round #750 (Div.2) Editorial | |
1256 | Non-equal Neighbours | combinatorics dp math | Statement | F | Technocup 2022 - Elimination Round 3 {1585} | PROGRAMMING | 3000.0 | Codeforces Round #759 (Div. 2, based on Technocup 2022 Elimination Round 3) Editorial | |
204 | Omkar and Mosaic | combinatorics constructive algorithms math | Statement | I | Codeforces Round 749 (Div. 1 + Div. 2, based on Technocup 2022 Elimination Round 1) {1586} | PROGRAMMING | 4000.0 | Editorial for Technocup 2022 — Elimination Round 1 and Codeforces Round #749 (Div. 1+Div. 2) | |
336 | Non-equal Neighbours | combinatorics data structures dp math | Statement | F | Codeforces Round 759 (Div. 2, based on Technocup 2022 Elimination Round 3) {1591} | PROGRAMMING | 3000.0 | Codeforces Round #759 (Div. 2, based on Technocup 2022 Elimination Round 3) Editorial | |
11239 | Rubik's Cube Coloring (easy version) | combinatorics math | Statement | E1 | Codeforces Round 747 (Div. 2) {1594} | PROGRAMMING | 1000.0 | 95525 | 1300 |
8774 | Training Session | combinatorics math | Statement | D | Educational Codeforces Round 115 (Rated for Div. 2) {1598} | PROGRAMMING | 95890 | ||
283 | October 18, 2017 | combinatorics dp implementation math | Statement | F | Codeforces Round 752 (Div. 1) {1603} | PROGRAMMING | 3750.0 | Editorial of Codeforces Round #752 | |
1400 | Dominoes | combinatorics fft graphs math | Statement | D | Codeforces Round 758 (Div.1 + Div. 2) {1608} | PROGRAMMING | 1500.0 | Editorial of Codeforces Round #758 (Div.1 + Div. 2) | |
894 | LEGOndary Grandmaster | combinatorics dp math | Statement | F | Codeforces Global Round 18 {1615} | PROGRAMMING | 3000.0 | Global Round 18 Editorial | |
79 | Three Minimums | combinatorics fft math | Statement | H | Codeforces Round 778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round) {1654} | PROGRAMMING | 4000.0 | Editorial of Codeforces Round #778 (Div. 1 + Div. 2, based on Technocup 2022 Final Round) | 3500 |
2131 | Star MST | combinatorics dp math | Statement | E | Educational Codeforces Round 125 (Rated for Div. 2) {1657} | PROGRAMMING | 101161 | ||
18656 | Marin and Anti-coprime Permutation | combinatorics math | Statement | B | Codeforces Round 779 (Div. 2) {1658} | PROGRAMMING | 1000.0 | Codeforces Round #779 (Div. 2) Editorial | |
670 | Centroid Probabilities | combinatorics dp fft math | Statement | E | Codeforces Round 783 (Div. 1) {1667} | PROGRAMMING | 2750.0 | Codeforces Round #783 Editorial | 3000 |
26530 | Dictionary | combinatorics math | Statement | B | Codeforces Round 786 (Div. 3) {1674} | PROGRAMMING | 102482 | ||
4102 | Placing Jinas | combinatorics math | Statement | E | Codeforces Global Round 21 {1696} | PROGRAMMING | 2000.0 | Editorial of Codeforces Global Round 21 | |
186 | Game of AI (easy version) | combinatorics fft math | Statement | H1 | CodeTON Round 2 (Div. 1 + Div. 2, Rated, Prizes!) {1704} | PROGRAMMING | 2250.0 | CodeTON Round 2 Editorial | |
93 | Game of AI (hard version) | combinatorics fft math | Statement | H2 | CodeTON Round 2 (Div. 1 + Div. 2, Rated, Prizes!) {1704} | PROGRAMMING | 2750.0 | CodeTON Round 2 Editorial | |
4432 | Madoka and The Corruption Scheme | combinatorics math | Statement | D | Codeforces Round 818 (Div. 2) {1717} | PROGRAMMING | 2000.0 | Codeforces Round #818 (Div. 2) Editorial. | 1900 |
1434 | Almost Perfect | combinatorics fft math | Statement | E | Codeforces Round 819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 {1726} | PROGRAMMING | 2250.0 | Codeforces Round #819 (Div. 1 + Div. 2) and Grimoire of Code Annual Contest 2022 Editorial | |
820 | Conditional Mix | combinatorics dp math | Statement | F | Codeforces Round 831 (Div. 1 + Div. 2) {1740} | PROGRAMMING | 2500.0 | Tutorial | 2600 |
525 | List Generation | combinatorics math | Statement | E | Codeforces Round 832 (Div. 2) {1747} | PROGRAMMING | 2500.0 | Codeforces Round #832 (Div. 2) Editorial | |
83 | Anti-median (Hard Version) | combinatorics dp math | Statement | F2 | Pinely Round 1 (Div. 1 + Div. 2) {1761} | PROGRAMMING | 2000.0 | Pinely Round 1 (Div. 1 + Div. 2) Editorial | |
2077 | Valid Bitonic Permutations | combinatorics dp implementation math | Statement | D | Codeforces Round 840 (Div. 2) and Enigma 2022 - Cybros LNMIIT {1763} | PROGRAMMING | 2000.0 | Codeforces Round #840 (Div. 2) and Enigma 2022 — Cybros LNMIIT Editorial | |
2793 | Doremy's Pegging Game | combinatorics geometry math | Statement | D | Codeforces Global Round 24 {1764} | PROGRAMMING | 1750.0 | Codeforces Global Round 24 Editorial | |
8652 | Serval and Toxel's Arrays | combinatorics implementation math | Statement | C | Codeforces Round 853 (Div. 2) {1789} | PROGRAMMING | 1250.0 | Codeforces Round #853 (Div. 2) Editorial | |
9303 | Triangle Coloring | combinatorics math | Statement | D | Educational Codeforces Round 143 (Rated for Div. 2) {1795} | PROGRAMMING | 112963 | ||
795 | Count Voting | combinatorics dp math | Statement | G | Codeforces Round 854 by cybercats (Div. 1 + Div. 2) {1799} | PROGRAMMING | 3000.0 | Codeforces Round #854 Editorial | |
939 | DSU Master | combinatorics dp ds math | Statement | D | Codeforces Round 858 (Div. 2) {1806} | PROGRAMMING | 2000.0 | Codeforces Round #858 (Div. 2) Editorial | |
2103 | Vlad and the Nice Paths (easy version) | combinatorics dp math | Statement | G1 | Codeforces Round 863 (Div. 3) {1811} | PROGRAMMING | 114788 | ||
763 | Timber | combinatorics dp fft math | Statement | F | Educational Codeforces Round 147 (Rated for Div. 2) {1821} | PROGRAMMING | 115296 | ||
19961 | Matching | combinatorics math | Statement | A | Educational Codeforces Round 147 (Rated for Div. 2) {1821} | PROGRAMMING | 115296 | ||
16211 | A-characteristic | combinatorics constructive algorithms math | Statement | A | Codeforces Round 868 (Div. 2) {1823} | PROGRAMMING | 500.0 | 115465 | |
1499 | Count Supersequences | combinatorics dp math | Statement | E | Codeforces Round 877 (Div. 2) {1838} | PROGRAMMING | 2250.0 | Codeforces Round #877 (Div. 2) Editorial | |
139 | Multiple of Three Cycles | combinatorics dp ds math | Statement | H | Codeforces Round 884 (Div. 1 + Div. 2) {1844} | PROGRAMMING | 4000.0 | Codeforces Round #884 (Div. 1 + Div. 2) Editorial | |
1008 | One-X | combinatorics dp math | Statement | E | Codeforces Round 915 (Div. 2) {1905} | PROGRAMMING | 2250.0 | Codeforces Round 915 (Div. 2) Editorial | |
119 | Short Permutation Problem | combinatorics dp fft math | Statement | I | Pinely Round 3 (Div. 1 + Div. 2) {1909} | PROGRAMMING | 6000.0 | Editorial of Pinely Round 3 (Div. 1 + Div. 2) | |
1848 | Small Permutation Problem (Easy Version) | combinatorics dp math | Statement | F1 | Pinely Round 3 (Div. 1 + Div. 2) {1909} | PROGRAMMING | 1500.0 | Editorial of Pinely Round 3 (Div. 1 + Div. 2) | |
951 | Small Permutation Problem (Hard Version) | combinatorics dp math | Statement | F2 | Pinely Round 3 (Div. 1 + Div. 2) {1909} | PROGRAMMING | 1500.0 | Editorial of Pinely Round 3 (Div. 1 + Div. 2) | |
1085 | Blueprint for Seating | combinatorics divide and conquer fft math | Statement | B | 2023-2024 ICPC, NERC, Northern Eurasia Onsite (Unrated, Online Mirror, ICPC Rules, Teams Preferred) {1912} | PROGRAMMING | Tutorials (PDF) | 2000 | |
860 | Counting Prefixes | combinatorics dp math | Statement | E | Hello 2024 {1919} | PROGRAMMING | 2250.0 | 2600 | |
20812 | Forming Triangles | combinatorics implementation math | Statement | B | Educational Codeforces Round 161 (Rated for Div. 2) {1922} | PROGRAMMING | Educational Codeforces Round 161 Editorial | ||
1016 | Balanced Subsequences | combinatorics dp math | Statement | D | Codeforces Round 921 (Div. 1) {1924} | PROGRAMMING | 1750.0 | Codeforces Round 921 (Div. 1, Div. 2) Editorial | |
244 | Digital Patterns | combinatorics data structures implementation math | Statement | F | Codeforces Round 924 (Div. 2) {1928} | PROGRAMMING | 2750.0 | Codeforces Round 924 Editorial | |
1149 | 2..3...4.... Wonderful! Wonderful! | combinatorics math | Statement | E | think-cell Round 1 {1930} | PROGRAMMING | 2500.0 | think-cell Round 1 Editorial | |
19235 | Divisible Pairs | combinatorics data structures hashing math | Statement | D | Codeforces Round 925 (Div. 3) {1931} | PROGRAMMING | 125878 | ||
1693 | Farm Game | combinatorics games math | Statement | E | CodeTON Round 8 (Div. 1 + Div. 2, Rated, Prizes!) {1942} | PROGRAMMING | 2500.0 | CodeTON Round 8 Editorial | |
453 | Bessie and Cards | combinatorics math | Statement | G | CodeTON Round 8 (Div. 1 + Div. 2, Rated, Prizes!) {1942} | PROGRAMMING | 3000.0 | CodeTON Round 8 Editorial | |
258 | Sweep Line | combinatorics games math | Statement | E | April Fools Day Contest 2024 {1952} | PROGRAMMING | April Fools Day Contest 2024 Editorial | ||
255 | Unique Strings | combinatorics dp math | Statement | F | Educational Codeforces Round 164 (Rated for Div. 2) {1954} | PROGRAMMING | Educational Codeforces Round 164 Editorial | ||
9715 | How Does the Rook Move? | combinatorics dp math | Statement | C | Codeforces Round 940 (Div. 2) and CodeCraft-23 {1957} | PROGRAMMING | 1500.0 | Codeforces Round #940 and CodeCraft-23 (Div. 2) Editorial | 1600 |
216 | Again Counting Arrays (Easy Version) | combinatorics dp fft math | Statement | E1 | Codeforces Round 942 (Div. 1) {1967} | PROGRAMMING | 1750.0 | Tutorial | 3100 |
103 | Again Counting Arrays (Hard Version) | combinatorics dp math | Statement | E2 | Codeforces Round 942 (Div. 1) {1967} | PROGRAMMING | 1000.0 | Tutorial | 3500 |
208 | Heartbeat | combinatorics dp fft math | Statement | F | Codeforces Round 958 (Div. 2) {1988} | PROGRAMMING | 3500.0 | Editorial of Codeforces Round 958 (Div. 2) | |
10346 | Expected Median | combinatorics math | Statement | F | Codeforces Round 964 (Div. 4) {1999} | PROGRAMMING | |||
13224 | Photoshoot for Gorillas | combinatorics data structures greedy math | Statement | E | Codeforces Round 966 (Div. 3) {2000} | PROGRAMMING | |||
208 | Speedbreaker Counting (Easy Version) | combinatorics dp games greedy implementation math | Statement | F1 | Codeforces Round 975 (Div. 1) {2018} | PROGRAMMING | 1500.0 | ||
1727 | Card Game | combinatorics dp fft greedy math | Statement | E | Educational Codeforces Round 170 (Rated for Div. 2) {2025} | PROGRAMMING | |||
16302 | Binomial Coefficients, Kind Of | combinatorics math | Statement | B | Educational Codeforces Round 170 (Rated for Div. 2) {2025} | PROGRAMMING | |||
144 | The Destruction of the Universe (Easy Version) | combinatorics math | Statement | G1 | Codeforces Round 979 (Div. 2) {2030} | PROGRAMMING | 3000.0 | ||
233 | Peanuts | combinatorics dp games math | Statement | F | Codeforces Round 983 (Div. 2) {2032} | PROGRAMMING | 3000.0 |