結果
| 問題 |
No.2481 Shiritori
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-03-30 00:30:43 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 509 bytes |
| コンパイル時間 | 1,480 ms |
| コンパイル使用メモリ | 193,860 KB |
| 実行使用メモリ | 7,844 KB |
| 最終ジャッジ日時 | 2025-06-20 02:28:45 |
| 合計ジャッジ時間 | 2,658 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 38 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
#define forn(i,a,n) for(long long i = a; i < n; i++)
#define endl "\n"
#define int long long
const int MAXN = 200100;
const int MOD = 1000000007;
void solve() {
int n,m;
cin>>n>>m;
if(m<=2 || n%2==1) cout<<"First\n";
else cout<<"Second\n";
return;
}
int32_t main() {
ios::sync_with_stdio(false);
cin.tie(0); cout.tie(0);
int T = 1;
//cin >> T;
for(int I = 1; I <= T; I++) {
solve();
}
return 0;
}