SAP智力題 Data transfer

來源: Williamluo 2010-02-04 15:13:55 [] [舊帖] [給我悄悄話] 本文已被閱讀: 次 (841 bytes)
Prerequisite knowledge: when transfer data through network, error may happen. Suppose we want to transfer 1001, and the error would happen on only one bit, we may add some parity-check code like this:
-----Co1-Co2-XOR
Ro1---1---0---1
Ro2---0---1---1
XOR---1---1
Then you transfer 10101111 instead of 1001, and the person who receives the data would be able to figure out the original data.

The puzzle is: you want to transfer 1000 bits data over the net work, and the error may happen on only one segment of the data, (e.g. from bit 11 to bit 233), and all the 1 in that segment will turn into 0, 0 will turn into 1. You may add some check code to the data, how many bits at least are enough for you to make a secure transfer?
----Designed by Hansen Chen in 2009( https://www.sdn.sap.com/irj/scn/forum?forumID=410 )

所有跟帖: 

Some incomplete thoughts -endofsuburbia- 給 endofsuburbia 發送悄悄話 endofsuburbia 的博客首頁 (525 bytes) () 02/05/2010 postreply 12:25:35

回複:SAP智力題 Data transfer -wowowowowow- 給 wowowowowow 發送悄悄話 (304 bytes) () 02/08/2010 postreply 23:08:13

Nice! -endofsuburbia- 給 endofsuburbia 發送悄悄話 endofsuburbia 的博客首頁 (0 bytes) () 02/09/2010 postreply 11:21:27

請您先登陸,再發跟帖!

發現Adblock插件

如要繼續瀏覽
請支持本站 請務必在本站關閉/移除任何Adblock

關閉Adblock後 請點擊

請參考如何關閉Adblock/Adblock plus

安裝Adblock plus用戶請點擊瀏覽器圖標
選擇“Disable on www.wenxuecity.com”

安裝Adblock用戶請點擊圖標
選擇“don't run on pages on this domain”