結果
| 問題 |
No.779 Heisei
|
| コンテスト | |
| ユーザー |
kaiman
|
| 提出日時 | 2019-01-26 14:16:24 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 454 bytes |
| コンパイル時間 | 576 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-09-16 05:08:28 |
| 合計ジャッジ時間 | 1,841 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 17 WA * 6 |
ソースコード
inp = input()
split_first = inp.split(' ')
Y = int(split_first[0])
M = int(split_first[0])
D = int(split_first[0])
def hantei(Y,M,D):
if (1989<Y and Y<2019):
print('Yes')
elif (Y==1984 and 1<M):
print('Yes')
elif (Y==1984 and M==1 and 8<=D):
print('Yes')
elif (Y==2019 and M<4):
print('Yes')
elif (Y==2019 and M==4 and D<=30):
print('Yes')
else:
print('No')
hantei(Y,M,D)
kaiman