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 ... 47 48 49 50 51 ... 100 101 102 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
863 Johnny Solving constructive algorithms dfs and similar graphs math Statement C Codeforces Round 534 (Div. 1) {1103} PROGRAMMING Codeforces Round #534 — Editorial 2800
421 Professional layer bitmasks dp Statement D Codeforces Round 534 (Div. 1) {1103} PROGRAMMING Codeforces Round #534 — Editorial 3000
239 Radix sum fft math number theory Statement E Codeforces Round 534 (Div. 1) {1103} PROGRAMMING Codeforces Round #534 — Editorial 3300
15206 Game with string data structures implementation math Statement B Codeforces Round 534 (Div. 2) {1104} PROGRAMMING Codeforces Round #534 — Editorial 1300
15500 Splitting into digits constructive algorithms implementation math Statement A Codeforces Round 534 (Div. 2) {1104} PROGRAMMING Codeforces Round #534 — Editorial 800
11060 Salem and Sticks brute force implementation Statement A Codeforces Round 533 (Div. 2) {1105} PROGRAMMING Tutorial 1100
9961 Zuhair and Strings brute force implementation strings Statement B Codeforces Round 533 (Div. 2) {1105} PROGRAMMING Tutorial 1200
10523 Ayoub and Lost Array combinatorics dp math Statement C Codeforces Round 533 (Div. 2) {1105} PROGRAMMING Tutorial 1500
4197 Kilani and the Game dfs and similar graphs implementation shortest paths Statement D Codeforces Round 533 (Div. 2) {1105} PROGRAMMING Tutorial 1900
1686 Helping Hiasat bitmasks brute force dp meet-in-the-middle Statement E Codeforces Round 533 (Div. 2) {1105} PROGRAMMING Tutorial 2200
14859 Lunar New Year and Number Division greedy implementation math sortings Statement C Codeforces Round 536 (Div. 2) {1106} PROGRAMMING Tutorial 1000
6803 Lunar New Year and Food Ordering data structures implementation Statement B Codeforces Round 536 (Div. 2) {1106} PROGRAMMING Tutorial 1500
15271 Lunar New Year and a Wander data structures dfs and similar graphs greedy shortest paths Statement D Codeforces Round 536 (Div. 2) {1106} PROGRAMMING Tutorial 1500
2606 Lunar New Year and Red Envelopes data structures dp Statement E Codeforces Round 536 (Div. 2) {1106} PROGRAMMING Tutorial 2100
1002 Lunar New Year and a Recursive Sequence math matrices number theory Statement F Codeforces Round 536 (Div. 2) {1106} PROGRAMMING Tutorial 2400
12405 Lunar New Year and Cross Counting implementation Statement A Codeforces Round 536 (Div. 2) {1106} PROGRAMMING Tutorial 800
12125 Digits Sequence Dividing greedy strings Statement A Educational Codeforces Round 59 (Rated for Div. 2) {1107} PROGRAMMING Educational Codeforces Round 59 Editorial 1000
16263 Digital root math number theory Statement B Educational Codeforces Round 59 (Rated for Div. 2) {1107} PROGRAMMING Educational Codeforces Round 59 Editorial 1100
10061 Brutality greedy sortings two pointers Statement C Educational Codeforces Round 59 (Rated for Div. 2) {1107} PROGRAMMING Educational Codeforces Round 59 Editorial 1300
3746 Compression dp implementation math number theory Statement D Educational Codeforces Round 59 (Rated for Div. 2) {1107} PROGRAMMING Educational Codeforces Round 59 Editorial 1800
1083 Vasya and Maximum Profit binary search constructive algorithms data structures dp ds Statement G Educational Codeforces Round 59 (Rated for Div. 2) {1107} PROGRAMMING Educational Codeforces Round 59 Editorial 2400
2376 Vasya and Binary String dp Statement E Educational Codeforces Round 59 (Rated for Div. 2) {1107} PROGRAMMING Educational Codeforces Round 59 Editorial 2400
822 Vasya and Endless Credits dp flows graph matchings graphs sortings Statement F Educational Codeforces Round 59 (Rated for Div. 2) {1107} PROGRAMMING Educational Codeforces Round 59 Editorial 2700
23504 Divisors of Two Integers brute force greedy math number theory Statement B Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 1100
12070 Nice Garland brute force greedy math Statement C Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 1300
15467 Diverse Garland constructive algorithms dp greedy Statement D Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 1400
4597 Array and Segments (Easy version) brute force greedy implementation Statement E1 Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 1800
3024 MST Unification binary search ds graphs greedy Statement F Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 2300
2242 Array and Segments (Hard version) data structures implementation Statement E2 Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 2300
22118 Two distinct points implementation Statement A Codeforces Round 535 (Div. 3) {1108} PROGRAMMING 64751 800
8584 Sasha and a Bit of Relax dp implementation Statement A Codeforces Round 539 (Div. 1) {1109} PROGRAMMING Codeforces Round #539 Editorial 1600
4386 Sasha and One More Name constructive algorithms hashing strings Statement B Codeforces Round 539 (Div. 1) {1109} PROGRAMMING Codeforces Round #539 Editorial 1800
1365 Sasha and Interesting Fact from Graph Theory brute force combinatorics dp math trees Statement D Codeforces Round 539 (Div. 1) {1109} PROGRAMMING Codeforces Round #539 Editorial 2600
558 Sasha and a Very Easy Test data structures number theory Statement E Codeforces Round 539 (Div. 1) {1109} PROGRAMMING Codeforces Round #539 Editorial 2700
264 Sasha and a Patient Friend binary search data structures implementation Statement C Codeforces Round 539 (Div. 1) {1109} PROGRAMMING Codeforces Round #539 Editorial 2800
303 Sasha and Algorithm of Silence's Sounds data structures trees Statement F Codeforces Round 539 (Div. 1) {1109} PROGRAMMING Codeforces Round #539 Editorial 3200
15220 Parity math Statement A Codeforces Global Round 1 {1110} PROGRAMMING The Editorial of the First Codeforces Global Round 1000
12110 Tape greedy sortings Statement B Codeforces Global Round 1 {1110} PROGRAMMING The Editorial of the First Codeforces Global Round 1400
9502 Meaningless Operations constructive algorithms math number theory Statement C Codeforces Global Round 1 {1110} PROGRAMMING The Editorial of the First Codeforces Global Round 1500
4239 Magic Stones constructive algorithms math sortings Statement E Codeforces Global Round 1 {1110} PROGRAMMING The Editorial of the First Codeforces Global Round 2200
3639 Jongmah dp Statement D Codeforces Global Round 1 {1110} PROGRAMMING The Editorial of the First Codeforces Global Round 2200
1799 Nearest Leaf data structures trees Statement F Codeforces Global Round 1 {1110} PROGRAMMING The Editorial of the First Codeforces Global Round 2600
634 Tree-Tac-Toe constructive algorithms games trees Statement G Codeforces Global Round 1 {1110} PROGRAMMING The Editorial of the First Codeforces Global Round 3000
301 Modest Substrings dp strings Statement H Codeforces Global Round 1 {1110} PROGRAMMING The Editorial of the First Codeforces Global Round 3500
17045 Superhero Transformation implementation strings Statement A CodeCraft-19 and Codeforces Round 537 (Div. 2) {1111} PROGRAMMING CodeCraft-19 and Codeforces Round #537 (Div. 2) Editorial 1000
6322 Average Superhero Gang Power brute force implementation math Statement B CodeCraft-19 and Codeforces Round 537 (Div. 2) {1111} PROGRAMMING CodeCraft-19 and Codeforces Round #537 (Div. 2) Editorial 1600
6362 Creative Snap binary search brute force divide and conquer math Statement C CodeCraft-19 and Codeforces Round 537 (Div. 2) {1111} PROGRAMMING CodeCraft-19 and Codeforces Round #537 (Div. 2) Editorial 1700
979 Destroy the Colony combinatorics dp math Statement D CodeCraft-19 and Codeforces Round 537 (Div. 2) {1111} PROGRAMMING CodeCraft-19 and Codeforces Round #537 (Div. 2) Editorial 2500
962 Tree data structures dfs and similar dp graphs trees Statement E CodeCraft-19 and Codeforces Round 537 (Div. 2) {1111} PROGRAMMING CodeCraft-19 and Codeforces Round #537 (Div. 2) Editorial 2800
7782 Sasha and Magnetic Machines greedy number theory Statement B Codeforces Round 539 (Div. 2) {1113} PROGRAMMING Codeforces Round #539 Editorial 1300
17488 Sasha and His Trip dp greedy math Statement A Codeforces Round 539 (Div. 2) {1113} PROGRAMMING Codeforces Round #539 Editorial 900
9043 Yet Another Array Partitioning Task constructive algorithms greedy sortings Statement B Codeforces Round 538 (Div. 2) {1114} PROGRAMMING Codeforces Round #538 (Div. 2) Editorial 1500
7464 Trailing Loves (or L'oeufs?) brute force implementation math number theory Statement C Codeforces Round 538 (Div. 2) {1114} PROGRAMMING Codeforces Round #538 (Div. 2) Editorial 1700
6960 Flood Fill dp Statement D Codeforces Round 538 (Div. 2) {1114} PROGRAMMING Codeforces Round #538 (Div. 2) Editorial 1900
2916 Arithmetic Progression binary search interactive number theory probabilities Statement E Codeforces Round 538 (Div. 2) {1114} PROGRAMMING Codeforces Round #538 (Div. 2) Editorial 2100
2056 Please, another Queries on Array? bitmasks data structures divide and conquer math number theory Statement F Codeforces Round 538 (Div. 2) {1114} PROGRAMMING Codeforces Round #538 (Div. 2) Editorial 2500
18989 Got Any Grapes? brute force greedy implementation Statement A Codeforces Round 538 (Div. 2) {1114} PROGRAMMING Codeforces Round #538 (Div. 2) Editorial 800
233 Palindrome checker oracle *special Statement G3 Microsoft Q# Coding Contest - Winter 2019 - Warmup {1115} PROGRAMMING Warmup editorial 2200
313 OR oracle *special Statement G2 Microsoft Q# Coding Contest - Winter 2019 - Warmup {1115} PROGRAMMING Warmup editorial 2200
236 Chessboard unitary *special Statement U2 Microsoft Q# Coding Contest - Winter 2019 - Warmup {1115} PROGRAMMING Warmup editorial 2200
198 Block unitary *special Statement U3 Microsoft Q# Coding Contest - Winter 2019 - Warmup {1115} PROGRAMMING Warmup editorial 2200
258 Anti-diagonal unitary *special Statement U1 Microsoft Q# Coding Contest - Winter 2019 - Warmup {1115} PROGRAMMING Warmup editorial 2200
391 AND oracle *special Statement G1 Microsoft Q# Coding Contest - Winter 2019 - Warmup {1115} PROGRAMMING Warmup editorial 2200
203 X-wing fighter Statement D3 Microsoft Q# Coding Contest - Winter 2019 {1116} PROGRAMMING Contest editorial
169 TIE fighter Statement D4 Microsoft Q# Coding Contest - Winter 2019 {1116} PROGRAMMING Contest editorial
233 Pattern of increasing blocks Statement D2 Microsoft Q# Coding Contest - Winter 2019 {1116} PROGRAMMING Contest editorial
59 Not A, not B or not C? Statement B2 Microsoft Q# Coding Contest - Winter 2019 {1116} PROGRAMMING Contest editorial
184 "Is the number of ones divisible by 3?" oracle Statement C3 Microsoft Q# Coding Contest - Winter 2019 {1116} PROGRAMMING Contest editorial
186 "Is the bit string periodic?" oracle Statement C2 Microsoft Q# Coding Contest - Winter 2019 {1116} PROGRAMMING Contest editorial
79 Hessenberg matrix Statement D6 Microsoft Q# Coding Contest - Winter 2019 {1116} PROGRAMMING Contest editorial
323 Generate state |00⟩ + |01⟩ + |10⟩ Statement A1 Microsoft Q# Coding Contest - Winter 2019 {1116} PROGRAMMING Contest editorial
180 Generate equal superposition of four basis states Statement A2 Microsoft Q# Coding Contest - Winter 2019 {1116} PROGRAMMING Contest editorial
133 Distinguish three-qubit states Statement B1 Microsoft Q# Coding Contest - Winter 2019 {1116} PROGRAMMING Contest editorial
149 Creeper Statement D5 Microsoft Q# Coding Contest - Winter 2019 {1116} PROGRAMMING Contest editorial
275 Block diagonal matrix Statement D1 Microsoft Q# Coding Contest - Winter 2019 {1116} PROGRAMMING Contest editorial
264 Alternating bits oracle Statement C1 Microsoft Q# Coding Contest - Winter 2019 {1116} PROGRAMMING Contest editorial
14649 Emotes greedy math sortings Statement B Educational Codeforces Round 60 (Rated for Div. 2) {1117} PROGRAMMING 65365 1000
11067 Best Subsegment implementation math Statement A Educational Codeforces Round 60 (Rated for Div. 2) {1117} PROGRAMMING 65365 1100
7391 Magic Ship binary search Statement C Educational Codeforces Round 60 (Rated for Div. 2) {1117} PROGRAMMING 65365 1800
4428 Magic Gems dp math matrices Statement D Educational Codeforces Round 60 (Rated for Div. 2) {1117} PROGRAMMING 65365 2000
1546 Decypher the String bitmasks chinese remainder theorem constructive algorithms interactive math Statement E Educational Codeforces Round 60 (Rated for Div. 2) {1117} PROGRAMMING 65365 2200
723 Recursive Queries data structures Statement G Educational Codeforces Round 60 (Rated for Div. 2) {1117} PROGRAMMING 65365 2500
600 Crisp String bitmasks dp Statement F Educational Codeforces Round 60 (Rated for Div. 2) {1117} PROGRAMMING 65365 2600
12367 Tanya and Candies implementation Statement B Codeforces Round 540 (Div. 3) {1118} PROGRAMMING 65396 1300
5829 Palindromic Matrix constructive algorithms implementation Statement C Codeforces Round 540 (Div. 3) {1118} PROGRAMMING 65396 1700
6071 Tree Cutting (Easy Version) dfs and similar trees Statement F1 Codeforces Round 540 (Div. 3) {1118} PROGRAMMING 65396 1800
5738 Coffee and Coursework (Easy version) brute force greedy Statement D1 Codeforces Round 540 (Div. 3) {1118} PROGRAMMING 65396 1800
6397 Coffee and Coursework (Hard Version) binary search greedy Statement D2 Codeforces Round 540 (Div. 3) {1118} PROGRAMMING 65396 1900
4246 Yet Another Ball Problem constructive algorithms implementation Statement E Codeforces Round 540 (Div. 3) {1118} PROGRAMMING 65396 2000
552 Tree Cutting (Hard Version) combinatorics dfs and similar dp trees Statement F2 Codeforces Round 540 (Div. 3) {1118} PROGRAMMING 65396 2700
20307 Water Buying math Statement A Codeforces Round 540 (Div. 3) {1118} PROGRAMMING 65396 800
10917 Ilya and a Colorful Walk greedy implementation Statement A Codeforces Global Round 2 {1119} PROGRAMMING Codeforces Global Round 2 Editorial 1100
11601 Alyona and a Narrow Fridge binary search flows greedy sortings Statement B Codeforces Global Round 2 {1119} PROGRAMMING Codeforces Global Round 2 Editorial 1300
6897 Ramesses and Corner Inversion constructive algorithms greedy implementation math Statement C Codeforces Global Round 2 {1119} PROGRAMMING Codeforces Global Round 2 Editorial 1500
4899 Frets On Fire binary search sortings Statement D Codeforces Global Round 2 {1119} PROGRAMMING Codeforces Global Round 2 Editorial 1700
5123 Pavel and Triangles brute force dp fft greedy ternary search Statement E Codeforces Global Round 2 {1119} PROGRAMMING Codeforces Global Round 2 Editorial 1900
740 Niyaz and Small Degrees data structures dp trees Statement F Codeforces Global Round 2 {1119} PROGRAMMING Codeforces Global Round 2 Editorial 2900
511 Get Ready for the Battle constructive algorithms implementation Statement G Codeforces Global Round 2 {1119} PROGRAMMING Codeforces Global Round 2 Editorial 3000
589 Triple fft math Statement H Codeforces Global Round 2 {1119} PROGRAMMING Codeforces Global Round 2 Editorial 3100
1657 Diana and Liana greedy implementation two pointers Statement A Codeforces Round 543 (Div. 1, based on Technocup 2019 Final Round) {1120} PROGRAMMING Разбор задач финала Технокубка 2019 и Codeforces Round #543 2200