結果

問題 No.3112 Decrement or Mod Game
ユーザー moon17
提出日時 2025-04-19 16:44:43
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 40 ms / 2,000 ms
コード長 130 bytes
コンパイル時間 514 ms
コンパイル使用メモリ 81,908 KB
実行使用メモリ 53,844 KB
最終ジャッジ日時 2025-04-19 16:44:49
合計ジャッジ時間 4,908 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 65
権限があれば一括ダウンロードができます

ソースコード

diff #

a,b=map(int,input().split())
ans='Alice'
if a==1 or b==1:
	ans='Alice'
elif a<b:
	ans='Bob'
elif (a-1)%b==0:
	ans='Bob'
print(ans)
0