結果

問題 No.802 だいたい等差数列
ユーザー kotatsugamekotatsugame
提出日時 2020-03-12 02:59:19
言語 cLay
(20240104-1)
結果
AC  
実行時間 63 ms / 2,000 ms
コード長 115 bytes
コンパイル時間 3,921 ms
コンパイル使用メモリ 178,792 KB
実行使用メモリ 13,524 KB
最終ジャッジ日時 2023-09-19 00:36:10
合計ジャッジ時間 6,079 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,384 KB
testcase_01 AC 2 ms
4,380 KB
testcase_02 AC 1 ms
4,384 KB
testcase_03 AC 2 ms
4,384 KB
testcase_04 AC 2 ms
4,388 KB
testcase_05 AC 2 ms
4,384 KB
testcase_06 AC 2 ms
4,384 KB
testcase_07 AC 1 ms
4,380 KB
testcase_08 AC 2 ms
4,380 KB
testcase_09 AC 1 ms
4,384 KB
testcase_10 AC 36 ms
11,200 KB
testcase_11 AC 59 ms
13,484 KB
testcase_12 AC 42 ms
7,976 KB
testcase_13 AC 54 ms
13,076 KB
testcase_14 AC 50 ms
10,332 KB
testcase_15 AC 24 ms
7,056 KB
testcase_16 AC 51 ms
10,872 KB
testcase_17 AC 35 ms
5,692 KB
testcase_18 AC 29 ms
5,260 KB
testcase_19 AC 46 ms
8,984 KB
testcase_20 AC 56 ms
11,208 KB
testcase_21 AC 63 ms
13,524 KB
testcase_22 AC 60 ms
13,488 KB
testcase_23 AC 39 ms
6,572 KB
testcase_24 AC 35 ms
5,704 KB
testcase_25 AC 1 ms
4,380 KB
testcase_26 AC 35 ms
5,652 KB
testcase_27 AC 30 ms
5,460 KB
testcase_28 AC 44 ms
8,148 KB
testcase_29 AC 62 ms
13,468 KB
testcase_30 AC 1 ms
4,384 KB
testcase_31 AC 2 ms
4,384 KB
testcase_32 AC 2 ms
4,380 KB
testcase_33 AC 13 ms
6,540 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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