結果

問題 No.2396 等差二項展開
ユーザー tailstails
提出日時 2023-07-28 22:22:08
言語 cLay
(20240104-1)
結果
WA  
実行時間 -
コード長 166 bytes
コンパイル時間 3,782 ms
コンパイル使用メモリ 179,548 KB
実行使用メモリ 12,100 KB
最終ジャッジ日時 2024-04-16 06:20:05
合計ジャッジ時間 11,981 ms
ジャッジサーバーID
(参考情報)
judge5 / judge4
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
5,248 KB
testcase_01 AC 2 ms
5,376 KB
testcase_02 AC 1 ms
5,376 KB
testcase_03 AC 2 ms
5,376 KB
testcase_04 AC 2 ms
5,376 KB
testcase_05 AC 1 ms
5,376 KB
testcase_06 AC 2 ms
5,376 KB
testcase_07 AC 2 ms
5,376 KB
testcase_08 WA -
testcase_09 AC 2 ms
5,376 KB
testcase_10 AC 2 ms
5,376 KB
testcase_11 AC 1 ms
5,376 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 TLE -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
testcase_29 -- -
testcase_30 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

ll@n,@m,@l,@k,@b;
modint().setmod(b);
Matrix<modint>a(l,l);
a=0;
a[0..l-2][1..]=1;
a[l-1][0]=1;
Matrix<modint>e(l,l);
e=1;
Matrix<modint>c=((a+e)*m)**n;
wt(c[0][k]);
0