結果

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

テストケース

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

ソースコード

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+1)]
print(math.prod(list))
0