結果
問題 | No.779 Heisei |
ユーザー |
![]() |
提出日時 | 2019-03-30 02:34:37 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 30 ms / 1,000 ms |
コード長 | 278 bytes |
コンパイル時間 | 254 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 10,752 KB |
最終ジャッジ日時 | 2024-11-06 05:25:36 |
合計ジャッジ時間 | 1,795 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 23 |
ソースコード
# -*- coding: utf-8 -*- y,m,d = map(int,input().split()) isHeisei = True if y < 1989 or y > 2019: isHeisei = False if y == 1989 and m == 1 and d < 8: isHeisei = False if y == 2019 and m > 4: isHeisei = False if isHeisei: print("Yes") else: print("No")