結果

問題 No.1945 Go Push!
ユーザー Maffy-0Maffy-0
提出日時 2022-06-18 10:00:42
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 91 ms / 2,000 ms
コード長 699 bytes
コンパイル時間 1,750 ms
コンパイル使用メモリ 163,328 KB
実行使用メモリ 5,376 KB
最終ジャッジ日時 2024-04-18 03:16:03
合計ジャッジ時間 3,598 ms
ジャッジサーバーID
(参考情報)
judge1 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
5,248 KB
testcase_01 AC 2 ms
5,376 KB
testcase_02 AC 2 ms
5,376 KB
testcase_03 AC 2 ms
5,376 KB
testcase_04 AC 2 ms
5,376 KB
testcase_05 AC 2 ms
5,376 KB
testcase_06 AC 2 ms
5,376 KB
testcase_07 AC 2 ms
5,376 KB
testcase_08 AC 23 ms
5,376 KB
testcase_09 AC 24 ms
5,376 KB
testcase_10 AC 60 ms
5,376 KB
testcase_11 AC 25 ms
5,376 KB
testcase_12 AC 45 ms
5,376 KB
testcase_13 AC 51 ms
5,376 KB
testcase_14 AC 5 ms
5,376 KB
testcase_15 AC 23 ms
5,376 KB
testcase_16 AC 23 ms
5,376 KB
testcase_17 AC 22 ms
5,376 KB
testcase_18 AC 36 ms
5,376 KB
testcase_19 AC 68 ms
5,376 KB
testcase_20 AC 59 ms
5,376 KB
testcase_21 AC 34 ms
5,376 KB
testcase_22 AC 91 ms
5,376 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<bits/stdc++.h>
using namespace std;
//#include <atcoder/all>
//using namespace atcoder;
using ll = long long;
using P = pair<int,int>;
using Pll = pair<ll,ll>;
using Graph = vector<vector<int>>;
#define rep(i, n) for (ll i = 0; i < (n); ++i)
#define rep1(i,n) for(ll i = 1; i <= (n); ++i)
#define drep(i,n) for(ll i = (n)-1; i >= 0; --i)
#define srep(i,s,t) for (ll i = s; i < (t); ++i)
#define all(x) (x).begin(),(x).end()
#define rall(x) (x).rbegin(),(x).rend()

void solve(){
    int n;
    cin >> n;
    vector<int> a(n);
    rep(i,n) cin >> a[i];
    if(n%2 == 1) cout << "First";
    else cout << "Second";
    cout << endl;
    return;
}

int main(void){
    solve();
    return 0;
}
0