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 ... 91 92 93 94 95 ... 100 101 102 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
61017 Odd One Out bitmasks implementation Statement A Codeforces Round 918 (Div. 4) {1915} PROGRAMMING 123952
43827 Not Quite Latin Square brute force implementation Statement B Codeforces Round 918 (Div. 4) {1915} PROGRAMMING 123952
14841 Greetings data structures divide and conquer sortings Statement F Codeforces Round 918 (Div. 4) {1915} PROGRAMMING 123952
44877 Can I Square? implementation Statement C Codeforces Round 918 (Div. 4) {1915} PROGRAMMING 123952
6841 Bicycles dp graphs greedy implementation shortest paths sortings Statement G Codeforces Round 918 (Div. 4) {1915} PROGRAMMING 123952
27137 Two Divisors constructive algorithms math number theory Statement B Good Bye 2023 {1916} PROGRAMMING 750.0
18467 Training Before the Olympiad constructive algorithms games implementation math Statement C Good Bye 2023 {1916} PROGRAMMING 1250.0
151 Optimizations From Chelsu divide and conquer dp number theory trees Statement G Good Bye 2023 {1916} PROGRAMMING 3750.0
551 Matrix Rank (Hard Version) combinatorics dp math matrices Statement H2 Good Bye 2023 {1916} PROGRAMMING 1750.0
630 Matrix Rank (Easy Version) brute force combinatorics dp math matrices Statement H1 Good Bye 2023 {1916} PROGRAMMING 2750.0
8873 Mathematical Problem brute force constructive algorithms implementation math strings Statement D Good Bye 2023 {1916} PROGRAMMING 1500.0
2321 Happy Life in University brute force data structures dfs and similar dp implementation trees Statement E Good Bye 2023 {1916} PROGRAMMING 2000.0
512 Group Division constructive algorithms dfs and similar graphs Statement F Good Bye 2023 {1916} PROGRAMMING 2750.0
26767 2023 constructive algorithms implementation math number theory Statement A Good Bye 2023 {1916} PROGRAMMING 250.0
1840 Yet Another Inversions Problem bitmasks combinatorics data structures math Statement D Codeforces Round 917 (Div. 2) {1917} PROGRAMMING 2250.0 Editorial of Codeforces Round 917 (Div. 2)
10865 Watering an Array brute force greedy implementation math Statement C Codeforces Round 917 (Div. 2) {1917} PROGRAMMING 1500.0 Editorial of Codeforces Round 917 (Div. 2)
25870 Least Product constructive algorithms math Statement A Codeforces Round 917 (Div. 2) {1917} PROGRAMMING 500.0 Editorial of Codeforces Round 917 (Div. 2)
23846 Erase First or Second Letter brute force combinatorics dp strings Statement B Codeforces Round 917 (Div. 2) {1917} PROGRAMMING 1000.0 Editorial of Codeforces Round 917 (Div. 2)
991 Construct Tree bitmasks constructive algorithms dp trees Statement F Codeforces Round 917 (Div. 2) {1917} PROGRAMMING 3000.0 Editorial of Codeforces Round 917 (Div. 2)
1425 Construct Matrix constructive algorithms math Statement E Codeforces Round 917 (Div. 2) {1917} PROGRAMMING 2500.0 Editorial of Codeforces Round 917 (Div. 2)
14557 XOR-distance bitmasks dp greedy implementation math Statement C Codeforces Round 922 (Div. 2) {1918} PROGRAMMING 1250.0 Codeforces Round #922 (Div. 2) Editorial
489 Permutation of Given brute force constructive algorithms Statement G Codeforces Round 922 (Div. 2) {1918} PROGRAMMING 3250.0 Codeforces Round #922 (Div. 2) Editorial
24507 Minimize Inversions constructive algorithms data structures greedy implementation sortings Statement B Codeforces Round 922 (Div. 2) {1918} PROGRAMMING 1000.0 Codeforces Round #922 (Div. 2) Editorial
928 Caterpillar on a Tree binary search dfs and similar graphs greedy implementation trees Statement F Codeforces Round 922 (Div. 2) {1918} PROGRAMMING 3000.0 Codeforces Round #922 (Div. 2) Editorial
30718 Brick Wall constructive algorithms greedy implementation math Statement A Codeforces Round 922 (Div. 2) {1918} PROGRAMMING 500.0 Codeforces Round #922 (Div. 2) Editorial
4993 Blocking Elements binary search data structures dp greedy implementation two pointers Statement D Codeforces Round 922 (Div. 2) {1918} PROGRAMMING 2000.0 Codeforces Round #922 (Div. 2) Editorial
1794 ace5 and Task Order binary search divide and conquer implementation interactive probabilities sortings Statement E Codeforces Round 922 (Div. 2) {1918} PROGRAMMING 2500.0 Codeforces Round #922 (Div. 2) Editorial
20264 Grouping Increases data structures dp greedy Statement C Hello 2024 {1919} PROGRAMMING 1000.0 1400
4011 01 Tree data structures divide and conquer greedy implementation sortings trees Statement D Hello 2024 {1919} PROGRAMMING 1500.0 2100
2249 Wine Factory (Easy Version) data structures flows schedules trees Statement F1 Hello 2024 {1919} PROGRAMMING 1500.0 2300
901 Counting Prefixes combinatorics dp math Statement E Hello 2024 {1919} PROGRAMMING 2250.0 2600
890 Wine Factory (Hard Version) data structures flows Statement F2 Hello 2024 {1919} PROGRAMMING 1500.0 2800
185 Tree LGM constructive algorithms games trees Statement G Hello 2024 {1919} PROGRAMMING 4000.0 3500
151 Tree Diameter interactive trees Statement H Hello 2024 {1919} PROGRAMMING 5000.0 3500
34095 Wallet Exchange games math Statement A Hello 2024 {1919} PROGRAMMING 250.0 800
30279 Plus-Minus Split greedy Statement B Hello 2024 {1919} PROGRAMMING 500.0 800
21402 Summation Game dp games greedy sortings Statement B Codeforces Round 919 (Div. 2) {1920} PROGRAMMING 1000.0 Editorial for Codeforces Round #919 (Div. 2)
545 Smooth Sailing (Hard Version) binary search data structures ds graphs trees Statement F2 Codeforces Round 919 (Div. 2) {1920} PROGRAMMING 2500.0 Editorial for Codeforces Round #919 (Div. 2)
1036 Smooth Sailing (Easy Version) binary search data structures dfs and similar ds graphs Statement F1 Codeforces Round 919 (Div. 2) {1920} PROGRAMMING 2500.0 Editorial for Codeforces Round #919 (Div. 2)
28176 Satisfying Constraints brute force greedy math schedules Statement A Codeforces Round 919 (Div. 2) {1920} PROGRAMMING 500.0 Editorial for Codeforces Round #919 (Div. 2)
14492 Partitioning the Array brute force number theory Statement C Codeforces Round 919 (Div. 2) {1920} PROGRAMMING 1500.0 Editorial for Codeforces Round #919 (Div. 2)
2810 Counting Binary Strings combinatorics dp math strings Statement E Codeforces Round 919 (Div. 2) {1920} PROGRAMMING 2250.0 Editorial for Codeforces Round #919 (Div. 2)
5769 Array Repetition binary search data structures dp implementation math Statement D Codeforces Round 919 (Div. 2) {1920} PROGRAMMING 2000.0 Editorial for Codeforces Round #919 (Div. 2)
22211 Very Different Array greedy sortings two pointers Statement D Codeforces Round 920 (Div. 3) {1921} PROGRAMMING Editorial for Codeforces Round 920 (Div. 3)
4039 Sum of Progression brute force data structures implementation math Statement F Codeforces Round 920 (Div. 3) {1921} PROGRAMMING Editorial for Codeforces Round 920 (Div. 3)
44465 Square greedy math Statement A Codeforces Round 920 (Div. 3) {1921} PROGRAMMING Editorial for Codeforces Round 920 (Div. 3)
30042 Sending Messages greedy math Statement C Codeforces Round 920 (Div. 3) {1921} PROGRAMMING Editorial for Codeforces Round 920 (Div. 3)
1277 Mischievous Shooter data structures divide and conquer dp implementation Statement G Codeforces Round 920 (Div. 3) {1921} PROGRAMMING Editorial for Codeforces Round 920 (Div. 3)
10129 Eat the Chip brute force games greedy Statement E Codeforces Round 920 (Div. 3) {1921} PROGRAMMING Editorial for Codeforces Round 920 (Div. 3)
34292 Arranging Cats greedy implementation Statement B Codeforces Round 920 (Div. 3) {1921} PROGRAMMING Editorial for Codeforces Round 920 (Div. 3)
27471 Tricky Template constructive algorithms implementation strings Statement A Educational Codeforces Round 161 (Rated for Div. 2) {1922} PROGRAMMING Educational Codeforces Round 161 Editorial
1458 Replace on Segment dp Statement F Educational Codeforces Round 161 (Rated for Div. 2) {1922} PROGRAMMING Educational Codeforces Round 161 Editorial
7965 Increasing Subsequences bitmasks constructive algorithms math Statement E Educational Codeforces Round 161 (Rated for Div. 2) {1922} PROGRAMMING Educational Codeforces Round 161 Editorial
21273 Forming Triangles combinatorics implementation math Statement B Educational Codeforces Round 161 (Rated for Div. 2) {1922} PROGRAMMING Educational Codeforces Round 161 Editorial
19175 Closest Cities greedy Statement C Educational Codeforces Round 161 (Rated for Div. 2) {1922} PROGRAMMING Educational Codeforces Round 161 Editorial
5891 Berserk Monsters data structures dfs and similar greedy implementation Statement D Educational Codeforces Round 161 (Rated for Div. 2) {1922} PROGRAMMING Educational Codeforces Round 161 Editorial
7121 Slimes binary search data structures greedy Statement D Educational Codeforces Round 162 (Rated for Div. 2) {1923} PROGRAMMING Educational Codeforces Round 162 Editorial
388 Shrink-Reverse binary search greedy string suffix structures strings Statement F Educational Codeforces Round 162 (Rated for Div. 2) {1923} PROGRAMMING Educational Codeforces Round 162 Editorial
25069 Moving Chips greedy implementation Statement A Educational Codeforces Round 162 (Rated for Div. 2) {1923} PROGRAMMING Educational Codeforces Round 162 Editorial
18165 Monsters Attack! dp greedy implementation Statement B Educational Codeforces Round 162 (Rated for Div. 2) {1923} PROGRAMMING Educational Codeforces Round 162 Editorial
15848 Find B constructive algorithms data structures greedy Statement C Educational Codeforces Round 162 (Rated for Div. 2) {1923} PROGRAMMING Educational Codeforces Round 162 Editorial
4088 Count Paths data structures dfs and similar divide and conquer dp ds trees Statement E Educational Codeforces Round 162 (Rated for Div. 2) {1923} PROGRAMMING Educational Codeforces Round 162 Editorial
2662 Space Harbour brute force data structures implementation math sortings Statement B Codeforces Round 921 (Div. 1) {1924} PROGRAMMING 1000.0 Codeforces Round 921 (Div. 1, Div. 2) Editorial
445 Paper Cutting Again combinatorics probabilities Statement E Codeforces Round 921 (Div. 1) {1924} PROGRAMMING 2500.0 Codeforces Round 921 (Div. 1, Div. 2) Editorial
1191 Fractal Origami combinatorics geometry math matrices Statement C Codeforces Round 921 (Div. 1) {1924} PROGRAMMING 1500.0 Codeforces Round 921 (Div. 1, Div. 2) Editorial
14482 Did We Get Everything Covered? constructive algorithms dp greedy strings Statement A Codeforces Round 921 (Div. 1) {1924} PROGRAMMING 500.0 Codeforces Round 921 (Div. 1, Div. 2) Editorial
1068 Balanced Subsequences combinatorics dp math Statement D Codeforces Round 921 (Div. 1) {1924} PROGRAMMING 1750.0 Codeforces Round 921 (Div. 1, Div. 2) Editorial
158 Anti-Proxy Attendance constructive algorithms interactive ternary search Statement F Codeforces Round 921 (Div. 1) {1924} PROGRAMMING 3000.0 Codeforces Round 921 (Div. 1, Div. 2) Editorial
29369 We Got Everything Covered! constructive algorithms greedy strings Statement A Codeforces Round 921 (Div. 2) {1925} PROGRAMMING 500.0 Codeforces Round 921 (Div. 1, Div. 2) Editorial
3781 Good Trip combinatorics dp math probabilities Statement D Codeforces Round 921 (Div. 2) {1925} PROGRAMMING 1750.0 Codeforces Round 921 (Div. 1, Div. 2) Editorial
20683 A Balanced Problemset? brute force greedy math number theory Statement B Codeforces Round 921 (Div. 2) {1925} PROGRAMMING 1000.0 Codeforces Round 921 (Div. 1, Div. 2) Editorial
3766 Vlad and Trouble at MIT dfs and similar dp flows graphs greedy implementation trees Statement G Codeforces Round 928 (Div. 4) {1926} PROGRAMMING 126132
50871 Vlad and the Best of Five implementation Statement A Codeforces Round 928 (Div. 4) {1926} PROGRAMMING 126132
33425 Vlad and Shapes implementation Statement B Codeforces Round 928 (Div. 4) {1926} PROGRAMMING 126132
16121 Vlad and Division bitmasks greedy Statement D Codeforces Round 928 (Div. 4) {1926} PROGRAMMING 126132
1775 Vlad and Avoiding X bitmasks brute force constructive algorithms dfs and similar dp implementation Statement F Codeforces Round 928 (Div. 4) {1926} PROGRAMMING 126132
27882 Vlad and a Sum of Sum of Digits dp implementation Statement C Codeforces Round 928 (Div. 4) {1926} PROGRAMMING 126132
12621 Vlad and an Odd Ordering binary search bitmasks data structures dp implementation math number theory Statement E Codeforces Round 928 (Div. 4) {1926} PROGRAMMING 126132
1745 Paint Charges data structures dp greedy math Statement G Codeforces Round 923 (Div. 3) {1927} PROGRAMMING 125597
4572 Microcycle data structures dfs and similar ds graphs greedy trees Statement F Codeforces Round 923 (Div. 3) {1927} PROGRAMMING 125597
44784 Make it White greedy strings Statement A Codeforces Round 923 (Div. 3) {1927} PROGRAMMING 125597
14586 Klever Permutation constructive algorithms math Statement E Codeforces Round 923 (Div. 3) {1927} PROGRAMMING 125597
34278 Following the String constructive algorithms greedy strings Statement B Codeforces Round 923 (Div. 3) {1927} PROGRAMMING 125597
22868 Find the Different Ones! binary search brute force data structures dp greedy two pointers Statement D Codeforces Round 923 (Div. 3) {1927} PROGRAMMING 125597
28708 Choose the Different Ones! brute force greedy math Statement C Codeforces Round 923 (Div. 3) {1927} PROGRAMMING 125597
23104 Rectangle Cutting constructive algorithms geometry greedy math Statement A Codeforces Round 924 (Div. 2) {1928} PROGRAMMING 500.0 Codeforces Round 924 Editorial
8920 Physical Education Lesson brute force math number theory Statement C Codeforces Round 924 (Div. 2) {1928} PROGRAMMING 1500.0 Codeforces Round 924 Editorial
1779 Modular Sequence constructive algorithms dp greedy implementation math number theory Statement E Codeforces Round 924 (Div. 2) {1928} PROGRAMMING 2250.0 Codeforces Round 924 Editorial
4455 Lonely Mountain Dungeons binary search brute force data structures greedy math ternary search Statement D Codeforces Round 924 (Div. 2) {1928} PROGRAMMING 1750.0 Codeforces Round 924 Editorial
18224 Equalize binary search greedy sortings two pointers Statement B Codeforces Round 924 (Div. 2) {1928} PROGRAMMING 1000.0 Codeforces Round 924 Editorial
275 Digital Patterns combinatorics data structures implementation math Statement F Codeforces Round 924 (Div. 2) {1928} PROGRAMMING 2750.0 Codeforces Round 924 Editorial
1841 Sasha and the Wedding Binary Search Tree combinatorics dfs and similar math sortings trees Statement F Codeforces Round 926 (Div. 2) {1929} PROGRAMMING 3000.0 Codeforces Round #926 (Div. 2) Editorial.
1755 Sasha and the Happy Tree Cutting bitmasks brute force dp fft graphs greedy trees Statement E Codeforces Round 926 (Div. 2) {1929} PROGRAMMING 2500.0 Codeforces Round #926 (Div. 2) Editorial.
25626 Sasha and the Drawing constructive algorithms greedy math Statement B Codeforces Round 926 (Div. 2) {1929} PROGRAMMING 1000.0 Codeforces Round #926 (Div. 2) Editorial.
15461 Sasha and the Casino binary search brute force dp games greedy math Statement C Codeforces Round 926 (Div. 2) {1929} PROGRAMMING 1500.0 Codeforces Round #926 (Div. 2) Editorial.
32267 Sasha and the Beautiful Array constructive algorithms greedy sortings Statement A Codeforces Round 926 (Div. 2) {1929} PROGRAMMING 500.0 Codeforces Round #926 (Div. 2) Editorial.
4969 Sasha and a Walk in the City combinatorics dfs and similar dp math trees Statement D Codeforces Round 926 (Div. 2) {1929} PROGRAMMING 2000.0 Codeforces Round #926 (Div. 2) Editorial.
2728 Sum over all Substrings (Hard Version) dp greedy strings Statement D2 think-cell Round 1 {1930} PROGRAMMING 1000.0 think-cell Round 1 Editorial
4271 Sum over all Substrings (Easy Version) brute force dp greedy strings Statement D1 think-cell Round 1 {1930} PROGRAMMING 1250.0 think-cell Round 1 Editorial
364 Prefix Max Set Counting data structures trees Statement G think-cell Round 1 {1930} PROGRAMMING 3500.0 think-cell Round 1 Editorial