結果

問題 No.523 LED
ユーザー H3PO4H3PO4
提出日時 2020-09-13 09:40:43
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 858 ms / 2,000 ms
コード長 116 bytes
コンパイル時間 283 ms
コンパイル使用メモリ 87,196 KB
実行使用メモリ 76,680 KB
最終ジャッジ日時 2023-09-02 10:21:48
合計ジャッジ時間 7,496 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,160 KB
testcase_01 AC 70 ms
71,588 KB
testcase_02 AC 76 ms
76,120 KB
testcase_03 AC 72 ms
71,432 KB
testcase_04 AC 72 ms
71,584 KB
testcase_05 AC 852 ms
76,440 KB
testcase_06 AC 70 ms
71,416 KB
testcase_07 AC 69 ms
71,372 KB
testcase_08 AC 71 ms
71,200 KB
testcase_09 AC 75 ms
75,828 KB
testcase_10 AC 70 ms
71,652 KB
testcase_11 AC 72 ms
71,468 KB
testcase_12 AC 70 ms
71,432 KB
testcase_13 AC 221 ms
76,440 KB
testcase_14 AC 71 ms
71,576 KB
testcase_15 AC 73 ms
75,848 KB
testcase_16 AC 72 ms
71,428 KB
testcase_17 AC 74 ms
75,836 KB
testcase_18 AC 858 ms
76,680 KB
testcase_19 AC 345 ms
76,480 KB
testcase_20 AC 315 ms
76,492 KB
testcase_21 AC 661 ms
76,588 KB
testcase_22 AC 733 ms
76,488 KB
testcase_23 AC 727 ms
76,380 KB
testcase_24 AC 82 ms
75,896 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
MOD = 1000000007
ans = 1
for i in range(N):
    ans = ans * (2 * i + 1) * (i + 1) % MOD
print(ans)
0