結果

問題 No.500 階乗電卓
ユーザー jamadjamad
提出日時 2017-08-23 02:53:20
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 78 bytes
コンパイル時間 90 ms
コンパイル使用メモリ 12,800 KB
実行使用メモリ 11,264 KB
最終ジャッジ日時 2024-04-23 04:53:05
合計ジャッジ時間 1,355 ms
ジャッジサーバーID
(参考情報)
judge4 / judge3
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 RE -
testcase_01 RE -
testcase_02 RE -
testcase_03 RE -
testcase_04 AC 28 ms
10,624 KB
testcase_05 AC 27 ms
10,752 KB
testcase_06 AC 27 ms
10,624 KB
testcase_07 AC 28 ms
10,752 KB
testcase_08 AC 25 ms
10,752 KB
testcase_09 AC 25 ms
10,624 KB
testcase_10 AC 24 ms
10,752 KB
testcase_11 AC 24 ms
10,624 KB
testcase_12 AC 25 ms
10,624 KB
testcase_13 AC 25 ms
10,624 KB
testcase_14 AC 25 ms
10,624 KB
testcase_15 AC 25 ms
10,752 KB
testcase_16 AC 25 ms
10,624 KB
testcase_17 AC 27 ms
10,624 KB
testcase_18 RE -
testcase_19 RE -
testcase_20 RE -
testcase_21 RE -
testcase_22 RE -
権限があれば一括ダウンロードができます

ソースコード

diff #

def f(x):
 if x==1:return 1
 return x*f(x-1)
print(str(f(int(input())))[-12:])
0