結果

問題 No.3112 Decrement or Mod Game
ユーザー hir355
提出日時 2025-04-18 22:54:48
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 42 ms / 2,000 ms
コード長 193 bytes
コンパイル時間 309 ms
コンパイル使用メモリ 82,840 KB
実行使用メモリ 53,712 KB
最終ジャッジ日時 2025-04-18 22:54:54
合計ジャッジ時間 5,047 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 65
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b = map(int, input().split())
if a == 1 or b == 1:
    print('Alice')
elif b > a:
    print('Bob')
elif a == b:
    print('Alice')
elif a == b + 1:
    print('Bob')
else:
    print('Alice')
0