結果
| 問題 | No.2481 Shiritori |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-09-22 22:30:27 |
| 言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 429 bytes |
| コンパイル時間 | 744 ms |
| コンパイル使用メモリ | 96,764 KB |
| 実行使用メモリ | 7,844 KB |
| 最終ジャッジ日時 | 2025-06-20 01:51:33 |
| 合計ジャッジ時間 | 1,673 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 38 |
ソースコード
#include <algorithm>
#include <iostream>
#include <tuple>
#include <utility>
#include <vector>
using namespace std;
void solve() {
long long n, m;
cin >> n >> m;
if (n % 2 == 1 || m <= 2) {
cout << "First" << '\n';
} else {
cout << "Second" << '\n';
}
}
int main() {
std::cin.tie(nullptr);
std::ios_base::sync_with_stdio(false);
int T = 1;
for (int t = 0; t < T; t++) {
solve();
}
return 0;
}