結果

問題 No.3112 Decrement or Mod Game
ユーザー miya145592
提出日時 2025-04-19 02:55:02
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 37 ms / 2,000 ms
コード長 238 bytes
コンパイル時間 598 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 51,968 KB
最終ジャッジ日時 2025-04-19 02:55:07
合計ジャッジ時間 4,895 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 65
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
input = sys.stdin.readline
A, B = map(int, input().split())
if A==1:
    print("Alice")
    exit()
if A==B:
    print("Alice")
    exit()
if A==B+1:
    print("Bob")
    exit()
if A>B:
    print("Alice")
    exit()
print("Bob")
0