[理工] [離散] 鴿籠 97北大

看板Grad-ProbAsk作者 (方格子)時間14年前 (2011/03/12 11:52), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
Using the pigeonhole principle, show that a list of n^2 + 1 distinct numbers, there are either n+1 numbers (not necessarily consecuitve) in increasing order or n+1 numbers in decreasing order. (For example, in the list1, 5, 3, 4, 2, we have both the increasing list 1, 3, 4 and the decreasing lists 5, 4, 2 and 5, 3, 2.) 想了好久想不出來 只有想到要分n個一組,最後會多出一個 可是沒辦法找到鴿子數,沒辦法把牠門趕進去籠子Orz --

老闆都不懂.. ( ′-`)y-~

這裡禁煙喔XDDDD
-- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 61.228.131.165
文章代碼(AID): #1DUktcEj (Grad-ProbAsk)
文章代碼(AID): #1DUktcEj (Grad-ProbAsk)