結果

問題 No.1713 trick or treat!
ユーザー koba-e964koba-e964
提出日時 2021-10-22 21:46:22
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 125 bytes
コンパイル時間 828 ms
コンパイル使用メモリ 81,824 KB
実行使用メモリ 53,500 KB
最終ジャッジ日時 2023-10-24 12:48:33
合計ジャッジ時間 1,093 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

#!/usr/bin/env python3

a, b = map(int, input().split())
c = a ^ b
ans = 1
for i in range(1, c + 1):
    ans *= i
print(ans)
0