spoj#TELECOM. Telecommunications
Telecommunications
当前没有测试数据。
From beacons over telegraphs and telephones towards radio and television and ultimately computer networks and internet – telecommunication systems knew a tremendous evolution within the last century! This was also clear to Richard Hamming, who was bothered by erroneous data transmission.
As the transmission channel is often very noisy, the received information is not necessarily the information that was sent out. Looking at digital data transmission, a straight-forward way to check for errors would be a supplementary bit of information, a so-called parity bit. Each package of data on n-1 bits is completed by 1 parity bit, whose value is chosen such that the number of ones in the n-bit package is even. Although there is little overhead, parity checking is not very robust. If an even number of bits is flipped during transmission, the check bit remains valid and the error will not be detected. Moreover, although parity can detect errors, it provides no indication on the position of the flipped bit. The data must be discarded entirely and re-transmitted.
If more error-correcting bits are included with a message, and if those bits can be arranged such that different incorrect bits produce different error results, then bad bits could be identified and corrected! Among others, Hamming invented the following algorithm that generates a single-error correcting code for any number of bits.
</p><div id="ccontent">
<!-- google_ad_section_start -->
hide comments
<!-- google_ad_section_end -->
</div>
<table width="100%">
<tbody><tr>
<td colspan="2" height="20px"></td>
</tr>
<form method="post" action="/comment/TELECOM/add/"></form>
<tr> <td style="" colspan="2">Leave a Comment</td> </tr>
<tr>
<td valign="top"></td>
<td><textarea name="content" rows="3" class="form-control"></textarea></td>
</tr>
<tr>
<td colspan="2" style=""><br>
<input type="submit" value="Publish" class="btn btn-default">
<input type="hidden" name="pcode" value="TELECOM">
</td>
</tr>
<tr>
<td colspan="2">
Notes:
1. Don't post any source code here.
2. Please be careful, leave short comments only. Don't spam here.
3. For more discussion (hints, ideas, solutions) please visit our forum.
4. Authors of the problems are allowed to delete the post and use html code here (e.g. to provide some useful links). </td> </tr>
</tbody></table>