結果

問題 No.2350 Four Seasons
ユーザー maron8676maron8676
提出日時 2023-06-16 22:10:20
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 95 ms / 2,000 ms
コード長 301 bytes
コンパイル時間 1,073 ms
コンパイル使用メモリ 86,996 KB
実行使用メモリ 71,664 KB
最終ジャッジ日時 2023-09-06 20:08:08
合計ジャッジ時間 2,262 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 93 ms
71,248 KB
testcase_01 AC 91 ms
71,616 KB
testcase_02 AC 93 ms
71,416 KB
testcase_03 AC 93 ms
71,664 KB
testcase_04 AC 94 ms
71,520 KB
testcase_05 AC 93 ms
71,560 KB
testcase_06 AC 93 ms
71,484 KB
testcase_07 AC 93 ms
71,564 KB
testcase_08 AC 94 ms
71,492 KB
testcase_09 AC 94 ms
71,664 KB
testcase_10 AC 95 ms
71,652 KB
testcase_11 AC 94 ms
71,648 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from collections import defaultdict, deque
from sys import stdin

readline = stdin.readline


def li():
    return list(map(int, readline().split()))


X = int(input())
x = X // 3
if x == 1:
    print("spring")
elif x == 2:
    print("summer")
elif x == 3:
    print("fall")
else:
    print("winter")
0