結果

問題 No.2044 Infinite Nim
ユーザー t98slider
提出日時 2022-08-24 08:44:43
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
AC  
実行時間 44 ms / 2,000 ms
コード長 179 bytes
コンパイル時間 1,692 ms
コンパイル使用メモリ 164,940 KB
実行使用メモリ 5,248 KB
最終ジャッジ日時 2024-10-11 18:52:34
合計ジャッジ時間 3,331 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 34
権限があれば一括ダウンロードができます

ソースコード

diff #

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

int main(){
    int n, v, ans = 0;
    cin >> n;
    while(n--)cin >> v, ans ^= v;
    cout << (ans ? "First" : "Second") << endl;
}
0