結果

問題 No.726 Tree Game
ユーザー xuzijian629
提出日時 2018-08-28 08:50:17
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 588 bytes
コンパイル時間 782 ms
コンパイル使用メモリ 90,328 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-07 05:05:30
合計ジャッジ時間 1,497 ms
ジャッジサーバーID
(参考情報)
judge3 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 21 WA * 4
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
#include <vector>
#include <algorithm>
#include <cmath>
#include <stack>
#include <queue>
#include <map>
#include <unordered_map>
#include <cassert>
using namespace std;
using i64 = int64_t;
constexpr i64 mod = 1e9 + 7;
using vi = vector<i64>;
using vvi = vector<vi>;
using ii = pair<i64, i64>;
using vii = vector<ii>;

int main() {
    int y, x;
    cin >> y >> x;
    if (y == 2 || x == 2) {
        cout << "Second" << endl;
        return 0;
    }
    if ((x + y) % 2 == 0) {
        cout << "Second" << endl;
    } else {
        cout << "First" << endl;
    }
}
0