結果

問題 No.2350 Four Seasons
コンテスト
ユーザー Navier_Boltzmann
提出日時 2023-07-23 17:16:09
言語 PyPy3
(7.3.23 + ACL)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 85 ms / 2,000 ms
+ 840µs
コード長 295 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 242 ms
コンパイル使用メモリ 96,072 KB
実行使用メモリ 84,020 KB
最終ジャッジ日時 2026-09-03 10:05:27
合計ジャッジ時間 3,006 ms
ジャッジサーバーID
(参考情報)
judge2_0 / judge1_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

from collections import *
from itertools import *
from functools import *
from heapq import *
import sys,math
input = sys.stdin.readline

X = int(input())
if X in [3,4,5]:
    print('spring')
elif X in [6,7,8]:
    print('summer')
elif X in [9,10,11]:
    print('fall')
else:
    print('winter')
0