結果

問題 No.3112 Decrement or Mod Game
コンテスト
ユーザー n_bitand_n_per_3
提出日時 2025-12-03 12:51:47
言語 PyPy3
(8.0.0 + ACL)
コンパイル:
pypy3 -mpy_compile _filename_
実行:
pypy3 _filename_
結果
AC  
実行時間 33 ms / 2,000 ms
+ 84µs
コード長 211 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 82 ms
コンパイル使用メモリ 64,780 KB
実行使用メモリ 53,808 KB
最終ジャッジ日時 2026-10-17 02:31:57
合計ジャッジ時間 5,580 ms
ジャッジサーバーID
(参考情報)
judge1_0 / judge4_0
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 67
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

A,B = map(int,input().split())

if A == 1 or B == 1:
	print("Alice")
elif A == B:
	print("Alice")
elif A+1 == B:
	print("Alice")
elif A == B+1:
	print("Bob")
elif A > B:
	print("Alice")
elif A < B:
	print("Bob")
0