結果

問題 No.2299 Antitypoglycemia
ユーザー くねんじくねんじ
提出日時 2023-05-28 21:50:59
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 161 bytes
コンパイル時間 92 ms
コンパイル使用メモリ 10,680 KB
実行使用メモリ 7,972 KB
最終ジャッジ日時 2023-08-27 16:43:09
合計ジャッジ時間 2,239 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,856 KB
testcase_01 WA -
testcase_02 AC 15 ms
7,856 KB
testcase_03 AC 40 ms
7,952 KB
testcase_04 AC 42 ms
7,852 KB
testcase_05 AC 31 ms
7,844 KB
testcase_06 AC 39 ms
7,764 KB
testcase_07 AC 19 ms
7,828 KB
testcase_08 AC 39 ms
7,780 KB
testcase_09 AC 42 ms
7,832 KB
testcase_10 AC 25 ms
7,912 KB
testcase_11 AC 24 ms
7,748 KB
testcase_12 AC 42 ms
7,836 KB
testcase_13 AC 52 ms
7,764 KB
testcase_14 AC 18 ms
7,916 KB
testcase_15 AC 17 ms
7,820 KB
testcase_16 AC 25 ms
7,888 KB
testcase_17 AC 20 ms
7,832 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 52 ms
7,748 KB
testcase_21 AC 53 ms
7,796 KB
testcase_22 WA -
testcase_23 AC 15 ms
7,912 KB
testcase_24 AC 15 ms
7,932 KB
testcase_25 WA -
testcase_26 AC 14 ms
7,968 KB
testcase_27 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

N, A, B = map(int,input().split())
ans = 1
for i in range(1,N-1):
    ans = (ans * i ) % 998244353
ans = ans *( N * N - (3 * N) + 3) % 998244353
print(ans)

 
 
0