結果

問題 No.1277 級数入り級数
ユーザー hirose_golfhirose_golf
提出日時 2020-10-30 22:54:19
言語 PyPy2
(7.3.8)
結果
AC  
実行時間 136 ms / 2,000 ms
コード長 194 bytes
コンパイル時間 554 ms
使用メモリ 83,232 KB
最終ジャッジ日時 2023-02-21 15:30:30
合計ジャッジ時間 8,060 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
使用メモリ
testcase_00 AC 77 ms
81,860 KB
testcase_01 AC 77 ms
82,032 KB
testcase_02 AC 78 ms
83,232 KB
testcase_03 AC 79 ms
82,884 KB
testcase_04 AC 78 ms
82,908 KB
testcase_05 AC 77 ms
82,988 KB
testcase_06 AC 78 ms
83,164 KB
testcase_07 AC 78 ms
82,960 KB
testcase_08 AC 78 ms
82,884 KB
testcase_09 AC 106 ms
82,976 KB
testcase_10 AC 104 ms
82,732 KB
testcase_11 AC 109 ms
82,908 KB
testcase_12 AC 98 ms
82,752 KB
testcase_13 AC 88 ms
82,956 KB
testcase_14 AC 114 ms
82,920 KB
testcase_15 AC 132 ms
82,736 KB
testcase_16 AC 119 ms
82,896 KB
testcase_17 AC 120 ms
82,748 KB
testcase_18 AC 132 ms
82,996 KB
testcase_19 AC 135 ms
82,884 KB
testcase_20 AC 91 ms
82,732 KB
testcase_21 AC 108 ms
83,156 KB
testcase_22 AC 115 ms
82,908 KB
testcase_23 AC 95 ms
82,736 KB
testcase_24 AC 128 ms
82,892 KB
testcase_25 AC 123 ms
82,980 KB
testcase_26 AC 136 ms
83,212 KB
testcase_27 AC 84 ms
82,876 KB
testcase_28 AC 114 ms
82,736 KB
testcase_29 AC 90 ms
82,944 KB
testcase_30 AC 109 ms
82,984 KB
testcase_31 AC 122 ms
82,768 KB
testcase_32 AC 104 ms
82,928 KB
testcase_33 AC 132 ms
82,912 KB
testcase_34 AC 117 ms
82,960 KB
testcase_35 AC 88 ms
82,740 KB
testcase_36 AC 92 ms
82,936 KB
testcase_37 AC 92 ms
82,872 KB
testcase_38 AC 92 ms
82,884 KB
testcase_39 AC 128 ms
82,732 KB
testcase_40 AC 89 ms
82,964 KB
testcase_41 AC 123 ms
82,736 KB
testcase_42 AC 120 ms
82,936 KB
testcase_43 AC 85 ms
82,868 KB
testcase_44 AC 83 ms
82,916 KB
testcase_45 AC 104 ms
83,148 KB
testcase_46 AC 105 ms
82,880 KB
testcase_47 AC 104 ms
83,144 KB
testcase_48 AC 106 ms
82,908 KB
testcase_49 AC 116 ms
82,932 KB
testcase_50 AC 79 ms
82,072 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

def factorial(n):
    ret = 1
    for i in range(n):
        ret = ret*(i+1)%1000000007
    return ret
def main():
    n = int( input() )
    print(1)
    print(factorial(n))
    print(n)
main()
0