結果

問題 No.523 LED
ユーザー rlangevinrlangevin
提出日時 2023-01-26 00:23:49
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 811 ms / 2,000 ms
コード長 125 bytes
コンパイル時間 285 ms
コンパイル使用メモリ 86,856 KB
実行使用メモリ 76,600 KB
最終ジャッジ日時 2023-09-09 08:11:41
合計ジャッジ時間 7,341 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 65 ms
71,128 KB
testcase_01 AC 65 ms
71,128 KB
testcase_02 AC 72 ms
75,816 KB
testcase_03 AC 63 ms
71,408 KB
testcase_04 AC 65 ms
71,076 KB
testcase_05 AC 811 ms
76,520 KB
testcase_06 AC 64 ms
71,140 KB
testcase_07 AC 65 ms
71,336 KB
testcase_08 AC 63 ms
71,124 KB
testcase_09 AC 67 ms
75,864 KB
testcase_10 AC 65 ms
71,308 KB
testcase_11 AC 67 ms
70,996 KB
testcase_12 AC 65 ms
70,928 KB
testcase_13 AC 203 ms
76,460 KB
testcase_14 AC 65 ms
71,120 KB
testcase_15 AC 67 ms
75,732 KB
testcase_16 AC 63 ms
71,000 KB
testcase_17 AC 69 ms
75,728 KB
testcase_18 AC 797 ms
76,140 KB
testcase_19 AC 323 ms
76,144 KB
testcase_20 AC 291 ms
76,600 KB
testcase_21 AC 613 ms
76,276 KB
testcase_22 AC 683 ms
76,276 KB
testcase_23 AC 682 ms
76,464 KB
testcase_24 AC 75 ms
76,456 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
mod = 10 ** 9 + 7

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