結果

問題 No.1716 Bonus Nim
ユーザー hotman78
提出日時 2021-11-10 00:55:02
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 240 bytes
コンパイル時間 2,207 ms
コンパイル使用メモリ 192,980 KB
最終ジャッジ日時 2025-01-25 15:05:35
ジャッジサーバーID
(参考情報)
judge9 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 1 WA * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
int main(){
    int t;
    cin>>t;
    while(t--){
        int n;
        cin>>n;
        int x;
        string ans=(n%2?"Alice":"Bob");
        while(n--)cin>>x;
        cout<<ans<<endl;
    }
}
0