結果
問題 | No.2481 Shiritori |
ユーザー |
|
提出日時 | 2023-09-22 21:40:44 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 2 ms / 2,000 ms |
コード長 | 807 bytes |
コンパイル時間 | 3,087 ms |
コンパイル使用メモリ | 242,688 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-07-08 12:25:57 |
合計ジャッジ時間 | 3,516 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 37 |
ソースコード
#include <bits/stdc++.h>// #include <x86intrin.h>using namespace std;using namespace numbers;int main(){cin.tie(0)->sync_with_stdio(0);cin.exceptions(ios::badbit | ios::failbit);long long n, m;cin >> n >> m;if(m == 1){cout << "First\n";return 0;}m >= 3 && n & 1 || m == 2 ? cout << "First\n" : cout << "Second\n";return 0;}/**/////////////////////////////////////////////////////////////////////////////////////////// //// Coded by Aeren //// //////////////////////////////////////////////////////////////////////////////////////////