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

< 1 2 3 4 5 >

Solved
Name
Tags
Solutions
Index
Contest
Type
Points
Tutorial
Rating Level
1020 Hostname Aliases *special binary search data structures implementation sortings strings Statement C CROC 2016 - Qualification {644} PROGRAMMING 2300
356 Собачки и миски greedy sortings Statement D Технокубок 2016 - Отборочный Раунд 1 {648} PROGRAMMING 2000.0 Разбор задач Технокубок 2016 — Отборочный Раунд 1 1900
2198 Собери стол constructive algorithms sortings Statement B Технокубок 2016 - Отборочный Раунд 1 {648} PROGRAMMING 1000.0 Разбор задач Технокубок 2016 — Отборочный Раунд 1 800
558 Печать условий greedy sortings Statement C Технокубок 2016 - Отборочный Раунд 2 {649} PROGRAMMING 1500.0 1500
175 Автобус binary search data structures greedy sortings Statement E Технокубок 2016 - Отборочный Раунд 2 {649} PROGRAMMING 2500.0 2100
12313 Beautiful Paintings greedy sortings Statement B Codeforces Round 345 (Div. 2) {651} PROGRAMMING 1200
11936 z-sort sortings Statement B Educational Codeforces Round 10 {652} PROGRAMMING Editorial of Educational Codeforces Round 10 1100
3809 Foe Pairs combinatorics sortings two pointers Statement C Educational Codeforces Round 10 {652} PROGRAMMING Editorial of Educational Codeforces Round 10 1800
4962 Nested Segments data structures sortings Statement D Educational Codeforces Round 10 {652} PROGRAMMING Editorial of Educational Codeforces Round 10 1900
9283 Bear and Three Balls brute force implementation sortings Statement A IndiaHacks 2016 - Online Edition (Div. 1 + Div. 2) {653} PROGRAMMING IndiaHacks Finals 2016 — Editorial 1000
6670 Qualifying Contest constructive algorithms sortings Statement B Codeforces Round 346 (Div. 2) {659} PROGRAMMING Editorial for Codeforces Round #346 (Div. 2) 1400
1992 Polycarp and Hay dfs and similar dsu graphs greedy sortings Statement F Codeforces Round 346 (Div. 2) {659} PROGRAMMING Editorial for Codeforces Round #346 (Div. 2) 2100
10099 Cinema implementation sortings Statement C Codeforces Round 350 (Div. 2) {670} PROGRAMMING Codeforces Round #350 (Div.2) Editorial 1400
3888 Money Transfers constructive algorithms data structures greedy sortings Statement C Codeforces Round 353 (Div. 2) {675} PROGRAMMING Tutorial 2000
536 Runaway to a Shadow geometry sortings Statement E Codeforces Round 357 (Div. 2) {681} PROGRAMMING 45425 2900
12825 Alyona and Mex sortings Statement B Codeforces Round 358 (Div. 2) {682} PROGRAMMING 45491 1200
539 Kay and Eternity brute force implementation sortings Statement D Codeforces Round 359 (Div. 1) {685} PROGRAMMING Codeforces Round #359 Editorial 2600
8043 Little Robber Girl's Zoo constructive algorithms implementation sortings Statement B Codeforces Round 359 (Div. 2) {686} PROGRAMMING Codeforces Round #359 Editorial 1200
1114 Dividing Kingdom II brute force data structures dsu graphs sortings Statement D Codeforces Round 360 (Div. 1) {687} PROGRAMMING Codeforces Round #360 Editorial [+ Challenges!] 2500
5055 Checkpoints greedy implementation sortings Statement B AIM Tech Round 3 (Div. 2) {709} PROGRAMMING 1500
10688 Optimal Point on a Line brute force sortings Statement B Educational Codeforces Round 16 {710} PROGRAMMING Editorial of Educational Codeforces Round 16 1400
6701 Sonya and Problem Wihtout a Legend dp sortings Statement C Codeforces Round 371 (Div. 1) {713} PROGRAMMING Codeforces Round #371 Editorial 2400
15602 Filya and Homework implementation sortings Statement B Codeforces Round 371 (Div. 2) {714} PROGRAMMING Codeforces Round #371 Editorial 1200
4367 Potions Homework implementation sortings Statement C Bubble Cup 9 - Finals [Online Mirror] {717} PROGRAMMING Tutorial 1200
336 Slalom data structures dp sortings Statement D Russian Code Cup 2016 - Finals [Unofficial Mirror, Div. 1 Only Recommended] {720} PROGRAMMING Russian Code Cup 2016 — Results and Tutorial 3100
12523 Passwords implementation math sortings strings Statement B Codeforces Round 374 (Div. 2) {721} PROGRAMMING Codeforces Round #374 (Div. 2) Editorial 1200
103167 The New Year: Meeting Friends implementation math sortings Statement A Codeforces Round 375 (Div. 2) {723} PROGRAMMING Codeforces Round #375 (Div.2) Editorial 800
2289 Ray Tracing greedy hashing implementation math number theory sortings Statement C Intel Code Challenge Final Round (Div. 1 + Div. 2, Combined) {724} PROGRAMMING Tutorial 1800
4202 Road to Cinema binary search greedy sortings Statement C Technocup 2017 - Elimination Round 2 {729} PROGRAMMING 1700
2403 Subordinates constructive algorithms data structures graphs greedy sortings Statement E Technocup 2017 - Elimination Round 2 {729} PROGRAMMING Technocup 2017 — Elimination Round 2 (and Codeforces Round 380) Editorial 2000
1299 80-th Level Archeology brute force data structures greedy sortings Statement D Codeforces Round 376 (Div. 2) {731} PROGRAMMING 47840 2200
5989 Exams binary search greedy sortings Statement D Codeforces Round 377 (Div. 2) {732} PROGRAMMING Codeforces Round #377 (Div. 2) Editorial 1700
1684 Sockets greedy sortings Statement E Codeforces Round 377 (Div. 2) {732} PROGRAMMING Codeforces Round #377 (Div. 2) Editorial 2000
8776 Urbanization greedy number theory sortings Statement B Codeforces Round 382 (Div. 2) {735} PROGRAMMING Codeforces Round #382 Editorial 1200
2747 Gosha is hunting brute force data structures dp flows math probabilities sortings Statement E Codeforces Round 381 (Div. 1) {739} PROGRAMMING 48582 2900
3470 Winter Is Coming dp greedy sortings Statement D Codeforces Round 387 (Div. 2) {747} PROGRAMMING 49171 1800
2723 Fedor and coupons binary search data structures greedy sortings Statement D Codeforces Round 390 (Div. 2) {754} PROGRAMMING 2000
13015 PolandBall and Game binary search data structures games greedy sortings strings Statement B 8VC Venture Cup 2017 - Elimination Round {755} PROGRAMMING 8VC Venture Cup 2017 — Elimination Round [Editorial] 1200
2475 Felicity is Coming! data structures hashing sortings strings Statement C Codecraft-17 and Codeforces Round 391 (Div. 1 + Div. 2, combined) {757} PROGRAMMING CodeCraft-17 and Codeforces Round #391 (Div. 1 + Div. 2, combined) Editorial 1900
4223 Dasha and Very Difficult Problem binary search brute force constructive algorithms greedy sortings Statement D Codeforces Round 394 (Div. 2) {761} PROGRAMMING Codeforces Round #394 (Div. 2) [Editorial] 1700
10900 USB vs. PS/2 greedy implementation sortings two pointers Statement B Educational Codeforces Round 17 {762} PROGRAMMING Tutorial 1400
38827 Mahmoud and a Triangle constructive algorithms geometry greedy math number theory sortings Statement B Codeforces Round 396 (Div. 2) {766} PROGRAMMING Codeforces round #396 editorial 1100
2432 Cartons of milk binary search data structures greedy sortings two pointers Statement D Codeforces Round 398 (Div. 2) {767} PROGRAMMING Codeforces Round #398 (Div. 2) Editorial 2000
31154 Oath of the Night's Watch constructive algorithms sortings Statement A Divide by Zero 2017 and Codeforces Round 399 (Div. 1 + Div. 2, combined) {768} PROGRAMMING Editorial Divide by Zero and Codeforces Round #399 (Div. 1+2, combined) 1000
4222 Jon Snow and his Favourite Number brute force dp implementation sortings Statement C Divide by Zero 2017 and Codeforces Round 399 (Div. 1 + Div. 2, combined) {768} PROGRAMMING Editorial Divide by Zero and Codeforces Round #399 (Div. 1+2, combined) 1800
6481 Year of University Entrance *special implementation sortings Statement A VK Cup 2017 - Qualification 1 {769} PROGRAMMING Tutorial 1500
547 Blog Post Rating data structures sortings Statement E VK Cup 2017 - Round 3 {773} PROGRAMMING VK Cup 2017 Round 3 + Codeforces Round #412 -- Tutorial 2900
2122 Lie or Truth *special constructive algorithms sortings Statement D VK Cup 2017 - Wild Card Round 1 {774} PROGRAMMING VK Cup 2017 — Уайлд-кард раунд 1 — Разбор 1500
10007 Game of Credit Cards data structures dp greedy sortings Statement B Codeforces Round 401 (Div. 2) {777} PROGRAMMING Problem analysis of Codeforces Round #401 (Div. 2) 1300
4864 Hanoi Factory brute force data structures dp greedy sortings Statement E Codeforces Round 401 (Div. 2) {777} PROGRAMMING Problem analysis of Codeforces Round #401 (Div. 2) 2000
410 Selling Numbers dp sortings Statement E Codeforces Round 402 (Div. 1) {778} PROGRAMMING Codeforces Round #402, Editorial 2900
12896 Dishonest Sellers constructive algorithms greedy sortings Statement C Codeforces Round 402 (Div. 2) {779} PROGRAMMING Codeforces Round #402, Editorial 1200
10694 Anton and Classes greedy sortings Statement B Codeforces Round 404 (Div. 2) {785} PROGRAMMING 1200
9835 New Bus Route implementation sortings Statement A Educational Codeforces Round 18 {792} PROGRAMMING Educational Codeforces Round 18 - Editorial 1100
1384 Mice problem geometry implementation math sortings Statement C Tinkoff Challenge - Elimination Round {793} PROGRAMMING 51685 2200
3348 Naming Company games greedy sortings Statement C Tinkoff Challenge - Final Round (Codeforces Round 414, rated, Div. 1 + Div. 2) {794} PROGRAMMING 1800
1520 Mice and Holes data structures dp greedy sortings Statement F Educational Codeforces Round 19 {797} PROGRAMMING 51588 2600
2190 Mike and distribution constructive algorithms sortings Statement D Codeforces Round 410 (Div. 2) {798} PROGRAMMING Codeforces Round #410 (Div. 2) Editorial 2300
558 Mike and code of a permutation constructive algorithms data structures graphs sortings Statement E Codeforces Round 410 (Div. 2) {798} PROGRAMMING Codeforces Round #410 (Div. 2) Editorial 2700
3704 April Fools' Problem (easy) greedy sortings Statement M1 Helvetic Coding Contest 2017 online mirror (teams allowed, unrated) {802} PROGRAMMING helvetic-coding-contest-2017-editorial.pdf 1200
3620 April Fools' Problem (easy) greedy sortings Statement M Helvetic Coding Contest 2017 online mirror (teams allowed, unrated) {802} PROGRAMMING helvetic-coding-contest-2017-editorial.pdf 1300
1615 Expected diameter of a tree binary search brute force dfs and similar dp sortings trees Statement D Codeforces Round 411 (Div. 1) {804} PROGRAMMING Codeforces Round #411 Editorial 2600
23499 Is it rated? implementation sortings Statement A Codeforces Round 412 (rated, Div. 2, base on VK Cup 2017 Round 3) {807} PROGRAMMING VK Cup 2017 Round 3 + Codeforces Round #412 -- Tutorial 900
7093 Tea Party constructive algorithms greedy sortings Statement C Educational Codeforces Round 21 {808} PROGRAMMING 52010 1500
4907 Do you want a date? implementation math sortings Statement A Codeforces Round 415 (Div. 1) {809} PROGRAMMING 52099 1500
12706 Summer sell-off greedy sortings Statement B Codeforces Round 415 (Div. 2) {810} PROGRAMMING 52099 1300
6811 Vladik and Complicated Book implementation sortings Statement B Codeforces Round 416 (Div. 2) {811} PROGRAMMING Editorial 1300
18112 Sagheer and Nubian Market binary search sortings Statement C Codeforces Round 417 (Div. 2) {812} PROGRAMMING [Editorial] Codeforces Round #417 (Div. 2) 1500
11084 An abandoned sentiment from past constructive algorithms greedy implementation sortings Statement A Codeforces Round 418 (Div. 2) {814} PROGRAMMING Codeforces Round #418 (Div. 2) Editorial 1000
6465 Makes And The Product combinatorics implementation math sortings Statement B Educational Codeforces Round 23 {817} PROGRAMMING 52638 1500
6529 Imbalanced Array data structures divide and conquer dsu sortings Statement D Educational Codeforces Round 23 {817} PROGRAMMING 52638 2000
4959 Hacker, pack your bags! binary search greedy implementation sortings Statement C Codeforces Round 422 (Div. 2) {822} PROGRAMMING Codeforces Round #422 (Div. 2) Editorial 1600
4358 String Reconstruction data structures greedy sortings strings Statement A Codeforces Round 423 (Div. 1, rated, based on VK Cup Finals) {827} PROGRAMMING Codeforces Round #423 Analysis 1700
3063 Cards Sorting data structures implementation sortings Statement B Codeforces Round 424 (Div. 1, rated, based on VK Cup Finals) {830} PROGRAMMING Codeforces Round #424 Editorial 1800
8351 Office Keys binary search brute force dp greedy sortings Statement A Codeforces Round 424 (Div. 1, rated, based on VK Cup Finals) {830} PROGRAMMING Codeforces Round #424 Editorial 1900
1336 Bamboo Partition brute force data structures implementation math number theory sortings two pointers Statement C Codeforces Round 424 (Div. 1, rated, based on VK Cup Finals) {830} PROGRAMMING Codeforces Round #424 Editorial 2500
299 Caramel Clouds data structures dp sortings Statement E Codeforces Round 426 (Div. 1) {833} PROGRAMMING Codeforces Round #426 Editorial 3100
7553 Leha and Function combinatorics greedy math number theory sortings Statement A Codeforces Round 429 (Div. 1) {840} PROGRAMMING Editorial 1300
6001 Sorting by Subsequences dfs and similar dsu implementation math sortings Statement A AIM Tech Round 4 (Div. 1) {843} PROGRAMMING AIM Tech Round 4 -- Editorial 1400
8522 Chess Tourney implementation sortings Statement A Educational Codeforces Round 27 {845} PROGRAMMING 53986 1100
14450 Two TVs data structures greedy sortings Statement C Educational Codeforces Round 27 {845} PROGRAMMING 53986 1500
1929 Travel Cards sortings Statement K 2017-2018 ACM-ICPC, NEERC, Southern Subregional Contest, qualification stage (Online Mirror, ACM-ICPC Rules, Teams Preferred) {847} PROGRAMMING 2100
2014 Rooter's Song constructive algorithms data structures geometry implementation sortings two pointers Statement B Codeforces Round 431 (Div. 1) {848} PROGRAMMING Codeforces Round #431 Editorial 2100
680 Property greedy sortings Statement C Bubble Cup X - Finals [Online Mirror] {852} PROGRAMMING Tutorial 2500
2764 Jury Meeting greedy sortings two pointers Statement B Codeforces Round 433 (Div. 1, based on Olympiad of Metropolises) {853} PROGRAMMING Codeforces Round #433 Editorial 1900
4229 Polycarp's phone book data structures implementation sortings Statement D Технокубок 2018 - Отборочный Раунд 1 {858} PROGRAMMING Codeforces Round 434 Div.1+Div.2 (and Technocup 2018 — Elimination Round 1) Editorial 1700
2296 Mahmoud and Ehab and the function binary search data structures sortings Statement E Codeforces Round 435 (Div. 2) {862} PROGRAMMING Codeforces round #435 editorial 2200
11340 Kayaking brute force greedy sortings Statement B Educational Codeforces Round 29 {863} PROGRAMMING Editorial 1500
4259 Turn Off The TV data structures sortings Statement E Educational Codeforces Round 29 {863} PROGRAMMING Editorial 2000
12325 Fair Game implementation sortings Statement A Codeforces Round 436 (Div. 2) {864} PROGRAMMING Codeforces Round #436 (Div.2) Разбор 1000
4762 Fire dp sortings Statement E Codeforces Round 436 (Div. 2) {864} PROGRAMMING Codeforces Round #436 (Div.2) Разбор 2000
1947 Ordering Pizza binary search sortings ternary search Statement B MemSQL Start[c]UP 3.0 - Round 2 (onsite finalists) {865} PROGRAMMING MemSQL Start[c]UP 3.0 Round 2 Editorial 1900
5399 Sorting the Coins dsu implementation sortings two pointers Statement B Codeforces Round 441 (Div. 1, by Moscow Team Olympiad) {875} PROGRAMMING Codeforces Round #441. Editorial. 1500
646 Renovation greedy sortings Statement J 2017-2018 ACM-ICPC, NEERC, Southern Subregional Contest (Online Mirror, ACM-ICPC Rules, Teams Preferred) {883} PROGRAMMING 2600
202 Little Brother binary search geometry sortings Statement E Codeforces Round 444 (Div. 2) {887} PROGRAMMING Codeforces Round #444 (Div. 2) Editorial 2700
202 Row of Models greedy sortings Statement F Codeforces Round 444 (Div. 2) {887} PROGRAMMING Codeforces Round #444 (Div. 2) Editorial 2800
3839 XK Segments binary search math sortings two pointers Statement B Codeforces Round 448 (Div. 2) {895} PROGRAMMING Codeforces Round #448(Div.2) Editorial 1700
10433 Generate Login brute force greedy sortings Statement A Codeforces Round 455 (Div. 2) {909} PROGRAMMING Codeforces Round #455 (Div. 2) Editorial 1100
591 Perun, Ult! brute force greedy sortings Statement C Codeforces Round 456 (Div. 2) {912} PROGRAMMING Codeforces Round #456 (Div. 2) Editorial 2500
5156 Too Easy Problems binary search brute force data structures greedy sortings Statement D Hello 2018 {913} PROGRAMMING Tutorial 1800
5715 Physical Education Lessons data structures implementation sortings Statement E Educational Codeforces Round 36 (Rated for Div. 2) {915} PROGRAMMING 57123 2300
10080 Swap Adjacent Elements dfs and similar greedy math sortings two pointers Statement C Educational Codeforces Round 37 (Rated for Div. 2) {920} PROGRAMMING T 1500
4884 Robot Vacuum Cleaner greedy sortings Statement D Codeforces Round 461 (Div. 2) {922} PROGRAMMING 57605 1800
2357 Resource Distribution binary search implementation sortings Statement B VK Cup 2018 - Round 3 {925} PROGRAMMING Разбор VK 2018 Round 3 + Codeforces Round #477 1800
16648 Olympiad implementation sortings Statement A Codeforces Round 467 (Div. 2) {937} PROGRAMMING Codeforces Round #467, Editorial 800
8846 Points on the line brute force greedy sortings Statement A Codeforces Round 466 (Div. 2) {940} PROGRAMMING [Editorial] Codeforces Round #466 (Div. 2) 1300
917 Curfew binary search brute force greedy sortings Statement D Codeforces Round 469 (Div. 1) {949} PROGRAMMING 58291 2400
2129 Water Taps binary search greedy sortings Statement E Educational Codeforces Round 40 (Rated for Div. 2) {954} PROGRAMMING 58519 2000
1429 Runner's Problem dp matrices sortings Statement F Educational Codeforces Round 40 (Rated for Div. 2) {954} PROGRAMMING 58519 2300
1188 Guard Duty (medium) binary search dp greedy sortings Statement E2 Helvetic Coding Contest 2018 online mirror (teams allowed, unrated) {958} PROGRAMMING helvetic-coding-contest-2018-editorial.pdf 2300
13043 Minimize the error data structures greedy sortings Statement B Divide by Zero 2018 and Codeforces Round 474 (Div. 1 + Div. 2, combined) {960} PROGRAMMING Divide by Zero 2018 and Codeforces Round #474 (Div. 1 + Div. 2, combined) Editorial 1500
7978 Watering System math sortings Statement B Codeforces Round 477 (rated, Div. 2, based on VK Cup 2018 Round 3) {967} PROGRAMMING Разбор VK 2018 Round 3 + Codeforces Round #477 1000
11231 Nested Segments greedy implementation sortings Statement C Educational Codeforces Round 43 (Rated for Div. 2) {976} PROGRAMMING 59195 1500
2594 Well played! greedy sortings Statement E Educational Codeforces Round 43 (Rated for Div. 2) {976} PROGRAMMING 59195 2100
44719 Less or Equal sortings Statement C Codeforces Round 479 (Div. 3) {977} PROGRAMMING Codeforces Round #479 (Div. 3) Editorial 1200
20858 Divide by three, multiply by two dfs and similar math sortings Statement D Codeforces Round 479 (Div. 3) {977} PROGRAMMING Codeforces Round #479 (Div. 3) Editorial 1400
4963 Petya's Exams greedy implementation sortings Statement G Codeforces Round 481 (Div. 3) {978} PROGRAMMING T 1800
8106 Businessmen Problems sortings Statement B Avito Code Challenge 2018 {981} PROGRAMMING Avito Code Challenge 2018 — разбор 1000
20839 Game sortings Statement A Codeforces Round 483 (Div. 2) [Thanks, Botan Investments and Victor Shaburov!] {984} PROGRAMMING Codeforces Round #483 [Thanks, Botan Investments and Victor Shaburov!] Editoral 700
20485 Substrings Sort sortings strings Statement B Codeforces Round 486 (Div. 3) {988} PROGRAMMING 59810 1100
11270 Equal Sums implementation sortings Statement C Codeforces Round 486 (Div. 3) {988} PROGRAMMING 59810 1400
592 A Shade of Moonlight binary search geometry math sortings two pointers Statement D Codeforces Round 487 (Div. 2) {989} PROGRAMMING Codeforces Round #487 (Div. 2) Editorial 2500
8659 Micro-World greedy sortings Statement B Educational Codeforces Round 45 (Rated for Div. 2) {990} PROGRAMMING Educational Codeforces Round 45 Editorial 1200
13822 Getting an A greedy sortings Statement B Codeforces Round 491 (Div. 2) {991} PROGRAMMING 60181 1100
14434 Nastya and an Array implementation sortings Statement A Codeforces Round 489 (Div. 2) {992} PROGRAMMING 60083 900
6080 Knights of a Polygonal Table greedy implementation sortings Statement B Codeforces Round 488 by NEAR (Div. 2) {994} PROGRAMMING Codeforces Round #488 editorial 1400
2071 Leaving the Bar brute force data structures geometry greedy math sortings Statement C Codeforces Round 492 (Div. 1) [Thanks, uDebug!] {995} PROGRAMMING Editorial for Codeforces Round #492 [Thanks u-Debug!] 2200
14504 Cutting dp greedy sortings Statement B Codeforces Round 493 (Div. 2) {998} PROGRAMMING Codeforces Round #493 — Editorial 1200
8667 Covered Points Count data structures implementation sortings Statement C Educational Codeforces Round 46 (Rated for Div. 2) {1000} PROGRAMMING 60288 1700
4405 Median on Segments (Permutations Edition) sortings Statement E1 Codeforces Round 496 (Div. 3) {1005} PROGRAMMING Codeforces Round 496 (Div. 3): Problem Tutorials 1900
1588 Median on Segments (General Case Edition) sortings Statement E2 Codeforces Round 496 (Div. 3) {1005} PROGRAMMING Codeforces Round 496 (Div. 3): Problem Tutorials 2600
14778 Polycarp's Practice greedy implementation sortings Statement B Codeforces Round 498 (Div. 3) {1006} PROGRAMMING 60672 1200
13168 Reorder the Array combinatorics data structures math sortings two pointers Statement A Codeforces Round 497 (Div. 1) {1007} PROGRAMMING Editorial for Codeforces Round #497 by Skyglow 1300
12644 Turn the Rectangles greedy sortings Statement B Codeforces Round 497 (Div. 2) {1008} PROGRAMMING Editorial for Codeforces Round #497 by Skyglow 1100
13320 Stages greedy implementation sortings Statement A Codeforces Round 499 (Div. 2) {1011} PROGRAMMING 60851 1000
6715 Photo of The Sky brute force implementation math sortings Statement A Codeforces Round 500 (Div. 1) [based on EJOI] {1012} PROGRAMMING 60920 1500
21595 Songs Compression sortings Statement C Codeforces Round 501 (Div. 3) {1015} PROGRAMMING 60949 1100
769 Large Triangle binary search geometry sortings Statement D Codeforces Round 503 (by SIS, Div. 1) {1019} PROGRAMMING 61161 2700
16685 Doggo Recoloring implementation sortings Statement A Codeforces Round 505 (rated, Div. 1 + Div. 2, based on VK Cup 2018 Final) {1025} PROGRAMMING Codeforces Round #505 Editorial 900
5104 Rectangles geometry implementation sortings Statement C AIM Tech Round 5 (rated, Div. 1 + Div. 2) {1028} PROGRAMMING 61493 1600
8403 Maximal Intersection greedy math sortings Statement C Codeforces Round 506 (Div. 3) {1029} PROGRAMMING Codeforces Round #506 (Div. 3) Editorial 1600
9869 Gambling greedy sortings Statement C Codeforces Round 508 (Div. 2) {1038} PROGRAMMING Tutorial 1300
1522 Network Safety dfs and similar dsu graphs math sortings Statement C Codeforces Round 507 (Div. 1, based on Olympiad of Metropolises) {1039} PROGRAMMING 61668 2300
27031 Heist greedy implementation sortings Statement A Codeforces Round 509 (Div. 2) {1041} PROGRAMMING Codeforces Round #509 (Div. 2) Editorial 800
1573 Leaf Sets data structures dfs and similar dsu graphs greedy sortings trees Statement F Codeforces Round 510 (Div. 2) {1042} PROGRAMMING Tutorial 2400
3479 Train Hard, Win Easy constructive algorithms greedy math sortings Statement E Codeforces Round 519 by Botan Investments {1043} PROGRAMMING Codeforces Round #519 Editorial 1900
6810 Decorate Apple Tree constructive algorithms dfs and similar dp graphs greedy sortings trees Statement D Mail.Ru Cup 2018 Round 3 {1056} PROGRAMMING Mail.Ru Cup 2018 Round 3 Editorial 1600
2593 Pick Heroes greedy implementation interactive sortings Statement C Mail.Ru Cup 2018 Round 3 {1056} PROGRAMMING Mail.Ru Cup 2018 Round 3 Editorial 1700
7694 Views Matter greedy implementation sortings Statement B Codeforces Round 523 (Div. 2) {1061} PROGRAMMING Tutorial (en) 1500
2583 TV Shows data structures greedy implementation sortings Statement D Codeforces Round 523 (Div. 2) {1061} PROGRAMMING Tutorial (en) 2000
4577 Taxi drivers and Lyft implementation sortings Statement B Lyft Level 5 Challenge 2018 - Final Round (Open Div. 2) {1075} PROGRAMMING E 1200
10619 Cutting Out binary search sortings Statement D Codeforces Round 521 (Div. 3) {1077} PROGRAMMING Codeforces Round #521 (Div. 3) Editorial 1600
5144 Thematic Contests greedy sortings Statement E Codeforces Round 521 (Div. 3) {1077} PROGRAMMING Codeforces Round #521 (Div. 3) Editorial 1800
958 Katya and Segments Sets data structures interactive sortings Statement F Codeforces Round 524 (Div. 2) {1080} PROGRAMMING Codeforces Round #524 (Div. 2) Editorial 2700
4732 Maximum Distance dsu graphs shortest paths sortings Statement D Avito Cool Challenge 2018 {1081} PROGRAMMING 63888 1800
6169 Multi-Subject Competition greedy sortings Statement C Educational Codeforces Round 55 (Rated for Div. 2) {1082} PROGRAMMING 63544 1600
13653 Ehab and subtraction implementation sortings Statement B Codeforces Round 525 (Div. 2) {1088} PROGRAMMING Codeforces round #525 editorial 1000
1108 New Year and the Acquaintance Estimation binary search data structures graphs greedy implementation math sortings Statement E Good Bye 2018 {1091} PROGRAMMING Editorial 2400
29399 Teams Forming sortings Statement B Codeforces Round 527 (Div. 3) {1092} PROGRAMMING Codeforces Round #527 (Div. 3) Editorial 700
17821 Letters Rearranging constructive algorithms greedy sortings strings Statement B Educational Codeforces Round 56 (Rated for Div. 2) {1093} PROGRAMMING 63877 900
12596 Division and Union sortings Statement C Educational Codeforces Round 58 (Rated for Div. 2) {1101} PROGRAMMING 64483 1600
11207 Array K-Coloring greedy sortings Statement B Codeforces Round 531 (Div. 3) {1102} PROGRAMMING 64439 1400
7045 Monotonic Renumeration combinatorics sortings Statement E Codeforces Round 531 (Div. 3) {1102} PROGRAMMING 64439 1800
16086 Lunar New Year and Number Division greedy implementation math sortings Statement C Codeforces Round 536 (Div. 2) {1106} PROGRAMMING Tutorial 1000
11063 Brutality greedy sortings two pointers Statement C Educational Codeforces Round 59 (Rated for Div. 2) {1107} PROGRAMMING Educational Codeforces Round 59 Editorial 1300
995 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
17387 Tape greedy sortings Statement B Codeforces Global Round 1 {1110} PROGRAMMING The Editorial of the First Codeforces Global Round 1400
4826 Magic Stones constructive algorithms math sortings Statement E Codeforces Global Round 1 {1110} PROGRAMMING The Editorial of the First Codeforces Global Round 2200
9425 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
15897 Emotes greedy math sortings Statement B Educational Codeforces Round 60 (Rated for Div. 2) {1117} PROGRAMMING 65365 1000
17316 Alyona and a Narrow Fridge binary search flows greedy sortings Statement B Codeforces Global Round 2 {1119} PROGRAMMING Codeforces Global Round 2 Editorial 1300
5187 Frets On Fire binary search sortings Statement D Codeforces Global Round 2 {1119} PROGRAMMING Codeforces Global Round 2 Editorial 1700
7499 Technogoblet of Fire implementation sortings Statement A Codeforces Round 543 (Div. 2, based on Technocup 2019 Final Round) {1121} PROGRAMMING Codeforces Round #543 and Technocup 2019 Final Round Editorial 1100
1021 Morse Code binary search data structures dp hashing sortings string suffix structures strings Statement C Codeforces Round 542 [Alex Lopashev Thanks-Round] (Div. 1) {1129} PROGRAMMING 65520 2300
15780 Birthday binary search greedy sortings Statement C Codeforces Round 541 (Div. 2) {1131} PROGRAMMING Codeforces Round #541 Editorial 1200
14078 Discounts greedy sortings Statement B Educational Codeforces Round 61 (Rated for Div. 2) {1132} PROGRAMMING T 900
28845 Balanced Team sortings two pointers Statement C Codeforces Round 544 (Div. 3) {1133} PROGRAMMING Codeforces Round #544 (Div. 3) Editorial 1300
6588 K Balanced Teams dp sortings two pointers Statement E Codeforces Round 544 (Div. 3) {1133} PROGRAMMING Codeforces Round #544 (Div. 3) Editorial 2000
8041 Nastya Is Transposing Matrices constructive algorithms sortings Statement C Codeforces Round 546 (Div. 2) {1136} PROGRAMMING Editorial of Round #546(Div.2) 1500
4687 Skyscrapers implementation sortings Statement A Codeforces Round 545 (Div. 1) {1137} PROGRAMMING Codeforces Round #545 – Editorial 1600
10493 Playlist brute force data structures sortings Statement C Educational Codeforces Round 62 (Rated for Div. 2) {1140} PROGRAMMING Educational Codeforces Round 62 Editorial 1600
18423 Parity Alternated Deletions greedy implementation sortings Statement B Codeforces Round 550 (Div. 3) {1144} PROGRAMMING 66307 1000
16519 Two Shuffled Sequences constructive algorithms sortings Statement C Codeforces Round 550 (Div. 3) {1144} PROGRAMMING 66307 1100
5669 Crazy Diamond constructive algorithms sortings Statement C Codeforces Global Round 3 {1148} PROGRAMMING Codeforces Global Round 3 Editorial 1700
5293 Dirty Deeds Done Dirt Cheap greedy sortings Statement D Codeforces Global Round 3 {1148} PROGRAMMING Codeforces Global Round 3 Editorial 1800
1855 Earth Wind and Fire constructive algorithms greedy math sortings two pointers Statement E Codeforces Global Round 3 {1148} PROGRAMMING Codeforces Global Round 3 Editorial 2300
9170 Stas and the Queue at the Buffet greedy math sortings Statement D Codeforces Round 553 (Div. 2) {1151} PROGRAMMING Codeforces Round #553 (Div. 2) Editorial 1500
7045 Two Teams data structures implementation sortings Statement E Codeforces Round 552 (Div. 3) {1154} PROGRAMMING Codeforces Round #552 (Div. 3) Editorial 1800
3393 Shovels Shop dp greedy sortings Statement F Codeforces Round 552 (Div. 3) {1154} PROGRAMMING Codeforces Round #552 (Div. 3) Editorial 2300
27573 Reverse a Substring implementation sortings strings Statement A Educational Codeforces Round 63 (Rated for Div. 2) {1155} PROGRAMMING 66687 1000
6602 Ugly Pairs dfs and similar greedy implementation sortings strings Statement B Educational Codeforces Round 64 (Rated for Div. 2) {1156} PROGRAMMING 66827 1800
6764 Match Points binary search greedy sortings ternary search two pointers Statement C Educational Codeforces Round 64 (Rated for Div. 2) {1156} PROGRAMMING 66827 2000
8488 The Party and Sweets binary search constructive algorithms greedy implementation math sortings two pointers Statement A Codeforces Round 559 (Div. 1) {1158} PROGRAMMING 66993 1500
2295 Permutation recovery constructive algorithms data structures dfs and similar graphs greedy math sortings Statement C Codeforces Round 559 (Div. 1) {1158} PROGRAMMING 66993 2300
24752 Polycarp Training data structures greedy sortings Statement B Codeforces Round 560 (Div. 3) {1165} PROGRAMMING Codeforces Round #560 (Div. 3) Editorial 1000
10236 Two Arrays and Sum of Functions greedy math sortings Statement E Codeforces Round 560 (Div. 3) {1165} PROGRAMMING Codeforces Round #560 (Div. 3) Editorial 1800
11173 A Tale of Two Lands binary search sortings two pointers Statement C Codeforces Round 561 (Div. 2) {1166} PROGRAMMING Codeforces Round #561 (Div. 2) Editorial 1600
1914 Scalar Queries combinatorics data structures math sortings Statement F Educational Codeforces Round 65 (Rated for Div. 2) {1167} PROGRAMMING 67058 2300
19376 Ehab Fails to Be Thanos constructive algorithms greedy sortings Statement A Codeforces Round 563 (Div. 2) {1174} PROGRAMMING Codeforces round #563 editorial 1000
16953 Ehab Is an Odd Person sortings Statement B Codeforces Round 563 (Div. 2) {1174} PROGRAMMING Codeforces round #563 editorial 1200
7136 Array Splitting greedy sortings Statement D Educational Codeforces Round 66 (Rated for Div. 2) {1175} PROGRAMMING Editorial 1900
5863 Recover it! dfs and similar graphs greedy number theory sortings Statement D Codeforces Round 565 (Div. 3) {1176} PROGRAMMING 67598 1900
2353 Destroy it! dp implementation sortings Statement F Codeforces Round 565 (Div. 3) {1176} PROGRAMMING 67598 2500
2874 Irrigation binary search data structures implementation sortings trees two pointers Statement D Codeforces Round 567 (Div. 2) {1181} PROGRAMMING Editorial of Codeforces Round #567 (based on All-Russian olympiad in the name of Keldysh) 2100
653 A Story of One Country (Easy) brute force divide and conquer sortings Statement E1 Codeforces Round 567 (Div. 2) {1181} PROGRAMMING Editorial of Codeforces Round #567 (based on All-Russian olympiad in the name of Keldysh) 2600
472 A Story of One Country (Hard) brute force greedy sortings Statement E2 Codeforces Round 567 (Div. 2) {1181} PROGRAMMING Editorial of Codeforces Round #567 (based on All-Russian olympiad in the name of Keldysh) 3000
21404 Candy Box (easy version) greedy sortings Statement D Codeforces Round 570 (Div. 3) {1183} PROGRAMMING Tutorial 1400
2717 Candy Box (hard version) greedy implementation sortings Statement G Codeforces Round 570 (Div. 3) {1183} PROGRAMMING Tutorial 2100
2277 Topforces Strikes Back brute force math sortings Statement F Codeforces Round 570 (Div. 3) {1183} PROGRAMMING Tutorial 2400
6261 The Doctor Meets Vader (Easy) binary search sortings Statement B1 Helvetic Coding Contest 2019 online mirror (teams allowed, unrated) {1184} PROGRAMMING helvetic-coding-contest-2019-editorial.pdf 1400
707 The Doctor Meets Vader (Medium) flows graph matchings graphs shortest paths sortings Statement B2 Helvetic Coding Contest 2019 online mirror (teams allowed, unrated) {1184} PROGRAMMING helvetic-coding-contest-2019-editorial.pdf 2300
11928 Exam in BerSU (easy version) greedy sortings Statement C1 Codeforces Round 568 (Div. 2) {1185} PROGRAMMING Editorial for Codeforces Round #568 (Div. 2) 1200
3046 Subarray Sorting data structures sortings Statement D Educational Codeforces Round 67 (Rated for Div. 2) {1187} PROGRAMMING Разбор Educational Codeforces Round 67 2200
15426 Number Circle greedy math sortings Statement B Codeforces Round 572 (Div. 2) {1189} PROGRAMMING Editorial of Codeforces Round #572 1100
2710 Tokitsukaze and Strange Rectangle data structures divide and conquer sortings two pointers Statement D Codeforces Round 573 (Div. 1) {1190} PROGRAMMING E 2200
2090 Count The Rectangles bitmasks brute force data structures geometry sortings Statement E Educational Codeforces Round 68 (Rated for Div. 2) {1194} PROGRAMMING Разбор Educational Codeforces Round 68 2200
1077 Geometers Anonymous Club data structures geometry math sortings Statement F Codeforces Round 574 (Div. 2) {1195} PROGRAMMING Разбор Codeforces Round #574 (Div. 2) 2700
3282 K-th Path brute force constructive algorithms shortest paths sortings Statement F Codeforces Round 575 (Div. 3) {1196} PROGRAMMING Editorial 2500
14085 DIY Wooden Ladder greedy math sortings Statement A Educational Codeforces Round 69 (Rated for Div. 2) {1197} PROGRAMMING E 1000
15349 Array Splitting greedy sortings Statement C Educational Codeforces Round 69 (Rated for Div. 2) {1197} PROGRAMMING E 1400
1886 Culture Code binary search combinatorics data structures dp shortest paths sortings Statement E Educational Codeforces Round 69 (Rated for Div. 2) {1197} PROGRAMMING E 2300
10066 Welfare State binary search brute force data structures sortings Statement B Codeforces Round 576 (Div. 1) {1198} PROGRAMMING E 1600
10193 MP3 sortings two pointers Statement A Codeforces Round 576 (Div. 1) {1198} PROGRAMMING E 1700
4118 Matching vs Independent Set constructive algorithms graphs greedy sortings Statement C Codeforces Round 576 (Div. 1) {1198} PROGRAMMING E 2200
35036 Maximum Median binary search greedy math sortings Statement C Codeforces Round 577 (Div. 2) {1201} PROGRAMMING Codeforces Round #577 (Div 2) Editorial 1400
15130 Boxers greedy sortings Statement E Codeforces Round 579 (Div. 3) {1203} PROGRAMMING Codeforces Round #579 (Div. 3) Editorial 1500
26173 Choose Two Numbers math sortings Statement A Codeforces Round 580 (Div. 2) {1206} PROGRAMMING Editorial of Codeforces Round #580 800
3286 Rotate Columns (easy version) bitmasks brute force dp greedy sortings Statement E1 Codeforces Round 584 - Dasha Code Championship - Elimination Round (rated, open for everyone, Div. 1 + Div. 2) {1209} PROGRAMMING 69791 2000
2363 Rotate Columns (hard version) bitmasks dp greedy sortings Statement E2 Codeforces Round 584 - Dasha Code Championship - Elimination Round (rated, open for everyone, Div. 1 + Div. 2) {1209} PROGRAMMING 69791 2400
571 Ice Cream *special greedy sortings Statement C Kotlin Heroes: Episode 2 {1211} PROGRAMMING Kotlin Heroes: Episode 2 Editorial 2000
12296 Equalizing by Division (hard version) brute force math sortings Statement D2 Codeforces Round 582 (Div. 3) {1213} PROGRAMMING Codeforces Round #582 (Div. 3) Editorial 1600
9852 Path Queries divide and conquer dsu graphs sortings trees Statement G Codeforces Round 582 (Div. 3) {1213} PROGRAMMING Codeforces Round #582 (Div. 3) Editorial 2000
2881 Petya and Construction Set constructive algorithms graphs math sortings trees Statement E Codeforces Round 583 (Div. 1 + Div. 2, based on Olympiad of Metropolises) {1214} PROGRAMMING Tutorial 2000
518 Employment greedy sortings Statement F Codeforces Round 583 (Div. 1 + Div. 2, based on Olympiad of Metropolises) {1214} PROGRAMMING Tutorial 2700
19844 Shooting greedy implementation sortings Statement B Codeforces Round 587 (Div. 3) {1216} PROGRAMMING Codeforces Round #587 (Div. 3) Editorial 1000
33033 Cards implementation sortings strings Statement A Codeforces Round 586 (Div. 1 + Div. 2) {1220} PROGRAMMING Codeforces Round #586 Editorial 600
1287 Choose a Square binary search data structures sortings Statement F Educational Codeforces Round 73 (Rated for Div. 2) {1221} PROGRAMMING Разбор Educational Codeforces Round 73 2500
2964 Paint the Tree dp sortings trees Statement E Technocup 2020 - Elimination Round 1 {1223} PROGRAMMING Сodeforces Round 591 (and Technocup 2020 — Elimination Round 1) Editorial 2200
23877 Balanced Tunnel data structures sortings two pointers Statement B Codeforces Global Round 5 {1237} PROGRAMMING T 1300
4560 Balanced Removals (Harder) binary search constructive algorithms divide and conquer greedy implementation sortings Statement C2 Codeforces Global Round 5 {1237} PROGRAMMING T 1900
15779 Kill `Em All greedy sortings Statement B Educational Codeforces Round 74 (Rated for Div. 2) {1238} PROGRAMMING Educational Codeforces Round 74 Editorial 1300
514 Adilbek and the Watering System data structures greedy sortings Statement G Educational Codeforces Round 74 (Rated for Div. 2) {1238} PROGRAMMING Educational Codeforces Round 74 Editorial 2700
9553 0-1 MST dfs and similar dsu graphs sortings Statement B Codeforces Round 599 (Div. 1) {1242} PROGRAMMING Codeforces Round #599 Editorial 1900
6722 Minimizing Difference binary search constructive algorithms greedy sortings ternary search two pointers Statement E Codeforces Round 592 (Div. 2) {1244} PROGRAMMING Codeforces Round #592 (Div. 2) Tutorial 2000
18112 Grow The Tree greedy math sortings Statement B Codeforces Round 594 (Div. 2) {1248} PROGRAMMING Editorial of Codeforces Round #594 (on the problems of Moscow Team Olympiad) 900
5909 Too Many Segments (hard version) data structures greedy sortings Statement D2 Codeforces Round 595 (Div. 3) {1249} PROGRAMMING Codeforces Round #595 (Div. 3) Editorial 2000
6659 Salary Changing binary search greedy sortings Statement D Educational Codeforces Round 75 (Rated for Div. 2) {1251} PROGRAMMING 70860 1800
15477 Sweets Eating dp greedy math sortings Statement C Codeforces Round 600 (Div. 2) {1253} PROGRAMMING Editorial 1500
10365 Harmonious Graph constructive algorithms dfs and similar dsu graphs greedy sortings Statement D Codeforces Round 600 (Div. 2) {1253} PROGRAMMING Editorial 1700
3150 Antenna Coverage data structures dp greedy sortings Statement E Codeforces Round 600 (Div. 2) {1253} PROGRAMMING Editorial 2200