結果

問題 No.2481 Shiritori
ユーザー askr58
提出日時 2023-09-22 22:24:09
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 329 bytes
コンパイル時間 3,948 ms
コンパイル使用メモリ 250,996 KB
最終ジャッジ日時 2025-02-17 00:49:04
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 2 WA * 1
other AC * 17 WA * 20
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#include <atcoder/all>
using namespace std;
using namespace atcoder;
using ll=long long;



int main()
{
    ll n,m;
    cin>>n>>m;
    string f="First",s="second";
    if(m==1)cout<<f<<endl;
    else if(m==2&&n==2)cout<<f<<endl;
    else if(m%2==0)cout<<f<<endl;
    else cout<<s<<endl;

    return 0;
}
0