結果

問題 No.500 階乗電卓
ユーザー AEnAEn
提出日時 2022-05-14 15:32:16
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 72 ms / 2,000 ms
コード長 105 bytes
コンパイル時間 360 ms
コンパイル使用メモリ 86,940 KB
実行使用メモリ 71,504 KB
最終ジャッジ日時 2023-09-30 07:11:16
合計ジャッジ時間 3,462 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 66 ms
70,924 KB
testcase_01 AC 67 ms
71,412 KB
testcase_02 AC 66 ms
71,268 KB
testcase_03 AC 65 ms
71,504 KB
testcase_04 AC 70 ms
71,216 KB
testcase_05 AC 62 ms
71,236 KB
testcase_06 AC 66 ms
71,316 KB
testcase_07 AC 67 ms
71,124 KB
testcase_08 AC 68 ms
71,332 KB
testcase_09 AC 70 ms
71,316 KB
testcase_10 AC 70 ms
70,924 KB
testcase_11 AC 67 ms
71,308 KB
testcase_12 AC 68 ms
71,088 KB
testcase_13 AC 67 ms
71,248 KB
testcase_14 AC 65 ms
71,332 KB
testcase_15 AC 67 ms
71,120 KB
testcase_16 AC 66 ms
71,296 KB
testcase_17 AC 66 ms
71,216 KB
testcase_18 AC 63 ms
71,268 KB
testcase_19 AC 69 ms
71,232 KB
testcase_20 AC 67 ms
71,024 KB
testcase_21 AC 66 ms
71,252 KB
testcase_22 AC 72 ms
71,344 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())

import math
if N >= 50:
    print('0'*12)
else:
    print(str(math.factorial(N))[-12:])
0