結果
| 問題 | No.2586 Yet Another Sugoroku Problem | 
| コンテスト | |
| ユーザー |  | 
| 提出日時 | 2023-12-14 10:00:18 | 
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) | 
| 結果 | 
                                AC
                                 
                             | 
| 実行時間 | 2 ms / 2,000 ms | 
| コード長 | 185 bytes | 
| コンパイル時間 | 4,233 ms | 
| コンパイル使用メモリ | 249,552 KB | 
| 最終ジャッジ日時 | 2025-02-18 10:53:33 | 
| ジャッジサーバーID (参考情報) | judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 25 | 
ソースコード
#include <bits/stdc++.h>
#include <atcoder/all>
using namespace std;
using mint = atcoder::modint998244353;
int main(){
	int n;
	cin >> n;
	cout << (mint(2) / (n + 1)).val() << '\n';
}
            
            
            
        