結果

問題 No.3112 Decrement or Mod Game
ユーザー moti
提出日時 2025-04-19 11:20:10
言語 C++17(clang)
(17.0.6 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 483 bytes
コンパイル時間 1,278 ms
コンパイル使用メモリ 138,872 KB
実行使用メモリ 7,844 KB
最終ジャッジ日時 2025-04-19 11:20:18
合計ジャッジ時間 3,471 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 55 WA * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <string>

using namespace std;

typedef unsigned long long ll;

#define rep(i, n) for (int i = 0; i < int(n); i++)


int main() {
  ll a, b; cin >> a >> b;
  if (a == 1) {
    cout << "Alice" << endl;
    return 0;
  }
  if (b == 1) {
    cout << "Bob" << endl;
    return 0;
  }
  if (a > b) {
    cout << "Alice" << endl;
    return 0;
  }
  else {
    cout << "Bob" << endl;
    return 0;
  }
}
0