codevs 1766 装果子
题目描述 Description 果园里有n颗果树,每棵果树都有一个编号i(1≤i≤n)。小明已经把每棵果树上的果子都摘下来堆在了这棵树的下方,每棵树下方的果子体积为ai。 ...
noi题库 8468 单词序列
8468:单词序列 总时间限制:1000ms内存限制:1024kB 描述 给出两个单词(开始单词和结束单词)以及一个词典。找出从开始单词转换到结束单词,所需要的最短转换序列。转换的规则如下: 1、每次只能改变一个字母 2、转换过程中出现的单词(除开始单词和结束单词)必须存在于词典中 ...
poj 2240 Arbitrage
Arbitrage Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 21381 Accepted: 9110 Description Arbitrage is the use of discrepancies in currency exchange rates to trans…
poj 1152 An Easy Problem!
An Easy Problem! Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 9115 Accepted: 2324 Description Have you heard the fact "The base of every normal number system is …
poj 1426 Find The Multiple
Find The Multiple Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 27518 Accepted: 11455 Special Judge Description Given a positive integer n, write a program to fin…
poj 3278 Catch That Cow BFS
Catch That Cow Time Limit: 2000MS Memory Limit: 65536K Total Submissions: 77719 Accepted: 24552 Description Farmer John has been informed of the location of a fugitive cow and…