結果
| 問題 | No.2350 Four Seasons |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-07-29 14:50:47 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 123 bytes |
| コンパイル時間 | 354 ms |
| コンパイル使用メモリ | 82,436 KB |
| 実行使用メモリ | 67,160 KB |
| 最終ジャッジ日時 | 2024-10-07 23:53:07 |
| 合計ジャッジ時間 | 1,968 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | RE * 10 |
コンパイルメッセージ
Main.py:1: SyntaxWarning: 'generator' object is not subscriptable; perhaps you missed a comma?
print((v for k,v in {(3,4,5):"spring",(6,7,8):"summer",(9,10,11):"fall",(12,1,2):"winter"}.items() if int(input())in k)[0])
ソースコード
print((v for k,v in {(3,4,5):"spring",(6,7,8):"summer",(9,10,11):"fall",(12,1,2):"winter"}.items() if int(input())in k)[0])