ただのメモ

他の人に見せても良い方のメモ

2022-01-14から1日間の記事一覧

Competitive Programing Typical 90 Problem day10

Day 10. It is easy game, because it is just cumulative sumation of array until i th element. Now I know how much pre-processing is important when we want to decrease calculation cost. Code is below. #day 10 N = int(input()) sum_score = [[0…

Competitive Programing Typical 90 Problem day9

Day 9. This problem wa hard for me. There are 2 reasons. First, I did not come up with the idea that integrates binary search to this problem. Second, I stick to perpendicular line. But now I get to the point. Code is below. N = int(input(…