結果

問題 No.1713 trick or treat!
ユーザー zerofzerof
提出日時 2022-05-11 22:52:05
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 167 bytes
コンパイル時間 98 ms
コンパイル使用メモリ 10,752 KB
実行使用メモリ 8,112 KB
最終ジャッジ日時 2023-09-26 14:26:05
合計ジャッジ時間 910 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

import math

num1, num2 = map(int, input().split())
if num1 == num2:
  base = num1
else:
  base = num1 + num2
list = [i for i in range(1, base)]
print(math.prod(list))
0