20240930

I couldn't sleep last night.

Time flies.

The OpenAI Python client generated by Stainless works perfectly, but one thing to complain about is that they push too many releases. Sometimes, they have two releases a day.

Retry 2008A. Sakurako’s Exam

for _ in range(int(input())):
    a, b = map(int, input().split())
    if a == 0:
        if b % 2 == 0:
            print("YES")
        else:
            print("NO")
    elif a % 2 == 1:
        print("NO")
    # b % 2 does not matter if a >= 2
    # b % 2 == 0 -> distribute ones and twos evenly
    # b % 2 == 1 -> [1, 1, A], [2, A] where A is an array of ones and twos
    else:
        print("YES")

Puchao 200 Gratin 700 Spaghetti 500 Nori 100 Salad 200 Mac & Cheese 200

Total 1900 kcal


MUST:

TODO:


index 20240928 20241001