結果

問題 No.1713 trick or treat!
ユーザー Goltermann大和Goltermann大和
提出日時 2021-10-23 16:28:04
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 153 bytes
コンパイル時間 868 ms
コンパイル使用メモリ 11,696 KB
実行使用メモリ 10,072 KB
最終ジャッジ日時 2023-10-25 23:31:08
合計ジャッジ時間 1,102 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 29 ms
10,072 KB
testcase_03 AC 29 ms
10,072 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

trick,treat = map(int,input().split())

def fact(x):
    if x == 0:
        return 1
    else:
        return x * fact(x - 1)
print(fact(trick or treat))
0