結果
問題 |
No.523 LED
|
ユーザー |
|
提出日時 | 2023-10-21 11:49:19 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 94 ms / 2,000 ms |
コード長 | 259 bytes |
コンパイル時間 | 3,463 ms |
コンパイル使用メモリ | 228,740 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-21 13:06:12 |
合計ジャッジ時間 | 4,976 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 25 |
ソースコード
#include <bits/stdc++.h> #include <atcoder/all> using namespace std; using mint=atcoder::modint1000000007; int main(){ int n; cin >> n; mint ans = 1; for(int i = 1; i <= 2 * n; i++) ans *= i; cout << (ans / mint(2).pow(n)).val() <<'\n'; }