結果
問題 |
No.779 Heisei
|
ユーザー |
![]() |
提出日時 | 2019-04-27 07:08:42 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 398 bytes |
コンパイル時間 | 83 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-27 04:13:36 |
合計ジャッジ時間 | 1,585 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 21 WA * 2 |
ソースコード
start = {"y":1989,"m":1,"d":8} end = {"y":2019,"m":4,"d":30} Y,M,D = map(int,input().split()) is_heisei = start["y"] < Y < end["y"] if not is_heisei: if Y>=start["y"]: if start["y"]==Y: if start["m"]<=M: is_heisei=start["d"]<=D elif end["y"]==Y: if end["m"]>=M: is_heisei=end["d"]>=D print("Yes" if is_heisei else "No")