結果

問題 No.1277 級数入り級数
ユーザー chineristACchineristAC
提出日時 2020-10-30 22:55:07
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 142 ms / 2,000 ms
コード長 115 bytes
コンパイル時間 294 ms
コンパイル使用メモリ 87,312 KB
実行使用メモリ 76,144 KB
最終ジャッジ日時 2023-09-29 07:59:34
合計ジャッジ時間 7,816 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
71,428 KB
testcase_01 AC 74 ms
71,324 KB
testcase_02 AC 76 ms
76,032 KB
testcase_03 AC 76 ms
76,144 KB
testcase_04 AC 76 ms
75,984 KB
testcase_05 AC 76 ms
75,992 KB
testcase_06 AC 76 ms
75,948 KB
testcase_07 AC 75 ms
75,972 KB
testcase_08 AC 76 ms
75,880 KB
testcase_09 AC 112 ms
76,144 KB
testcase_10 AC 109 ms
76,084 KB
testcase_11 AC 115 ms
75,988 KB
testcase_12 AC 100 ms
76,112 KB
testcase_13 AC 90 ms
75,992 KB
testcase_14 AC 116 ms
76,072 KB
testcase_15 AC 142 ms
75,880 KB
testcase_16 AC 124 ms
76,080 KB
testcase_17 AC 123 ms
76,032 KB
testcase_18 AC 138 ms
76,092 KB
testcase_19 AC 142 ms
75,880 KB
testcase_20 AC 88 ms
75,776 KB
testcase_21 AC 108 ms
75,888 KB
testcase_22 AC 119 ms
76,080 KB
testcase_23 AC 96 ms
75,788 KB
testcase_24 AC 135 ms
76,020 KB
testcase_25 AC 125 ms
75,988 KB
testcase_26 AC 141 ms
75,792 KB
testcase_27 AC 79 ms
75,788 KB
testcase_28 AC 115 ms
75,972 KB
testcase_29 AC 85 ms
75,884 KB
testcase_30 AC 110 ms
75,856 KB
testcase_31 AC 126 ms
75,980 KB
testcase_32 AC 103 ms
75,884 KB
testcase_33 AC 138 ms
75,852 KB
testcase_34 AC 119 ms
76,016 KB
testcase_35 AC 87 ms
76,044 KB
testcase_36 AC 90 ms
76,084 KB
testcase_37 AC 92 ms
76,140 KB
testcase_38 AC 91 ms
75,880 KB
testcase_39 AC 137 ms
76,092 KB
testcase_40 AC 83 ms
76,084 KB
testcase_41 AC 126 ms
76,004 KB
testcase_42 AC 125 ms
76,136 KB
testcase_43 AC 80 ms
76,024 KB
testcase_44 AC 78 ms
75,880 KB
testcase_45 AC 104 ms
76,076 KB
testcase_46 AC 104 ms
76,036 KB
testcase_47 AC 103 ms
76,028 KB
testcase_48 AC 106 ms
76,108 KB
testcase_49 AC 116 ms
76,020 KB
testcase_50 AC 75 ms
71,672 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

print(1)

b = 1
for i in range(1,n+1):
    b *= i
    b %= mod

print(b)

print(n)
0