CodeBus
www.codebus.net
Search
Sign in
Sign up
Hot Search :
Source
embeded
web
remote control
p2p
game
More...
Location :
Home
Search - pku solutions
Main Category
SourceCode
Documents
Books
WEB Code
Develop Tools
Other resource
Search - pku solutions - List
[
Other
]
pku1037
DL : 0
两种解决方案 Richard just finished building his new house. Now the only thing the house misses is a cute little wooden fence. He had no idea how to make a wooden fence, so he decided to order one. Somehow he got his hands on the ACME Fence Catalogue 2002, the ultimate resource on cute little wooden fences. After reading its preface he already knew, what makes a little wooden fence cute. A wooden fence consists of N wooden planks, placed vertically in a row next to each other. A fence looks cute if and only if the following conditions are met: ?The planks have different lengths, namely 1, 2, . . . , N plank length units. ?Each plank with two neighbors is either larger than each of its neighbors or smaller than each of them. (Note that this makes the top of the fence alternately rise and fall.) -Both solutions Richard just finished building his new house. Now the only thing the house misses is a cute little wooden fence. He had no idea how to make a wooden fence, so he decided to order one. Somehow he got his hands on the ACME Fence Catalogue 2002, the ultimate resource on cute little wooden fences. After reading its preface he already knew, what makes a little wooden fence cute. A wooden fence consists of N wooden planks, placed vertically in a row next to each other. A fence looks cute if and only if the following conditions are met:? The planks have different lengths, namely 1, 2,..., N plank length units.? Each plank with two neighbors is either larger than each of its neighbors or smaller than each of them. (Note that this makes the top of the fence alternately rise and fall.)
Date
: 2025-07-01
Size
: 3kb
User
:
bends
[
Windows Develop
]
pkujichaji
DL : 0
pku oj 几个 并查集的 程序 入门用的 poj 题解 要别的也可以跟我拿-Several pku oj and entry inspection procedures set by the POJ solutions to other questions can also be with me
Date
: 2025-07-01
Size
: 2kb
User
:
caidongyun
[
Other
]
pku.tar
DL : 0
PKU(http://poj.org/)的大量题目解答,都是被Accept的源代码,包括排序、搜索(二分、宽度优先、深度优先)、动态规划、图算法等类型,详见其中的summary文件-a large number of solutions for questions from PKU (http://poj.org/), all Accepted source code, including sorting, searching, (binary-search, breadth-first, depth-first), dynamic programming, graph algorithms and other types, for more details, see the summary file included.
Date
: 2025-07-01
Size
: 64kb
User
:
joey.zhao
[
Other
]
string-problem(POJ)
DL : 0
在进行ACM编程训练时做字符串专题的一些题目(POJ1782,POJ1790,POJ1951,POJ2003,POJ2121)-Some solutions about string problem on PKU Online Judge for individual learning.
Date
: 2025-07-01
Size
: 3kb
User
:
Scott
[
Data structs
]
pku-OJ-solution
DL : 0
北大ACM在线测评系统 部分题目解答 北大OJ题目-some solutions of PKU OJ
Date
: 2025-07-01
Size
: 55kb
User
:
jimmytj
CodeBus
is one of the largest source code repositories on the Internet!
Contact us :
1999-2046
CodeBus
All Rights Reserved.