摘要:HDU-3664 Permutation Counting Given a permutation a1, a2, … aN of {1, 2, …, N}, we define its E-value as the amount of elements where ai > i. For exam
阅读全文
摘要:A Simple Math Problem HDU-1757 Lele now is thinking about a simple function f(x). If x < 10 f(x) = x. If x >= 10 f(x) = a0 * f(x-1) + a1 * f(x-2) + a2
阅读全文
摘要:Little shop of flowers SGU - 104 题目描述 你现在想用最令人满意的方案来装饰你花店的橱窗。你有 F 束花, 每束花种类不同, 种数不超过窗台上的花瓶总数。花瓶被嵌入窗台,并且被顺序从1到 V 编号。V 表示花瓶总数。顺序编号使得1号花瓶在最左边, V 号花瓶在最右边。
阅读全文
摘要:Atlantis There are several ancient Greek texts that contain descriptions of the fabled island Atlantis. Some of these texts even include maps of parts
阅读全文
摘要:During the War of Resistance Against Japan, tunnel warfare was carried out extensively in the vast areas of north China Plain. Generally speaking, vil
阅读全文
摘要:The citizens of Bytetown, AB, could not stand that the candidates in the mayoral election campaign have been placing their electoral posters at all pl
阅读全文
摘要:Flight Recently, Shua Shua had a big quarrel with his GF. He is so upset that he decides to take a trip to some other city to avoid meeting her. He wi
阅读全文
摘要:例题一:POJ-3259 Wormholes(判负环) While exploring his many farms, Farmer John has discovered a number of amazing wormholes. A wormhole is very peculiar beca
阅读全文