結果

問題 No.1465 Archaea
ユーザー mono_0812mono_0812
提出日時 2021-04-02 22:20:55
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 589 bytes
コンパイル時間 349 ms
コンパイル使用メモリ 10,756 KB
実行使用メモリ 8,308 KB
最終ジャッジ日時 2023-08-25 16:17:26
合計ジャッジ時間 1,540 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
8,172 KB
testcase_01 AC 14 ms
7,900 KB
testcase_02 AC 12 ms
7,752 KB
testcase_03 AC 12 ms
8,164 KB
testcase_04 AC 13 ms
8,088 KB
testcase_05 AC 13 ms
8,104 KB
testcase_06 AC 13 ms
7,804 KB
testcase_07 AC 14 ms
8,148 KB
testcase_08 AC 14 ms
8,180 KB
testcase_09 AC 13 ms
7,784 KB
testcase_10 AC 13 ms
7,896 KB
testcase_11 AC 13 ms
8,144 KB
testcase_12 AC 13 ms
8,180 KB
testcase_13 AC 13 ms
8,160 KB
testcase_14 AC 14 ms
7,788 KB
testcase_15 AC 13 ms
7,788 KB
testcase_16 AC 14 ms
7,808 KB
testcase_17 AC 12 ms
8,196 KB
testcase_18 AC 14 ms
7,804 KB
testcase_19 AC 13 ms
7,808 KB
testcase_20 AC 13 ms
7,796 KB
testcase_21 AC 13 ms
8,308 KB
testcase_22 AC 13 ms
8,220 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()
if n==1:
    print("YES")
    exit()
for i in range(k):
    if n%2:
        n-=3
    else:
        n/=2
    if n==1:
        print("YES")
        exit()
print("NO")
0