結果

問題 No.523 LED
ユーザー c-yan
提出日時 2021-02-01 03:54:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 171 ms / 2,000 ms
コード長 168 bytes
コンパイル時間 237 ms
コンパイル使用メモリ 82,076 KB
実行使用メモリ 59,104 KB
最終ジャッジ日時 2024-06-29 22:40:05
合計ジャッジ時間 2,657 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

m = 1000000007

N = int(input())

result = 1
for i in range(1, N * 2 + 1):
    result *= i
    result %= m
result *= pow(pow(2, N, m), -1, m)
result %= m
print(result)
0