結果

問題 No.523 LED
ユーザー c-yanc-yan
提出日時 2021-02-01 04:31:50
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 211 ms / 2,000 ms
コード長 171 bytes
コンパイル時間 331 ms
コンパイル使用メモリ 87,108 KB
実行使用メモリ 76,140 KB
最終ジャッジ日時 2023-09-12 10:06:15
合計ジャッジ時間 4,614 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 69 ms
71,428 KB
testcase_01 AC 71 ms
71,648 KB
testcase_02 AC 76 ms
75,836 KB
testcase_03 AC 71 ms
71,248 KB
testcase_04 AC 70 ms
71,428 KB
testcase_05 AC 211 ms
76,056 KB
testcase_06 AC 71 ms
71,344 KB
testcase_07 AC 72 ms
71,668 KB
testcase_08 AC 72 ms
71,248 KB
testcase_09 AC 76 ms
75,916 KB
testcase_10 AC 70 ms
71,396 KB
testcase_11 AC 74 ms
76,048 KB
testcase_12 AC 74 ms
76,044 KB
testcase_13 AC 100 ms
75,892 KB
testcase_14 AC 72 ms
75,892 KB
testcase_15 AC 75 ms
75,900 KB
testcase_16 AC 74 ms
76,016 KB
testcase_17 AC 75 ms
75,992 KB
testcase_18 AC 210 ms
75,896 KB
testcase_19 AC 122 ms
75,984 KB
testcase_20 AC 116 ms
76,080 KB
testcase_21 AC 174 ms
75,988 KB
testcase_22 AC 188 ms
75,980 KB
testcase_23 AC 187 ms
76,140 KB
testcase_24 AC 74 ms
76,096 KB
権限があれば一括ダウンロードができます

ソースコード

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), m - 2, m)
result %= m
print(result)
0