結果

問題 No.2350 Four Seasons
ユーザー Ricky_ponRicky_pon
提出日時 2023-06-16 21:21:10
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 32 ms / 2,000 ms
コード長 283 bytes
コンパイル時間 154 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-06-24 12:46:55
合計ジャッジ時間 1,167 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

input = sys.stdin.readline


def main():
    x = int(input())
    if 3 <= x <= 5:
        print("spring")
    elif 6 <= x <= 8:
        print("summer")
    elif 9 <= x <= 11:
        print("fall")
    else:
        print("winter")


if __name__ == "__main__":
    main()
0