結果
| 問題 | No.3112 Decrement or Mod Game |
| コンテスト | |
| ユーザー |
みどりむし🦠
|
| 提出日時 | 2025-04-19 22:46:46 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 269 bytes |
| 記録 | |
| コンパイル時間 | 542 ms |
| コンパイル使用メモリ | 82,584 KB |
| 実行使用メモリ | 67,200 KB |
| 最終ジャッジ日時 | 2025-04-19 22:46:51 |
| 合計ジャッジ時間 | 5,550 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 55 RE * 10 |
ソースコード
a, b = map(int, input().split())
if a == b:
print("Alice")
elif a >= b and a % b == 0:
print("Alice")
elif b >= (a - 1) and b % (a - 1) == 0:
print("Bob")
elif a < b:
print("Bob")
elif a > b + 1:
print("Alice")
elif a == b + 1:
print("Bob")
else:
assert False
みどりむし🦠