結果

問題 No.523 LED
ユーザー roarisroaris
提出日時 2019-08-12 12:04:40
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 817 ms / 2,000 ms
コード長 126 bytes
コンパイル時間 1,249 ms
コンパイル使用メモリ 86,760 KB
実行使用メモリ 76,364 KB
最終ジャッジ日時 2023-10-13 14:03:46
合計ジャッジ時間 7,609 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
71,212 KB
testcase_01 AC 66 ms
71,148 KB
testcase_02 AC 73 ms
76,016 KB
testcase_03 AC 67 ms
71,168 KB
testcase_04 AC 67 ms
71,300 KB
testcase_05 AC 817 ms
76,272 KB
testcase_06 AC 66 ms
71,176 KB
testcase_07 AC 64 ms
71,148 KB
testcase_08 AC 66 ms
71,196 KB
testcase_09 AC 70 ms
75,836 KB
testcase_10 AC 69 ms
71,200 KB
testcase_11 AC 68 ms
71,224 KB
testcase_12 AC 70 ms
71,316 KB
testcase_13 AC 213 ms
76,228 KB
testcase_14 AC 67 ms
70,988 KB
testcase_15 AC 70 ms
75,788 KB
testcase_16 AC 69 ms
71,144 KB
testcase_17 AC 70 ms
75,660 KB
testcase_18 AC 794 ms
76,340 KB
testcase_19 AC 325 ms
76,304 KB
testcase_20 AC 290 ms
76,364 KB
testcase_21 AC 594 ms
76,068 KB
testcase_22 AC 667 ms
76,084 KB
testcase_23 AC 667 ms
76,336 KB
testcase_24 AC 77 ms
76,356 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
MOD = 10 ** 9 + 7
ans = 1

for i in range(N):
    ans *= (N - i) * (2*N - 2*i - 1)
    ans %= MOD

print(ans)
0