POJ 1850 Code(组合数学)

Transmitting and memorizing information is a task that requires different coding systems for the best use of the available space. A well known system is that one where a number is associated to a character sequence. It is considered that the words are made only of small characters of the English alphabet a,b,c, …, z (26 characters). From all these words we consider only those whose letters are in lexigraphical order (each character is smaller than the next character).The coding system works like this: The words are arranged in the increasing order of their length. The words with the same length are arranged in lexicographical order (the order from the dictionary). We codify these words by their numbering, starting with a, as follows:a – 1b – 2…z – 26ab – 27…az – 51bc – 52…vwxyz – 83681…Specify for a given word if it can be codified according to this coding system. For the affirmative case specify its code.

,黄色蓝色或者砖红色,犹如童话世界。

POJ 1850 Code(组合数学)

相关文章:

你感兴趣的文章:

标签云: