与‘字符串-简单字符处理’有关的日志

uva1588

maksyuki 发表于 oj 分类,标签:
0
uva1588

A research laboratory of a world-leading automobile company has received an order to create a special transmission mechanism, which allows for incredibly efficient kickdown -- an operation of switching to lower gear. After several months of research >>继续阅读

uva1584

maksyuki 发表于 oj 分类,标签:
0
uva1584

Some DNA sequences exist in circular forms as in the following figure, which shows a circular sequence CGAGTCAGCT", that is, the last symbol T" in CGAGTCAGCT" is connected to the first symbol C". We always read a circular sequence in the clockwise di >>继续阅读

uva1368

maksyuki 发表于 oj 分类,标签:
0
uva1368

DNA (Deoxyribonucleic Acid) is the molecule which contains the genetic instructions. It consists of four different nucleotides, namely Adenine, Thymine, Guanine, and Cytosine as shown in Figure 1. If we represent a nucleotide by its initial character >>继续阅读

uva455

maksyuki 发表于 oj 分类,标签:
0
uva455

A character string is said to have period k if it can be formed by concatenating one or more repetitions of another string of length k. For example, the string "abcabcabcabc" has period 3, since it is formed by 4 repetitions of the string "abc". It a >>继续阅读

uva401

maksyuki 发表于 oj 分类,标签:
0
uva401

A regular palindrome is a string of numbers or letters that is the same forward as backward. For example, the string "ABCDEDCBA" is a palindrome because it is the same when the string is read from left to right as when the string is read from right t >>继续阅读

uva272

maksyuki 发表于 oj 分类,标签:
0
uva272

TeX is a typesetting language developed by Donald Knuth. It takes source text together with a few typesetting instructions and produces, one hopes, a beautiful document. Beautiful documents use and " to delimit quotations, rather than the mundane "  >>继续阅读

uva213

maksyuki 发表于 oj 分类,标签:
0
uva213

Some message encoding schemes require that an encoded message be sent in two parts. The first part, called the header, contains the characters of the message. The second part contains a pattern that represents the message. You must write a program th >>继续阅读

uva202

maksyuki 发表于 oj 分类,标签:
0
uva202

The decimal expansion of the fraction 1/33 is  , where the  is used to indicate that the cycle 03 repeats indefinitely with no intervening digits. In fact, the decimal expansion of every rational number (fraction) has a repeating cycle as opposed to >>继续阅读