請問取中間值所需的比較次數 - 拼圖
By Valerie
at 2009-12-22T16:56
at 2009-12-22T16:56
Table of Contents
※ [本文轉錄自 Prob_Solve 看板]
作者: JFD (D) 看板: Prob_Solve
標題: [問題] 請問取中間值所需的比較次數
時間: Tue Dec 22 13:58:11 2009
請問有沒有人知道取中間值所需的最少比較次數是多少次?
譬如
3個數字取中間值,最少需要三次
5個數字,最少需要六次
7個數字呢?
有理論公式可推到2n+1個嗎?
--
作者: JFD (D) 看板: Prob_Solve
標題: [問題] 請問取中間值所需的比較次數
時間: Tue Dec 22 13:58:11 2009
請問有沒有人知道取中間值所需的最少比較次數是多少次?
譬如
3個數字取中間值,最少需要三次
5個數字,最少需要六次
7個數字呢?
有理論公式可推到2n+1個嗎?
--
Tags:
拼圖
All Comments
By Jacky
at 2009-12-25T10:51
at 2009-12-25T10:51
By Doris
at 2009-12-29T19:41
at 2009-12-29T19:41
By Mary
at 2009-12-31T18:28
at 2009-12-31T18:28
By Frederica
at 2010-01-02T14:21
at 2010-01-02T14:21
By Hardy
at 2010-01-06T11:32
at 2010-01-06T11:32
By Rosalind
at 2010-01-07T06:56
at 2010-01-07T06:56
By Poppy
at 2010-01-10T20:22
at 2010-01-10T20:22
By Lucy
at 2010-01-11T23:54
at 2010-01-11T23:54
By John
at 2010-01-15T02:20
at 2010-01-15T02:20
By Wallis
at 2010-01-17T13:44
at 2010-01-17T13:44
By Quintina
at 2010-01-18T19:40
at 2010-01-18T19:40
By Irma
at 2010-01-21T09:51
at 2010-01-21T09:51
By Jessica
at 2010-01-26T04:50
at 2010-01-26T04:50
By Isla
at 2010-01-30T16:25
at 2010-01-30T16:25
Related Posts
有無聯想題 048
By Jessica
at 2009-12-21T12:26
at 2009-12-21T12:26
囧...拼圖濕掉了
By Wallis
at 2009-12-19T21:18
at 2009-12-19T21:18
PuzzleUp 2009 (18) Name and Surname
By Lily
at 2009-12-19T19:37
at 2009-12-19T19:37
拼完圖之後.....
By Megan
at 2009-12-18T22:12
at 2009-12-18T22:12
拼圖機
By Dinah
at 2009-12-18T01:12
at 2009-12-18T01:12