結果
問題 | 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 |
コンパイル時間 | 2,672 ms |
コンパイル使用メモリ | 274,660 KB |
実行使用メモリ | 7,848 KB |
最終ジャッジ日時 | 2025-06-20 01:50:26 |
合計ジャッジ時間 | 3,674 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 38 |
ソースコード
#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 // // // ////////////////////////////////////////////////////////////////////////////////////////