20241129 ○

2039A. Shohag Loves Mod - 800

Is the difficulty really 800? The problem felt very difficult…

for _ in range(int(input())):
    n: int = int(input())
    res: list[int] = []
    for i in range(1, n + 1):
        res.append(2 * i - 1)
    print(" ".join(str(x) for x in res))

By looking at the constraint, my idea is to simply construct an array with mod values [1, 2, 3, …] (except the first element for simplicity).


Udon 700 Yogurt 1000 Rice 300 Spaghetti 1000

Total 3000 kcal

push-ups

I think the problem with my diet is a lack of protein. After eating things in the shelf, I will increase the proportion of protein gradually.


MUST:

TODO:


index 20241128 20241130