結果
| 問題 | No.1713 trick or treat! |
| コンテスト | |
| ユーザー |
tokutaro
|
| 提出日時 | 2022-02-12 22:33:51 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 95 ms / 2,000 ms |
| コード長 | 135 bytes |
| 記録 | |
| コンパイル時間 | 526 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 15,232 KB |
| 最終ジャッジ日時 | 2026-03-18 10:56:46 |
| 合計ジャッジ時間 | 1,810 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 5 |
ソースコード
trick,treat = map(int,input().split())
def frac(n):
if n == 1:
return 1
return (n)*frac(n-1)
print(frac(trick|treat))
tokutaro