Skip to content
On this page

03_If_F08.py

WARNING

โค้ดกาวมากครับ อย่าลอกเลย 😭😭😭

ทำเองเถอะนะครับ จะได้ทำข้อสอบได้ 🥲🥲🥲

py
# pylint: disable=exec-used

from datetime import datetime


def day_of_year(d, m, y):
    y -= 543

    diff = datetime(y, m, d) - datetime(y, 1, 1)

    return diff.days + 1


exec(input())

People who plagiarize Com Prog HW:

People who do Com Prog HW by themself:

Released under the MIT License