結果

問題 No.801 エレベーター
ユーザー kotatsugamekotatsugame
提出日時 2019-03-18 01:40:47
言語 cLay
(20240104-1)
結果
AC  
実行時間 169 ms / 2,000 ms
コード長 209 bytes
コンパイル時間 2,563 ms
コンパイル使用メモリ 176,624 KB
実行使用メモリ 66,676 KB
最終ジャッジ日時 2023-09-19 00:23:21
合計ジャッジ時間 6,873 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
66,472 KB
testcase_01 AC 39 ms
66,528 KB
testcase_02 AC 38 ms
66,404 KB
testcase_03 AC 40 ms
66,424 KB
testcase_04 AC 39 ms
66,376 KB
testcase_05 AC 39 ms
66,352 KB
testcase_06 AC 39 ms
66,412 KB
testcase_07 AC 39 ms
66,412 KB
testcase_08 AC 40 ms
66,360 KB
testcase_09 AC 39 ms
66,344 KB
testcase_10 AC 39 ms
66,488 KB
testcase_11 AC 39 ms
66,348 KB
testcase_12 AC 39 ms
66,424 KB
testcase_13 AC 154 ms
66,432 KB
testcase_14 AC 155 ms
66,468 KB
testcase_15 AC 155 ms
66,472 KB
testcase_16 AC 155 ms
66,484 KB
testcase_17 AC 156 ms
66,432 KB
testcase_18 AC 155 ms
66,424 KB
testcase_19 AC 155 ms
66,476 KB
testcase_20 AC 156 ms
66,568 KB
testcase_21 AC 156 ms
66,480 KB
testcase_22 AC 155 ms
66,480 KB
testcase_23 AC 168 ms
66,676 KB
testcase_24 AC 168 ms
66,468 KB
testcase_25 AC 169 ms
66,468 KB
testcase_26 AC 169 ms
66,428 KB
testcase_27 AC 169 ms
66,476 KB
testcase_28 AC 123 ms
66,600 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

mint D[4d3][4d3],W;ll L[3d4],R[3d4],n,m,k;{rd(n,m,k,(L,R)(m));D[0][1]=1;rep(i,k){D[i][1..n]+=D[i][0..];rep(j,m)D[i+1][L[j]]+=W=D[i][R[j]]-D[i][L[j]-1],D[i+1][R[j]+1]-=W;D[i+1][1..n]+=D[i+1][0..];}wt(D[k][n]);}
0