結果

問題 No.1552 Simple Dice Game
ユーザー kotatsugamekotatsugame
提出日時 2021-06-18 22:53:25
言語 cLay
(20240104-1)
結果
AC  
実行時間 391 ms / 2,500 ms
コード長 111 bytes
コンパイル時間 2,715 ms
コンパイル使用メモリ 164,072 KB
実行使用メモリ 4,384 KB
最終ジャッジ日時 2023-09-19 02:26:41
合計ジャッジ時間 8,602 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,384 KB
testcase_01 AC 1 ms
4,380 KB
testcase_02 AC 2 ms
4,384 KB
testcase_03 AC 372 ms
4,380 KB
testcase_04 AC 1 ms
4,380 KB
testcase_05 AC 1 ms
4,384 KB
testcase_06 AC 1 ms
4,380 KB
testcase_07 AC 1 ms
4,380 KB
testcase_08 AC 2 ms
4,384 KB
testcase_09 AC 300 ms
4,380 KB
testcase_10 AC 346 ms
4,380 KB
testcase_11 AC 352 ms
4,384 KB
testcase_12 AC 103 ms
4,384 KB
testcase_13 AC 296 ms
4,380 KB
testcase_14 AC 174 ms
4,384 KB
testcase_15 AC 217 ms
4,380 KB
testcase_16 AC 32 ms
4,380 KB
testcase_17 AC 51 ms
4,380 KB
testcase_18 AC 272 ms
4,384 KB
testcase_19 AC 388 ms
4,380 KB
testcase_20 AC 390 ms
4,380 KB
testcase_21 AC 391 ms
4,384 KB
testcase_22 AC 389 ms
4,384 KB
testcase_23 AC 391 ms
4,384 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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