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 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
13935 Increasing Sequence constructive algorithms implementation math Statement A Codeforces Beta Round 11 {11} PROGRAMMING 1100
3485 Party constructive algorithms graphs math Statement B Codeforces Beta Round 23 {23} PROGRAMMING Codeforces Beta Round #23 tutorial 1600
4141 Find Color constructive algorithms geometry implementation math Statement A Codeforces Beta Round 39 {40} PROGRAMMING codeforces #39 1300
420 Strange town constructive algorithms math Statement D Codeforces Beta Round 41 {42} PROGRAMMING Solution of task е, Codeforces beta round #41 2300
1740 Disposition constructive algorithms math Statement C Codeforces Beta Round 46 (Div. 2) {49} PROGRAMMING 1700
421 Tetris revisited constructive algorithms graph matchings greedy math Statement B Yandex.Algorithm 2011: Round 2 {86} PROGRAMMING Problemset analysis (Yandex, Round 2) 2100
98787 Insomnia cure constructive algorithms implementation math Statement A Codeforces Round 105 (Div. 2) {148} PROGRAMMING Codeforces Round #105 (Div. 2): editorial 900
2575 Mathematical Analysis Rocks! constructive algorithms implementation math Statement F Codeforces Round 116 (Div. 2, ACM-ICPC Rules) {180} PROGRAMMING 1300
568 Headquarters constructive algorithms math Statement A Croc Champ 2012 - Final {183} PROGRAMMING 1900
6494 Plate Game constructive algorithms games math Statement A Codeforces Round 124 (Div. 2) {197} PROGRAMMING Разбор задач 1600
3038 Clear Symmetry constructive algorithms dp math Statement A Codeforces Round 127 (Div. 1) {201} PROGRAMMING Разбор задач 1700
425 Pixels constructive algorithms math Statement B VK Cup 2012 Finals, Practice Session {209} PROGRAMMING 2200
2067 Not Wool Sequences constructive algorithms math Statement A Codeforces Round 148 (Div. 1) {238} PROGRAMMING Editorial for Codeforces Round #148 1700
786 Maxim and Matrix constructive algorithms dp math Statement C Codeforces Round 160 (Div. 1) {261} PROGRAMMING Codeforces Round #160 tutorial 2300
1378 Below the Diagonal constructive algorithms greedy math Statement C Codeforces Round 163 (Div. 2) {266} PROGRAMMING 2000
9615 XOR and OR constructive algorithms implementation math Statement C Codeforces Round 173 (Div. 2) {282} PROGRAMMING Round #173 — Editorial 1600
3220 Lucky Permutation constructive algorithms math Statement A Codeforces Round 176 (Div. 1) {286} PROGRAMMING Tutorial 1600
846 Ladies' Shop constructive algorithms fft math Statement E Codeforces Round 176 (Div. 1) {286} PROGRAMMING Tutorial 2600
8130 Lucky Permutation Triple constructive algorithms implementation math Statement A Codeforces Round 183 (Div. 1) {303} PROGRAMMING Codeforces Round #183 Editorial 1400
8252 Permutation constructive algorithms dp math Statement B Codeforces Round 209 (Div. 2) {359} PROGRAMMING 1400
6621 Valera and Contest constructive algorithms implementation math Statement B Codeforces Round 216 (Div. 2) {369} PROGRAMMING Editorial Codeforces Round #216 (Div. 2) 1500
762 On Corruption and Numbers constructive algorithms implementation math Statement B Codeforces Round 232 (Div. 2) {397} PROGRAMMING 1000.0
101 Flow Optimality constructive algorithms flows math Statement E MemSQL Start[c]UP 2.0 - Round 2 {457} PROGRAMMING 3200
8083 24 Game constructive algorithms greedy math Statement A Codeforces Round 268 (Div. 1) {468} PROGRAMMING 13896 1600
4778 Dreamoon and Sets constructive algorithms greedy math Statement D Codeforces Round 272 (Div. 2) {476} PROGRAMMING Editorial 2000
9811 Vasya and Chess constructive algorithms games math Statement D Codeforces Round 281 (Div. 2) {493} PROGRAMMING 1700
5860 New Year Book Reading constructive algorithms greedy implementation math Statement C Good Bye 2014 {500} PROGRAMMING 1600
771 Restoring Numbers constructive algorithms math Statement D Codeforces Round 289 (Div. 2, ACM ICPC Rules) {509} PROGRAMMING 2400
20866 Game constructive algorithms math Statement A Rockethon 2015 {513} PROGRAMMING 16260 900
12517 Exam constructive algorithms implementation math Statement A Codeforces Round 298 (Div. 2) {534} PROGRAMMING 1100
1184 Idempotent functions constructive algorithms graphs math Statement C VK Cup 2015 - Round 3 (unofficial online mirror, Div. 1 only) {542} PROGRAMMING 17697 2000
1405 Brackets in Implications constructive algorithms greedy implementation math Statement E Codeforces Round 306 (Div. 2) {550} PROGRAMMING 2300
16385 Simple Game constructive algorithms games greedy implementation math Statement B Codeforces Round 316 (Div. 2) {570} PROGRAMMING Codeforces Round #316 Editorial 1300
1440 Anton and Ira constructive algorithms greedy math Statement E Codeforces Round 324 (Div. 2) {584} PROGRAMMING Tutorial 2400
287 Beautiful Function constructive algorithms math Statement C Codeforces Round 329 (Div. 2) {593} PROGRAMMING 2700
1029 Necklace constructive algorithms math Statement C Codeforces Round 339 (Div. 1) {613} PROGRAMMING Tutorial 2800
644 Finals in arithmetic constructive algorithms implementation math Statement D Codeforces Round 342 (Div. 2) {625} PROGRAMMING 2400
6692 Cards constructive algorithms dp math Statement B 8VC Venture Cup 2016 - Elimination Round {626} PROGRAMMING 23522 1300
563 Ants on a Circle constructive algorithms math Statement F Educational Codeforces Round 10 {652} PROGRAMMING Editorial of Educational Codeforces Round 10 2800
1643 International Olympiad constructive algorithms greedy implementation math Statement D CROC 2016 - Final Round [Private, For Onsite Finalists Only] {662} PROGRAMMING Editorial for CROC 2016 Finals and Codeforces Round #347 2000
3534 Rebus constructive algorithms expression parsing greedy math Statement A Codeforces Round 347 (Div. 1) {663} PROGRAMMING Editorial for CROC 2016 Finals and Codeforces Round #347 1800
13833 Bear and Prime 100 constructive algorithms interactive math Statement A Codeforces Round 356 (Div. 1) {679} PROGRAMMING 1400
33539 Lovely Palindromes constructive algorithms math Statement B Codeforces Round 360 (Div. 2) {688} PROGRAMMING Codeforces Round #360 Editorial [+ Challenges!] 1000
3332 Recover the String constructive algorithms greedy implementation math Statement B AIM Tech Round 3 (Div. 1) {708} PROGRAMMING Editorial 1900
5226 Magic Odd Square constructive algorithms math Statement C Educational Codeforces Round 16 {710} PROGRAMMING Editorial of Educational Codeforces Round 16 1600
5692 Plus and Square Root constructive algorithms math Statement A Codeforces Round 372 (Div. 1) {715} PROGRAMMING 1600
2378 Maxim and Array constructive algorithms data structures greedy math Statement D Codeforces Round 374 (Div. 2) {721} PROGRAMMING Codeforces Round #374 (Div. 2) Editorial 2000
7847 Guess the Array constructive algorithms interactive math Statement C Technocup 2017 - Elimination Round 1 (Unofficially Open for Everyone, Rated for Div. 2) {727} PROGRAMMING Tutorial 1400
3866 Sea Battle constructive algorithms greedy math Statement D Technocup 2017 - Elimination Round 2 {729} PROGRAMMING 1700
189 Chess Championship constructive algorithms flows greedy math Statement E Codeforces Round 382 (Div. 1) {736} PROGRAMMING 2800
71 Dirty plates constructive algorithms math Statement F Codeforces Round 380 (Div. 1, Rated, Based on Technocup 2017 - Elimination Round 2) {737} PROGRAMMING 3300
5186 Green and Black Tea constructive algorithms greedy math Statement D Codeforces Round 386 (Div. 2) {746} PROGRAMMING Codeforces Round #386 (Div.2) Editorial 1500
3769 Tram constructive algorithms implementation math Statement C Codeforces Round 386 (Div. 2) {746} PROGRAMMING 1600
4685 Santa Claus and Robot constructive algorithms math Statement C Technocup 2017 - Elimination Round 3 {748} PROGRAMMING Codeforces Round 389 (Div.2) Editorial 1400
2523 Artsem and Saunders constructive algorithms ds math Statement D Codeforces Round 397 by Kaspersky Lab and Barcelona Bootcamp (Div. 1 + Div. 2 combined) {765} PROGRAMMING Codeforces Round #397 Editorial 1700
10430 Shell Game constructive algorithms implementation math Statement A Codeforces Round 401 (Div. 2) {777} PROGRAMMING Problem analysis of Codeforces Round #401 (Div. 2) 1100
9424 Pupils Redistribution constructive algorithms math Statement A Codeforces Round 402 (Div. 2) {779} PROGRAMMING Codeforces Round #402, Editorial 1100
5318 Maximal GCD constructive algorithms greedy math Statement C Educational Codeforces Round 20 {803} PROGRAMMING 51768 2000
15737 Find Amir constructive algorithms greedy math Statement A Codeforces Round 411 (Div. 1) {804} PROGRAMMING Codeforces Round #411 Editorial 1100
5317 Mister B and Angle in Polygon constructive algorithms geometry math Statement B Codeforces Round 421 (Div. 2) {820} PROGRAMMING Codeforces Round #421 Editorial 1300
399 Tournament Construction constructive algorithms dp graphs greedy math Statement D Codeforces Round 432 (Div. 1, based on IndiaHacks Final Round 2017) {850} PROGRAMMING Codeforces Round #432 editorial 2700
8327 Maxim Buys an Apartment constructive algorithms math Statement B Codeforces Round 433 (Div. 2, based on Olympiad of Metropolises) {854} PROGRAMMING 1200
4437 Marco and GCD Sequence constructive algorithms math Statement C Codeforces Round 447 (Div. 2) {894} PROGRAMMING 1800
8658 Dividing the numbers constructive algorithms graphs math Statement C Codeforces Round 452 (Div. 2) {899} PROGRAMMING Codeforces Round #452 (Div.2) Editorial 1300
2997 Shovel Sale constructive algorithms math Statement D Codeforces Round 452 (Div. 2) {899} PROGRAMMING Codeforces Round #452 (Div.2) Editorial 1800
10416 Splitting in Teams constructive algorithms greedy math Statement A Codeforces Round 452 (Div. 2) {899} PROGRAMMING Codeforces Round #452 (Div.2) Editorial 900
1593 GCD of Polynomials constructive algorithms math Statement B Codeforces Round 453 (Div. 1) {901} PROGRAMMING 2100
6540 Segments constructive algorithms math Statement B Codeforces Round 455 (Div. 2) {909} PROGRAMMING Codeforces Round #455 (Div. 2) Editorial 1300
1889 Minimum Sum constructive algorithms greedy math Statement C Testing Round 14 (Unrated) {910} PROGRAMMING 1700
1328 Big Secret constructive algorithms math Statement C VK Cup 2018 - Round 3 {925} PROGRAMMING Разбор VK 2018 Round 3 + Codeforces Round #477 2200
3750 A Leapfrog in the Array constructive algorithms math Statement B Codeforces Round 469 (Div. 1) {949} PROGRAMMING 1700
9633 Sonya and Exhibition constructive algorithms greedy implementation math Statement B Codeforces Round 495 (Div. 2) {1004} PROGRAMMING 60443 1400
4795 Vasya And The Matrix constructive algorithms flows math Statement D Educational Codeforces Round 48 (Rated for Div. 2) {1016} PROGRAMMING Разбор Educational Codeforces Round 48 1800
770 Company Acquisitions constructive algorithms math Statement G Codeforces Round 505 (rated, Div. 1 + Div. 2, based on VK Cup 2018 Final) {1025} PROGRAMMING Codeforces Round #505 Editorial 3100
9536 Unnatural Conditions constructive algorithms math Statement B AIM Tech Round 5 (rated, Div. 1 + Div. 2) {1028} PROGRAMMING 61493 1300
11359 Packets constructive algorithms greedy math Statement A Manthan, Codefest 18 (rated, Div. 1 + Div. 2) {1037} PROGRAMMING Tutorial 1300
13962 Non-Coprime Partition constructive algorithms math Statement B Codeforces Round 508 (Div. 2) {1038} PROGRAMMING Tutorial 1100
800 Timetable constructive algorithms data structures greedy math Statement A Codeforces Round 507 (Div. 1, based on Olympiad of Metropolises) {1039} PROGRAMMING 61668 2400
4793 Array Product constructive algorithms greedy math Statement C Codeforces Round 510 (Div. 2) {1042} PROGRAMMING Tutorial 1700
497 Chips Puzzle constructive algorithms implementation math Statement E Mail.Ru Cup 2018 Round 1 {1054} PROGRAMMING Editorial 2400
309 New Road Network constructive algorithms greedy math Statement G Mail.Ru Cup 2018 Round 1 {1054} PROGRAMMING Editorial 2900
7270 Sequence Transformation constructive algorithms math Statement C Codeforces Round 514 (Div. 2) {1059} PROGRAMMING Codeforces Round #514 (Div. 2) Editorial 1500
369 Lasers and Mirrors constructive algorithms math Statement E Codeforces Round 516 (Div. 1, by Moscow Team Olympiad) {1063} PROGRAMMING Editorial 3000
1589 Olya and magical square constructive algorithms implementation math Statement D Codeforces Round 524 (Div. 2) {1080} PROGRAMMING Codeforces Round #524 (Div. 2) Editorial 2000
12331 Definite Game constructive algorithms math Statement A Avito Cool Challenge 2018 {1081} PROGRAMMING 63888 800
8290 Ehab and a 2-operation task constructive algorithms greedy math Statement C Codeforces Round 525 (Div. 2) {1088} PROGRAMMING Codeforces round #525 editorial 1400
894 Johnny Solving constructive algorithms dfs and similar graphs math Statement C Codeforces Round 534 (Div. 1) {1103} PROGRAMMING Codeforces Round #534 — Editorial 2800
15573 Splitting into digits constructive algorithms implementation math Statement A Codeforces Round 534 (Div. 2) {1104} PROGRAMMING Codeforces Round #534 — Editorial 800
6934 Ramesses and Corner Inversion constructive algorithms greedy implementation math Statement C Codeforces Global Round 2 {1119} PROGRAMMING Codeforces Global Round 2 Editorial 1500
438 Once in a casino constructive algorithms greedy implementation math Statement B Codeforces Round 543 (Div. 1, based on Technocup 2019 Final Round) {1120} PROGRAMMING Разбор задач финала Технокубка 2019 и Codeforces Round #543 2700
11857 Nastya Is Playing Computer Games constructive algorithms math Statement B Codeforces Round 546 (Div. 2) {1136} PROGRAMMING Editorial of Round #546(Div.2) 1000
5433 Problem for Nazar constructive algorithms math Statement C Codeforces Round 553 (Div. 2) {1151} PROGRAMMING Codeforces Round #553 (Div. 2) Editorial 1700
3845 N Problems During K Days constructive algorithms greedy math Statement D Codeforces Round 555 (Div. 3) {1157} PROGRAMMING 66737 2100
861 Winding polygonal line constructive algorithms geometry greedy math Statement D Codeforces Round 559 (Div. 1) {1158} PROGRAMMING 66993 2800
394 Xor Permutations constructive algorithms math Statement E Codeforces Round 562 (Div. 1) {1168} PROGRAMMING Codeforces Round #562 — Editorial 3100
9065 Vus the Cossack and Numbers constructive algorithms greedy math Statement D Codeforces Round 571 (Div. 2) {1186} PROGRAMMING E 1600
17004 Odd Sum Segments constructive algorithms math Statement B Codeforces Round 575 (Div. 3) {1196} PROGRAMMING Editorial 1200
14389 Almost Equal constructive algorithms greedy math Statement A Codeforces Round 580 (Div. 1) {1205} PROGRAMMING 69158 1300
129 Beauty of a Permutation constructive algorithms math Statement F Codeforces Round 580 (Div. 1) {1205} PROGRAMMING 69158 3400
1386 Running in Pairs constructive algorithms greedy math Statement G Codeforces Round 592 (Div. 2) {1244} PROGRAMMING Codeforces Round #592 (Div. 2) Tutorial 2500