結果

問題 No.3045 怪文書
ユーザー neko_the_shadowneko_the_shadow
提出日時 2019-04-02 21:59:27
言語 PyPy3
(7.3.15)
結果
TLE  
実行時間 -
コード長 79 bytes
コンパイル時間 296 ms
コンパイル使用メモリ 86,976 KB
実行使用メモリ 262,796 KB
最終ジャッジ日時 2023-08-21 02:26:03
合計ジャッジ時間 5,639 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
78,332 KB
testcase_01 AC 73 ms
71,292 KB
testcase_02 AC 72 ms
71,164 KB
testcase_03 AC 71 ms
71,172 KB
testcase_04 AC 75 ms
71,156 KB
testcase_05 AC 72 ms
71,160 KB
testcase_06 AC 73 ms
71,536 KB
testcase_07 AC 169 ms
78,780 KB
testcase_08 AC 77 ms
75,604 KB
testcase_09 AC 79 ms
75,280 KB
testcase_10 AC 75 ms
75,416 KB
testcase_11 AC 192 ms
79,528 KB
testcase_12 AC 218 ms
80,776 KB
testcase_13 TLE -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
n, m = map(int, input().split())
x = math.factorial(n) % m
print(x)
0