結果

問題 No.1277 級数入り級数
ユーザー hirose_golfhirose_golf
提出日時 2020-10-30 22:54:19
言語 PyPy2
(7.3.13)
結果
AC  
実行時間 127 ms / 2,000 ms
コード長 194 bytes
コンパイル時間 1,290 ms
コンパイル使用メモリ 77,476 KB
実行使用メモリ 77,464 KB
最終ジャッジ日時 2023-09-29 07:58:32
合計ジャッジ時間 7,822 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 73 ms
76,612 KB
testcase_01 AC 72 ms
76,144 KB
testcase_02 AC 90 ms
77,196 KB
testcase_03 AC 73 ms
76,884 KB
testcase_04 AC 75 ms
76,912 KB
testcase_05 AC 74 ms
77,000 KB
testcase_06 AC 72 ms
77,420 KB
testcase_07 AC 72 ms
77,140 KB
testcase_08 AC 71 ms
76,752 KB
testcase_09 AC 101 ms
77,068 KB
testcase_10 AC 97 ms
76,888 KB
testcase_11 AC 104 ms
76,904 KB
testcase_12 AC 95 ms
77,168 KB
testcase_13 AC 82 ms
76,984 KB
testcase_14 AC 108 ms
76,852 KB
testcase_15 AC 125 ms
77,200 KB
testcase_16 AC 111 ms
77,180 KB
testcase_17 AC 113 ms
77,088 KB
testcase_18 AC 124 ms
76,776 KB
testcase_19 AC 126 ms
77,200 KB
testcase_20 AC 82 ms
76,892 KB
testcase_21 AC 102 ms
76,968 KB
testcase_22 AC 106 ms
76,884 KB
testcase_23 AC 90 ms
77,152 KB
testcase_24 AC 121 ms
77,012 KB
testcase_25 AC 114 ms
76,932 KB
testcase_26 AC 127 ms
76,888 KB
testcase_27 AC 74 ms
77,184 KB
testcase_28 AC 105 ms
76,752 KB
testcase_29 AC 81 ms
77,148 KB
testcase_30 AC 101 ms
77,464 KB
testcase_31 AC 114 ms
77,416 KB
testcase_32 AC 98 ms
76,964 KB
testcase_33 AC 125 ms
77,044 KB
testcase_34 AC 109 ms
77,264 KB
testcase_35 AC 79 ms
77,348 KB
testcase_36 AC 84 ms
77,004 KB
testcase_37 AC 85 ms
76,900 KB
testcase_38 AC 85 ms
77,088 KB
testcase_39 AC 123 ms
76,880 KB
testcase_40 AC 83 ms
76,984 KB
testcase_41 AC 115 ms
76,888 KB
testcase_42 AC 113 ms
76,940 KB
testcase_43 AC 80 ms
77,164 KB
testcase_44 AC 75 ms
77,000 KB
testcase_45 AC 98 ms
76,916 KB
testcase_46 AC 96 ms
77,196 KB
testcase_47 AC 97 ms
77,240 KB
testcase_48 AC 98 ms
76,760 KB
testcase_49 AC 108 ms
76,964 KB
testcase_50 AC 73 ms
76,580 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