摘要: 1007. Code WordsTime Limit: 2.0 secondMemory Limit: 64 MBA transmitter sends over a noisy line some binary code words. The receiver on the other end uses special technique to recover the original words.Every word originally consists of symbols 0 and 1. All words have the same lengthN(4 ≤N≤ 1000). Af 阅读全文
posted @ 2013-04-25 19:15 OpenSoucre 阅读(301) 评论(0) 推荐(0) 编辑
摘要: 1008. Image EncodingTime Limit: 2.0 secondMemory Limit: 64 MBThere are several ways to encode an image. In this problem we will consider two representations of an image. We assume that the image consists of black and white pixels. There is at least one black pixel and all black pixels are connected 阅读全文
posted @ 2013-04-25 17:31 OpenSoucre 阅读(281) 评论(0) 推荐(0) 编辑