結果
問題 | No.779 Heisei |
ユーザー |
![]() |
提出日時 | 2019-01-11 21:24:47 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
(最新)
AC
(最初)
|
実行時間 | - |
コード長 | 260 bytes |
コンパイル時間 | 192 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-24 01:48:14 |
合計ジャッジ時間 | 1,784 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 22 WA * 1 |
ソースコード
Y,M,D = map(int,input().split())if Y < 1989:print('No')elif Y == 1989:if M == 1 and D <= 8:print('No')else:print('Yes')elif Y < 2019:print('Yes')elif Y == 2019:print('Yes' if M < 5 else 'No')else:print('No')