結果

問題 No.1945 Go Push!
ユーザー piyopiyonamakopiyopiyonamako
提出日時 2022-05-20 22:55:28
言語 C++14
(gcc 12.3.0 + boost 1.83.0)
結果
AC  
実行時間 5 ms / 2,000 ms
コード長 1,831 bytes
コンパイル時間 1,548 ms
コンパイル使用メモリ 168,952 KB
実行使用メモリ 9,788 KB
最終ジャッジ日時 2023-10-20 13:47:37
合計ジャッジ時間 2,841 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 5 ms
9,788 KB
testcase_01 AC 4 ms
9,788 KB
testcase_02 AC 5 ms
9,788 KB
testcase_03 AC 4 ms
9,788 KB
testcase_04 AC 5 ms
9,788 KB
testcase_05 AC 5 ms
9,788 KB
testcase_06 AC 5 ms
9,788 KB
testcase_07 AC 5 ms
9,788 KB
testcase_08 AC 5 ms
9,788 KB
testcase_09 AC 5 ms
9,788 KB
testcase_10 AC 4 ms
9,788 KB
testcase_11 AC 5 ms
9,788 KB
testcase_12 AC 4 ms
9,788 KB
testcase_13 AC 5 ms
9,788 KB
testcase_14 AC 4 ms
9,788 KB
testcase_15 AC 4 ms
9,788 KB
testcase_16 AC 5 ms
9,788 KB
testcase_17 AC 4 ms
9,788 KB
testcase_18 AC 5 ms
9,788 KB
testcase_19 AC 5 ms
9,788 KB
testcase_20 AC 4 ms
9,788 KB
testcase_21 AC 5 ms
9,788 KB
testcase_22 AC 4 ms
9,788 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef string st ;
typedef long double ld ;
typedef pair<int, int> pi;
typedef pair<ll,ll> pl ;
typedef tuple<int,int,int>  ti ;
typedef tuple<ll,ll,ll> tl ;
typedef vector<vector<int>> vi ;
typedef vector<vector<ll>> vl ;
typedef vector<vector<bool>> vb ;
typedef vector<vector<st>> vs ;
typedef vector<vector<char>> vc;
const ll mod0 = 1000000007;
const ll mod1 = 998244353 ;
const ll LINF = (1LL << 60);
const int INF = (1 << 30);


#define pb                push_back
#define ppb               pop_back
#define pf                push_front
#define ppf               pop_front
#define all(x)            x.begin(), x.end()
#define rep(i,a,n)        for (ll i = a; i <= (n); ++i)
#define f                 first
#define s                 second
#define re                return 0;
#define fore(i,a)         for(auto &i:a)


ll gcd(ll a, ll b){
 
   if(b == 0){
    return a;
}
return gcd(b,a%b) ;
}


ll lcm(ll a, ll b){
    
    ll ans = a*b /gcd(a,b) ;
    return ans ;
}

bool nis(ll q){
    
     // 素数だったらtrue ,素数じゃなかったらfalse
     
       if(q == 1){
           
           return false ;
       }
       
      for(ll i=2;i*i <=q;i++){
          if(q%i == 0){
              return false ;
          }
      }
    return true ;
}





ll digit_sum(ll a){
  
    ll sum = 0;
    while(a > 0){
       sum += a%10 ;
       a /= 10 ;
    }
  return sum ;
}


#define  C            cout   
#define  E            endl;

const ll dx[4] = { 1, 0, -1, 0 };
const ll dy[4] = { 0, 1, 0, -1 };

// ↑↑↑ 型が	ll であることに注意 !!!!
 
 st Y = "Yes" ; 
 st YY = "No" ;


vector<ll> G[1 << 18] ;

int main(void){ 

ll N ;
cin>>N ;

if(N%2 == 0){
    C << "Second" << E
}else{
    
    C << "First" << E
}
  
re

}
0