結果
問題 |
No.779 Heisei
|
ユーザー |
![]() |
提出日時 | 2020-04-19 20:47:37 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 28 ms / 1,000 ms |
コード長 | 325 bytes |
コンパイル時間 | 114 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-10-06 07:57:44 |
合計ジャッジ時間 | 1,479 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
import sys input=lambda: sys.stdin.readline().rstrip() y,m,d=map(int,input().split()) if y<=1988 or y>=2020: print("No") elif 1990<=y<=2018: print("Yes") elif y==1989: if m>=2: print("Yes") else: if d>=8: print("Yes") else: print("No") else: if m>=5: print("No") else: print("Yes")