結果
| 問題 | 
                            No.2481 Shiritori
                             | 
                    
| コンテスト | |
| ユーザー | 
                             nono00
                         | 
                    
| 提出日時 | 2023-09-22 22:00:40 | 
| 言語 | C++23  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 534 bytes | 
| コンパイル時間 | 2,498 ms | 
| コンパイル使用メモリ | 274,820 KB | 
| 実行使用メモリ | 7,844 KB | 
| 最終ジャッジ日時 | 2025-06-20 01:51:05 | 
| 合計ジャッジ時間 | 3,515 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 38 | 
ソースコード
#include <bits/stdc++.h>
namespace nono {
void solve() {
    long long n, m;
    std::cin >> n >> m;
    bool first = false;
    if (m <= 2) {
        first = true;
    } else if (n % 2 == 1) {
        first = true;
    }
    if (first) {
        std::cout << "First" << std::endl;
    } else {
        std::cout << "Second" << std::endl;
    }
}
}  //  namespace nono
int main() {
    std::cin.tie(0)->sync_with_stdio(false);
    std::cout << std::fixed << std::setprecision(15);
    int t = 1;
    while (t--) nono::solve();
}
            
            
            
        
            
nono00