結果

問題 No.1465 Archaea
ユーザー mono_0812mono_0812
提出日時 2021-04-02 22:20:16
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 552 bytes
コンパイル時間 153 ms
コンパイル使用メモリ 10,820 KB
実行使用メモリ 8,360 KB
最終ジャッジ日時 2023-08-25 12:30:24
合計ジャッジ時間 1,450 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
8,264 KB
testcase_01 AC 15 ms
7,868 KB
testcase_02 AC 15 ms
7,776 KB
testcase_03 AC 16 ms
8,200 KB
testcase_04 WA -
testcase_05 AC 16 ms
8,220 KB
testcase_06 AC 15 ms
7,780 KB
testcase_07 AC 15 ms
8,196 KB
testcase_08 AC 16 ms
8,308 KB
testcase_09 AC 15 ms
7,868 KB
testcase_10 AC 15 ms
7,736 KB
testcase_11 AC 15 ms
8,340 KB
testcase_12 AC 16 ms
8,180 KB
testcase_13 AC 15 ms
8,256 KB
testcase_14 AC 15 ms
7,832 KB
testcase_15 AC 15 ms
7,832 KB
testcase_16 AC 16 ms
7,984 KB
testcase_17 AC 16 ms
8,164 KB
testcase_18 AC 15 ms
7,944 KB
testcase_19 AC 15 ms
7,824 KB
testcase_20 AC 15 ms
7,948 KB
testcase_21 AC 15 ms
8,324 KB
testcase_22 AC 15 ms
8,360 KB
testcase_23 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

def I(): return input()
def IS(): return input().split()
def II(): return int(input())
def IIS(): return map(int, input().split())
def LIIS(): return list(map(int, input().split()))
def ZER(N): return [False for _ in range(N)]


INF = 10**30
MOD = 10**9+7


#         V
#    / ̄ψ ̄\
#   | 合格祈願 |
#   |_____|


##############################################################################

n,k=IIS()
for i in range(k):
    if n%2:
        n-=3
    else:
        n/=2
    if n==1:
        print("YES")
        exit()
print("NO")
0