結果

問題 No.523 LED
ユーザー c-yanc-yan
提出日時 2021-02-01 03:54:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 213 ms / 2,000 ms
コード長 168 bytes
コンパイル時間 308 ms
コンパイル使用メモリ 87,132 KB
実行使用メモリ 76,132 KB
最終ジャッジ日時 2023-09-12 09:59:34
合計ジャッジ時間 4,263 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,640 KB
testcase_01 AC 73 ms
71,256 KB
testcase_02 AC 77 ms
75,828 KB
testcase_03 AC 75 ms
71,376 KB
testcase_04 AC 71 ms
71,608 KB
testcase_05 AC 213 ms
76,032 KB
testcase_06 AC 70 ms
71,468 KB
testcase_07 AC 70 ms
71,444 KB
testcase_08 AC 71 ms
71,388 KB
testcase_09 AC 75 ms
76,120 KB
testcase_10 AC 71 ms
71,352 KB
testcase_11 AC 75 ms
75,964 KB
testcase_12 AC 75 ms
76,108 KB
testcase_13 AC 99 ms
75,968 KB
testcase_14 AC 74 ms
75,832 KB
testcase_15 AC 74 ms
76,076 KB
testcase_16 AC 74 ms
75,936 KB
testcase_17 AC 74 ms
75,832 KB
testcase_18 AC 210 ms
76,108 KB
testcase_19 AC 123 ms
76,100 KB
testcase_20 AC 116 ms
75,968 KB
testcase_21 AC 176 ms
76,132 KB
testcase_22 AC 189 ms
76,092 KB
testcase_23 AC 188 ms
75,824 KB
testcase_24 AC 77 ms
75,996 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), -1, m)
result %= m
print(result)
0