Hello everyone! My school career in competitive programming is over and I decided to compile a list of tasks that I enjoyed/helped me learn something new. This list can be found ingroup
If we take lot of problem of say 1700 level, we would observe that many of them have similar pattern or approach of solving. Is there some list of problems which will give me familiarity with pattern and approaches for most problems up to 1800 level ?
The following is the list of the problems solved. Each problem identifier is specified between round brackets. Problems marked with ✓ are done, while problems with ✗ are not complete or aren't efficient enough for the problem's limits....
#506 Blackboard List updated at 21:11 PM Jul 10 -atef7534 Jul 11, 2024 #507 Z mod X = C updated at 21:11 PM Jul 10 -atef7534 Jul 11, 2024 #508 Little Pony and Crystal Mine updated at 21:11 PM Jul 10 -atef7534 Jul 11, 2024 ...
Thus, each day Polycarp solves a contiguous sequence of (consecutive) problems from the start of the list. He can't skip problems or solve them multiple times. As a result, in kk days he will solve all the nn problems. The profit of the jj-th day of Polycarp's practice is the maxim...
Thus, each day Polycarp solves a contiguous sequence of (consecutive) problems from the start of the list. He can't skip problems or solve them multiple times. As a result, in kk days he will solve all the nn problems. The profit of the jj-th day of Polycarp's practice is the maxim...
Print the minimum area of the city that can cover all the mines with valuable resources. Sample test(s) Input 20 0 2 2 Output 4 Input 20 0 0 3 Output 9 简单题 #include #include <set> #include <list> #include <stack> #include...
This problem is also simple. Actually, most of the 'A' problems (usually the first one) in codeforces contests are easy to solve. I choose these problems to boost my confidences :) and learn python. The problem is even easier. Because the array is alread
One unknown hacker wants to get the admin’s password of AtForces testing system, to get problems from the next contest. To achieve that, he sneaked into the administrator’s office and stole a piece of paper with a list of n passwords — strings, consists of small Latin letters. ...
Your task is to count what number of teams from the given list shared the k-th place. The first line contains two integers n and k (1 ≤ k ≤ n ≤ 50). Then n lines contain the description of the teams: the i-th line contains two integers pi and ti (1 ≤...