結果

問題 No.3258 Xor Division Game
ユーザー GOTKAKO
提出日時 2025-09-06 07:44:15
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
RE  
実行時間 -
コード長 333 bytes
コンパイル時間 2,149 ms
コンパイル使用メモリ 199,300 KB
実行使用メモリ 12,928 KB
最終ジャッジ日時 2025-09-06 07:44:30
合計ジャッジ時間 13,808 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2
other AC * 2 RE * 65
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;

int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(nullptr);

    int N; cin >> N;
    map<int,int> M;
    for(int i=0; i<N; i++){
        int a; cin >> a;
        M[a]++;
        if(M[a] == 3) assert(false);
    }
    if(N%2) cout << "Alice\n";
    else cout << "Bob\n";
} 
0