結果
| 問題 |
No.3112 Decrement or Mod Game
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-06-07 14:56:23 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 390 bytes |
| コンパイル時間 | 594 ms |
| コンパイル使用メモリ | 82,704 KB |
| 実行使用メモリ | 54,244 KB |
| 最終ジャッジ日時 | 2025-06-07 14:56:28 |
| 合計ジャッジ時間 | 5,358 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 55 WA * 10 |
ソースコード
## https://yukicoder.me/problems/no/3112
def main():
A, B = map(int, input().split())
if A % B == 0:
print("Alice")
else:
if A - 1 > B:
print("Alice")
elif A - 1 == B:
print("Bob")
elif A == B:
print("Alice")
else:
# A < B
print("Bob")
if __name__ == "__main__":
main()