結果
問題 | No.779 Heisei |
ユーザー |
|
提出日時 | 2022-11-16 19:04:41 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 28 ms / 1,000 ms |
コード長 | 431 bytes |
コンパイル時間 | 166 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-09-17 14:29:49 |
合計ジャッジ時間 | 1,888 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
Y,M,D=map(int,input().split()) if 1989<Y<2019: print('Yes') elif Y==1989: if M>1: print('Yes') elif M==1: if D>=8: print('Yes') else: print('No') else: print('No') elif Y==2019: if M<4: print('Yes') elif M==4: if D<=30: print('Yes') else: print('No') else: print('No') else: print('No')