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

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
724 Mushroom Strife brute force dfs and similar Statement C Codeforces Beta Round 56 {60} PROGRAMMING Solutions for Codeforces Beta Round #56 2100
546 Visit of the Great math number theory Statement D Codeforces Round 118 (Div. 1) {185} PROGRAMMING Tutorial 2600
529 LCM *special implementation math Statement C Surprise Language Round 6 {188} PROGRAMMING Surprise Language Round #6: editorial 1400
21587 LCM Challenge number theory Statement A Codeforces Round 146 (Div. 1) {235} PROGRAMMING Codeforces Round #146 Tutorial 1600
2026 Little Elephant and LCM binary search combinatorics dp math Statement C Codeforces Round 157 (Div. 1) {258} PROGRAMMING Codeforces Round #157 — Editorial 2400
4741 Longest Subsequence brute force math number theory Statement D Educational Codeforces Round 9 {632} PROGRAMMING 43493 2200
6831 Nastya Studies Informatics math number theory Statement B Codeforces Round 489 (Div. 2) {992} PROGRAMMING 60083 1700
364 Appropriate Team bitmasks math number theory Statement G Educational Codeforces Round 48 (Rated for Div. 2) {1016} PROGRAMMING Разбор Educational Codeforces Round 48 2800
13335 LCM math number theory Statement B Codeforces Round 518 (Div. 2) [Thanks, Mail.Ru!] {1068} PROGRAMMING E 1200
3409 Minimum Possible LCM brute force greedy math number theory Statement G Codeforces Round 552 (Div. 3) {1154} PROGRAMMING Codeforces Round #552 (Div. 3) Editorial 2400
3046 The LCMs Must be Large bitmasks brute force constructive algorithms math number theory Statement E Codeforces Round 561 (Div. 2) {1166} PROGRAMMING Codeforces Round #561 (Div. 2) Editorial 2000
29003 Fadi and LCM brute force math number theory Statement C Codeforces Round 613 (Div. 2) {1285} PROGRAMMING Codeforces Round #613 (Div. 2) Editorial 1400
1402 Classical? binary search combinatorics number theory Statement F Codeforces Round 613 (Div. 2) {1285} PROGRAMMING Codeforces Round #613 (Div. 2) Editorial 2800
47329 EhAb AnD gCd constructive algorithms greedy number theory Statement A Codeforces Round 628 (Div. 2) {1325} PROGRAMMING 500.0 74235 800
22679 Orac and LCM data structures math number theory Statement A Codeforces Round 641 (Div. 1) {1349} PROGRAMMING 500.0 Codeforces Round #641 Editorial 1600
38354 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
51755 LCM Problem constructive algorithms greedy math number theory Statement A Educational Codeforces Round 92 (Rated for Div. 2) {1389} PROGRAMMING 80809
1429 Boring Queries data structures number theory trees Statement F Codeforces Round 675 (Div. 2) {1422} PROGRAMMING 2750.0 Codeforces Round #675 (Div. 2) Editorial
6842 Strange Definition bitmasks brute force data structures graphs math number theory Statement B Codeforces Round 694 (Div. 1) {1470} PROGRAMMING 750.0 86464
35641 String LCM brute force math strings Statement B Educational Codeforces Round 102 (Rated for Div. 2) {1473} PROGRAMMING Educational Codeforces Round 102 Editorial
29732 k-LCM (easy version) constructive algorithms math Statement C1 Codeforces Round 708 (Div. 2) {1497} PROGRAMMING 750.0 Codeforces Round #708 Editorial 1200
19847 k-LCM (hard version) constructive algorithms math Statement C2 Codeforces Round 708 (Div. 2) {1497} PROGRAMMING 500.0 Codeforces Round #708 Editorial 1600
7319 The Number of Pairs math number theory Statement D Educational Codeforces Round 106 (Rated for Div. 2) {1499} PROGRAMMING Educational Codeforces Round 106 Editorial
5371 Cut binary search data structures graphs number theory Statement D Codeforces Round 717 (Div. 2) {1516} PROGRAMMING 2000.0 Codeforces round #717 editorial
479 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)
839 Equal LCM Subsets math number theory Statement H CodeTON Round 1 (Div. 1 + Div. 2, Rated, Prizes!) {1656} PROGRAMMING 3750.0 Tutorial
26759 GCD vs LCM constructive algorithms math Statement A Codeforces Round 781 (Div. 2) {1665} PROGRAMMING 500.0 Codeforces Round #781 (Div. 2) Editorial
326 Become Big For Me combinatorics constructive algorithms math number theory Statement E Codeforces Round 796 (Div. 1) {1687} PROGRAMMING 2000.0 Editorial of Codeforces Round 796
2548 LCM Sum (easy version) binary search brute force combinatorics math number theory two pointers Statement E1 Codeforces Round 813 (Div. 2) {1712} PROGRAMMING 2000.0 Codeforces Round #813 (Div. 2) Editorial
1694 LCM Sum (hard version) combinatorics data structures math number theory two pointers Statement E2 Codeforces Round 813 (Div. 2) {1712} PROGRAMMING 750.0 Codeforces Round #813 (Div. 2) Editorial
22479 Woeful Permutation constructive algorithms greedy number theory Statement B Codeforces Round 813 (Div. 2) {1712} PROGRAMMING 1000.0 Codeforces Round #813 (Div. 2) Editorial
3612 Madoka and The Best University brute force math number theory Statement E Codeforces Round 818 (Div. 2) {1717} PROGRAMMING 2000.0 Codeforces Round #818 (Div. 2) Editorial. 2200
21194 Madoka and Strange Thoughts math number theory Statement A Codeforces Round 818 (Div. 2) {1717} PROGRAMMING 500.0 Codeforces Round #818 (Div. 2) Editorial. 800
607 Location data structures dp Statement E Codeforces Round 830 (Div. 2) {1732} PROGRAMMING 3000.0 108327 2800
35449 Minimum LCM math Statement M 2022-2023 ICPC, NERC, Southern and Volga Russian Regional Contest (Online Mirror, ICPC Rules, Preferably Teams) {1765} PROGRAMMING 109642 1000
2902 MEX of LCM binary search brute force data structures implementation math number theory two pointers Statement E Codeforces Round 879 (Div. 2) {1834} PROGRAMMING 2500.0 Codeforces Round #879 Editorial
9467 Battling with Numbers combinatorics math number theory Statement B COMPFEST 15 - Preliminary Online Mirror (Unrated, ICPC Rules, Teams Preferred) {1866} PROGRAMMING COMPFEST 15 Preliminary — Editorial
403 Weird LCM Operations brute force constructive algorithms Statement E Codeforces Round 931 (Div. 2) {1934} PROGRAMMING 3250.0 Tutorial
8211 Nikita and LCM brute force data structures dp greedy math number theory sortings Statement C Codeforces Round 948 (Div. 2) {1977} PROGRAMMING 1750.0 129858 1900
90 Shohag Loves Pebae Statement G CodeTON Round 9 (Div. 1 + Div. 2, Rated, Prizes!) {2039} PROGRAMMING 4250.0 Editorial of CodeTON Round 9 (Div. 1 + Div. 2)
6570 Skibidus and Capping divide and conquer math number theory Statement G Codeforces Round 1003 (Div. 4) {2065} PROGRAMMING Video Tutorial
20314 Interesting Ratio brute force math number theory two pointers Statement E Codeforces Round 1013 (Div. 3) {2091} PROGRAMMING Codeforces Round 1013 (Div. 3) Editorial
3040 LCM is Legendary Counting Master dp math number theory Statement E Hello 2026 {2183} PROGRAMMING 2250.0
1027 Elections in Saransk (hard version) combinatorics dp fft math number theory Statement F2 Codeforces Round 1103 (Div. 3) {2236} PROGRAMMING 154496
5077 Elections in Saransk (easy version) number theory Statement F1 Codeforces Round 1103 (Div. 3) {2236} PROGRAMMING 154496
16177 Crimson Triples math number theory Statement B Codeforces Round 1106 (Div. 2) {2238} PROGRAMMING 750.0 Codeforces Round 1106 (Div. 2) Editorial