結果

問題 No.523 LED
ユーザー mlihua09mlihua09
提出日時 2020-09-21 10:04:20
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 845 ms / 2,000 ms
コード長 159 bytes
コンパイル時間 1,421 ms
コンパイル使用メモリ 86,604 KB
実行使用メモリ 76,632 KB
最終ジャッジ日時 2023-09-06 16:57:28
合計ジャッジ時間 7,852 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,136 KB
testcase_01 AC 70 ms
71,124 KB
testcase_02 AC 83 ms
76,108 KB
testcase_03 AC 70 ms
71,228 KB
testcase_04 AC 69 ms
71,144 KB
testcase_05 AC 840 ms
76,328 KB
testcase_06 AC 69 ms
71,192 KB
testcase_07 AC 71 ms
71,148 KB
testcase_08 AC 70 ms
71,224 KB
testcase_09 AC 79 ms
75,916 KB
testcase_10 AC 73 ms
71,220 KB
testcase_11 AC 74 ms
71,240 KB
testcase_12 AC 73 ms
71,348 KB
testcase_13 AC 222 ms
76,352 KB
testcase_14 AC 74 ms
71,136 KB
testcase_15 AC 77 ms
75,592 KB
testcase_16 AC 74 ms
71,148 KB
testcase_17 AC 77 ms
75,876 KB
testcase_18 AC 845 ms
76,424 KB
testcase_19 AC 346 ms
76,608 KB
testcase_20 AC 310 ms
76,188 KB
testcase_21 AC 651 ms
76,144 KB
testcase_22 AC 725 ms
76,144 KB
testcase_23 AC 721 ms
76,424 KB
testcase_24 AC 88 ms
76,632 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

mod = 10 ** 9 + 7

ans = pow(2, (mod - 2) * N, mod)

for i in range(1, 2 * N, 2):
    
    ans *= i * (i + 1)
    ans %= mod
    
print(ans)
0