結果
| 問題 | No.3460 Chocolate Divide Game |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-12-11 01:45:01 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 172 bytes |
| 記録 | |
| コンパイル時間 | 697 ms |
| コンパイル使用メモリ | 20,956 KB |
| 実行使用メモリ | 23,332 KB |
| 最終ジャッジ日時 | 2026-02-28 13:00:43 |
| 合計ジャッジ時間 | 5,014 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | TLE * 1 -- * 6 |
ソースコード
T = int(input())
for _ in range(T):
N = int(input())
M = N + 1
ans = "Bob"
while M != 1:
if M % 2 == 1:
ans = "Alice"
M //= 2
print(ans)