結果

問題 No.802 だいたい等差数列
ユーザー kotatsugamekotatsugame
提出日時 2020-10-08 21:37:29
言語 cLay
(20240104-1)
結果
AC  
実行時間 63 ms / 2,000 ms
コード長 106 bytes
コンパイル時間 4,358 ms
コンパイル使用メモリ 179,960 KB
実行使用メモリ 13,588 KB
最終ジャッジ日時 2023-09-19 01:33:06
合計ジャッジ時間 7,449 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 2 ms
4,376 KB
testcase_01 AC 1 ms
4,380 KB
testcase_02 AC 2 ms
4,376 KB
testcase_03 AC 1 ms
4,380 KB
testcase_04 AC 2 ms
4,384 KB
testcase_05 AC 2 ms
4,380 KB
testcase_06 AC 1 ms
4,384 KB
testcase_07 AC 2 ms
4,380 KB
testcase_08 AC 2 ms
4,380 KB
testcase_09 AC 2 ms
4,384 KB
testcase_10 AC 37 ms
11,208 KB
testcase_11 AC 59 ms
13,316 KB
testcase_12 AC 41 ms
8,116 KB
testcase_13 AC 56 ms
13,160 KB
testcase_14 AC 52 ms
10,304 KB
testcase_15 AC 24 ms
7,060 KB
testcase_16 AC 52 ms
10,716 KB
testcase_17 AC 36 ms
5,636 KB
testcase_18 AC 28 ms
5,364 KB
testcase_19 AC 46 ms
8,832 KB
testcase_20 AC 56 ms
11,144 KB
testcase_21 AC 63 ms
13,524 KB
testcase_22 AC 60 ms
13,508 KB
testcase_23 AC 39 ms
6,652 KB
testcase_24 AC 36 ms
5,740 KB
testcase_25 AC 1 ms
4,380 KB
testcase_26 AC 36 ms
5,640 KB
testcase_27 AC 30 ms
5,292 KB
testcase_28 AC 44 ms
7,984 KB
testcase_29 AC 63 ms
13,588 KB
testcase_30 AC 1 ms
4,380 KB
testcase_31 AC 1 ms
4,380 KB
testcase_32 AC 2 ms
4,376 KB
testcase_33 AC 13 ms
6,528 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

{ll@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