結果

問題 No.2814 Block Game
ユーザー anonymously
提出日時 2024-07-19 22:43:53
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 244 bytes
コンパイル時間 174 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-07-19 22:44:20
合計ジャッジ時間 26,475 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other WA * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

T = int(input())
for t in range(T):
    n, s = input().split()
    n = int(n)
    if n in [1, 2]:
        print("Alice" if s == "Odd" else "Bob")
    elif n == 4:
        print("Bob" if s == "Odd" else "Alice")
    else:
        print("Alice")
0