結果
問題 |
No.523 LED
|
ユーザー |
|
提出日時 | 2025-03-20 12:31:47 |
言語 | C++23 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 1,437 ms / 2,000 ms |
コード長 | 470 bytes |
コンパイル時間 | 3,357 ms |
コンパイル使用メモリ | 274,332 KB |
実行使用メモリ | 7,328 KB |
最終ジャッジ日時 | 2025-03-20 12:31:59 |
合計ジャッジ時間 | 12,188 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 25 |
ソースコード
#include <bits/stdc++.h> using namespace std; using ll = long long; #define rep(i, s, e) for (int i = (int)(s); i < (int)(e); ++i) #define all(a) (a).begin(),(a).end() #include <atcoder/modint> using namespace atcoder; using mint = modint1000000007; int main() { cin.tie(nullptr); ios_base::sync_with_stdio(false); int N; cin >> N; mint ans = 1; rep(i, 1, 2*N + 1) ans *= i; rep(i, 0, N) ans /= 2; cout << ans.val() << '\n'; }