結果

問題 No.1552 Simple Dice Game
ユーザー kotatsugamekotatsugame
提出日時 2021-06-18 22:59:52
言語 cLay
(20240104-1)
結果
AC  
実行時間 394 ms / 2,500 ms
コード長 110 bytes
コンパイル時間 2,678 ms
コンパイル使用メモリ 163,644 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-09-19 02:27:28
合計ジャッジ時間 7,911 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,376 KB
testcase_01 AC 2 ms
4,376 KB
testcase_02 AC 2 ms
4,380 KB
testcase_03 AC 372 ms
4,376 KB
testcase_04 AC 2 ms
4,380 KB
testcase_05 AC 2 ms
4,376 KB
testcase_06 AC 2 ms
4,380 KB
testcase_07 AC 2 ms
4,376 KB
testcase_08 AC 2 ms
4,376 KB
testcase_09 AC 304 ms
4,380 KB
testcase_10 AC 347 ms
4,376 KB
testcase_11 AC 353 ms
4,380 KB
testcase_12 AC 104 ms
4,380 KB
testcase_13 AC 297 ms
4,380 KB
testcase_14 AC 175 ms
4,380 KB
testcase_15 AC 218 ms
4,380 KB
testcase_16 AC 32 ms
4,376 KB
testcase_17 AC 51 ms
4,376 KB
testcase_18 AC 274 ms
4,380 KB
testcase_19 AC 393 ms
4,376 KB
testcase_20 AC 394 ms
4,380 KB
testcase_21 AC 392 ms
4,380 KB
testcase_22 AC 391 ms
4,380 KB
testcase_23 AC 393 ms
4,380 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#define MD 998244353
Mint s,j;{ll@N,@M;rep(i,1,M+1)j=i,s+=(i<M?:-M)*j.pw(N)*~i-(M-j+1).pw(N)*(M+i);wt(s*N/2);}
0