結果

問題 No.1465 Archaea
ユーザー mono_0812
提出日時 2021-04-02 22:20:55
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 589 bytes
コンパイル時間 142 ms
コンパイル使用メモリ 12,672 KB
実行使用メモリ 10,880 KB
最終ジャッジ日時 2024-12-24 01:20:19
合計ジャッジ時間 1,812 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 19 WA * 1
権限があれば一括ダウンロードができます

ソースコード

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