結果
| 問題 |
No.2814 Block Game
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-07-15 19:36:58 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 166 bytes |
| コンパイル時間 | 473 ms |
| コンパイル使用メモリ | 82,600 KB |
| 実行使用メモリ | 77,288 KB |
| 最終ジャッジ日時 | 2024-07-15 19:37:13 |
| 合計ジャッジ時間 | 13,916 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | WA * 20 |
ソースコード
T=int(input())
for i in range(T):
N,S=input().split()
if (int(N)&-int(N))==int(N):print("Alice" if S=="Even" else "Bob")
else:print("Alice" if int(N)%2 else "Bob")