結果

問題 No.523 LED
ユーザー convexineqconvexineq
提出日時 2021-02-11 00:56:04
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 211 ms / 2,000 ms
コード長 112 bytes
コンパイル時間 1,144 ms
コンパイル使用メモリ 86,872 KB
実行使用メモリ 75,704 KB
最終ジャッジ日時 2023-09-22 21:44:22
合計ジャッジ時間 4,388 ms
ジャッジサーバーID
(参考情報)
judge15 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,456 KB
testcase_01 AC 71 ms
71,328 KB
testcase_02 AC 75 ms
75,456 KB
testcase_03 AC 72 ms
71,464 KB
testcase_04 AC 72 ms
71,344 KB
testcase_05 AC 211 ms
75,492 KB
testcase_06 AC 73 ms
71,292 KB
testcase_07 AC 72 ms
71,372 KB
testcase_08 AC 72 ms
71,232 KB
testcase_09 AC 88 ms
75,460 KB
testcase_10 AC 71 ms
71,432 KB
testcase_11 AC 74 ms
75,548 KB
testcase_12 AC 74 ms
75,632 KB
testcase_13 AC 102 ms
75,704 KB
testcase_14 AC 74 ms
75,584 KB
testcase_15 AC 75 ms
75,560 KB
testcase_16 AC 75 ms
75,468 KB
testcase_17 AC 74 ms
75,584 KB
testcase_18 AC 211 ms
75,516 KB
testcase_19 AC 123 ms
75,688 KB
testcase_20 AC 117 ms
75,472 KB
testcase_21 AC 175 ms
75,584 KB
testcase_22 AC 191 ms
75,580 KB
testcase_23 AC 189 ms
75,516 KB
testcase_24 AC 76 ms
75,464 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

MOD = 10**9+7 
n = int(input())
a = 1
for i in range(1,2*n+1): a = a*i%MOD
b = pow(2,MOD-n-1,MOD)
print(a*b%MOD)
0