Re: [組合] 題目釋義: run
※ 引述《LeonYo (僕は美味しいです)》之銘言:
: Consider (m+n)-words with exactly m 1's and n 0's. Count the
: number of these words with exactly k runs, where a run is a maximal
: subsequence of consecutive 1's. Example: 1011100110 has 3 runs.
: 我只能說作者給的例子實在不好orz,
: 讓我看不懂 3 runs 指的是有(1)(111)(11)共3個runs
: 還是因為最大的(111)有3個1所以叫 3 runs??
: 請問
: 1010101 是 4 runs 對嗎?
: 1101101111 是 3 runs 對嗎?
: --
: ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 114.44.20.235
: ※ 文章網址: https://www.ptt.cc/bbs/Math/M.1443946465.A.2E2.html
推
10/04 16:32,
10/04 16:32
→
10/04 16:33,
10/04 16:33
推
10/04 16:35,
10/04 16:35
→
10/04 16:37,
10/04 16:37
→
10/04 16:38,
10/04 16:38
→
10/04 17:26,
10/04 17:26
→
10/04 17:47,
10/04 17:47
→
10/04 17:48,
10/04 17:48
→
10/04 17:55,
10/04 17:55
它問有恰巧 k 個 run 的個數, 後面是在講 "一個 run 是怎樣怎樣的東西"
另外讓我們來看幾個句子
(1) A run is the length of a maximal subsequence of consecutive 1's
一個 run 是這樣一個子序列的長度
(2) A run is the maximum of lengths of subsequence of consecutive 1's
{[連續1的子序列] 的長度(們)} 的最大值
(3) A run is a maximal subsequence of consecutive 1's
|_______↗
這裡 maximal subsequence 是一個字, maximal 跟 maximal subset,
maximal component 一樣意指不能再擴大, 加入認一個新的元素會破壞
原本的性質
--
※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 220.137.8.3
※ 文章網址: https://www.ptt.cc/bbs/Math/M.1443953753.A.2F7.html
推
10/04 19:19, , 1F
10/04 19:19, 1F
討論串 (同標題文章)
完整討論串 (本文為第 2 之 2 篇):
組合
5
19