08 2010 档案
POJ 1046 Color Me Less
摘要:A color reduction is a mapping from a set of discrete colors to a smaller one. The solution to this problem requires that you perform just such a mapping in a standard twenty-four bit RGB color space. The input consists of a target set of sixteen RGB color values, and a collection of arbitrary RGB colors to be mapped to their closest color in the target set. For our purposes, an RGB color is defined as an ordered triple (R,G,B) where each value of the triple is an integer from 0 to 255. The dist
阅读全文
POJ 1088 滑雪
摘要:Michael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升降机来载你。Michael想知道载一个区域中最长底滑坡。区域由一个二维数组给出。数组的每个数字代表点的高度。
阅读全文
POJ 1026 Cipher
摘要:Bob and Alice started to use a brand-new encoding scheme. Surprisingly it is not a Public Key Cryptosystem, but their encoding and decoding is based on secret keys. They chose the secret key at their last meeting in Philadelphia on February 16th, 1996. They chose as a secret key a sequence of n distinct integers, a1 ; . . .; an, greater than zero and less or equal to n. The encoding is based on the following principle. The message is written down below the key, so that characters in the message
阅读全文
POJ 1014 Dividing
摘要:Marsha and Bill own a collection of marbles. They want to split the collection among themselves so that both receive an equal share of the marbles. This would be easy if all the marbles had the same value, because then they could just split the collection in half. But unfortunately, some of the marbles are larger, or more beautiful than others. So, Marsha and Bill start by assigning a value, a natural number between one and six, to each marble. Now they want to divide the marbles so that each of
阅读全文
富士雪花门 我的S200EXR 热噪点测试
摘要:四月份购入富士S200EXR一台,最近媒体狂炒雪花门,很郁闷,自己测试了下,证明了雪花的存在性。上图: 2010/8/9 晚11点左右进行的测试,环境温度大约30℃(南京...楼内房间外,特别热...),开机5分钟内拍片300+后进行测试。RAW格式直出,转Jpg,分辨率5216×4216,用的Dead Pixel Test进行热噪点统计。从结果看,雪花是存在的(在>10s的曝光...
阅读全文
浙公网安备 33010602011771号