結果

問題 No.802 だいたい等差数列
ユーザー kotatsugamekotatsugame
提出日時 2020-03-12 02:54:54
言語 cLay
(20240104-1)
結果
AC  
実行時間 65 ms / 2,000 ms
コード長 120 bytes
コンパイル時間 4,124 ms
コンパイル使用メモリ 177,712 KB
実行使用メモリ 13,784 KB
最終ジャッジ日時 2023-09-19 00:35:58
合計ジャッジ時間 6,104 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 1 ms
4,384 KB
testcase_01 AC 2 ms
4,380 KB
testcase_02 AC 2 ms
4,380 KB
testcase_03 AC 2 ms
4,380 KB
testcase_04 AC 2 ms
4,380 KB
testcase_05 AC 2 ms
4,380 KB
testcase_06 AC 2 ms
4,380 KB
testcase_07 AC 2 ms
4,380 KB
testcase_08 AC 1 ms
4,380 KB
testcase_09 AC 2 ms
4,384 KB
testcase_10 AC 28 ms
11,236 KB
testcase_11 AC 35 ms
13,348 KB
testcase_12 AC 18 ms
7,960 KB
testcase_13 AC 34 ms
13,116 KB
testcase_14 AC 30 ms
10,376 KB
testcase_15 AC 25 ms
7,144 KB
testcase_16 AC 27 ms
10,728 KB
testcase_17 AC 2 ms
4,380 KB
testcase_18 AC 2 ms
4,380 KB
testcase_19 AC 23 ms
8,824 KB
testcase_20 AC 57 ms
11,184 KB
testcase_21 AC 64 ms
13,528 KB
testcase_22 AC 35 ms
13,784 KB
testcase_23 AC 23 ms
6,484 KB
testcase_24 AC 2 ms
4,384 KB
testcase_25 AC 2 ms
4,380 KB
testcase_26 AC 10 ms
5,708 KB
testcase_27 AC 9 ms
5,372 KB
testcase_28 AC 28 ms
8,020 KB
testcase_29 AC 65 ms
13,520 KB
testcase_30 AC 1 ms
4,380 KB
testcase_31 AC 1 ms
4,380 KB
testcase_32 AC 1 ms
4,388 KB
testcase_33 AC 13 ms
6,720 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

{ll N,M,E,D;rd(N,M,E,D);Comb<mint>c;mint s;M-=E*~-N;rep(i,N){if(M>0)s+=(-1)**i*c.C(N-1,i)*c.H(N+1,M-1);M-=D+1-E;}wt(s);}
0