結果
| 問題 | No.3484 Just a Maze Game |
| コンテスト | |
| ユーザー |
detteiuu
|
| 提出日時 | 2026-03-27 22:28:31 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 79 ms / 2,000 ms |
| コード長 | 366 bytes |
| 記録 | |
| コンパイル時間 | 281 ms |
| コンパイル使用メモリ | 85,356 KB |
| 実行使用メモリ | 74,112 KB |
| 最終ジャッジ日時 | 2026-03-27 22:28:48 |
| 合計ジャッジ時間 | 2,128 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 24 |
ソースコード
from sys import stdin
input = stdin.readline
for _ in range(int(input())):
N, M, B, W = map(int, input().split())
if min(N, M) == 1:
print("Bob")
elif W == 3 or W == 5 or W == 7:
print("Bob")
elif min(N, M) == 2:
if W%2 == 0:
print("Alice")
else:
print("Bob")
else:
print("Alice")
detteiuu