結果

問題 No.795 Restrictions!!!!!!!!!!!!!!
ユーザー toshiro_yanagitoshiro_yanagi
提出日時 2021-06-06 08:16:49
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 31 ms / 2,000 ms
コード長 212 bytes
コンパイル時間 119 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-11-22 13:08:36
合計ジャッジ時間 1,461 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

h = int(input().strip()[-1:])
tmp = input().strip()
flg = False
if len(tmp) >= 2:
    flg = True
t = int(tmp[-2:])

ans = "Yes"
if t % 2 != 0:
    ans = "No"
if h % 2 != 0 and not flg:
    ans = "No"

print(ans)
0