結果

問題 No.3484 Just a Maze Game
コンテスト
ユーザー hiromi_ayase
提出日時 2026-03-27 22:26:44
言語 C++23
(gcc 15.2.0 + boost 1.89.0)
コンパイル:
g++-15 -O2 -lm -std=c++23 -Wuninitialized -DONLINE_JUDGE -o a.out _filename_
実行:
./a.out
結果
WA  
実行時間 -
コード長 609 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 4,268 ms
コンパイル使用メモリ 373,928 KB
実行使用メモリ 7,720 KB
最終ジャッジ日時 2026-03-27 22:26:51
合計ジャッジ時間 4,932 ms
ジャッジサーバーID
(参考情報)
judge3_0 / judge1_1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 14 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

#include <bits/stdc++.h>

#include <atcoder/all>
using namespace std;
using i32 = int;
using u32 = unsigned int;
using i64 = long long;
using u64 = unsigned long long;
#define FAST_IO                \
  ios::sync_with_stdio(false); \
  cin.tie(0);
const i64 INF = 1001001001001001001;
using Modint = atcoder::static_modint<998244353>;

int main() {
  FAST_IO

  int T;
  cin >> T;
  while (T--) {
    i64 N, M, B, W;
    cin >> N >> M >> B >> W;
    if (W == 3 || W == 5 || W == 7) {
      cout << "Bob" << endl;
    } else {
      cout << "Alice" << endl;
    }

    // 3k, 3k+2
    // 10以上の3k+1
  }
}
0