题目描述 Description 果园里有n颗果树,每棵果树都有一个编号i(1≤i≤n)。小明已经把每棵果树上的果子都摘下来堆在了这棵树的下方,每棵树下方的果子体积为ai。 ...
8468:单词序列 总时间限制:1000ms内存限制:1024kB 描述 给出两个单词(开始单词和结束单词)以及一个词典。找出从开始单词转换到结束单词,所需要的最短转换序列。转换的规则如下: 1、每次只能改变一个字母 2、转换过程中出现的单词(除开始单词和结束单词)必须存在于词典中 ...
Stockbroker Grapevine Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 34626 Accepted: 19192 Description Stockbrokers are known to overreact to rumours. You have bee…
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…
The Fun Number System Time Limit: 1000MS Memory Limit: 10000K Total Submissions: 10641 Accepted: 3619 Description In a k bit 2's complement number, where the bits are indexed …
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 …
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…
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…
Prime Path Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 17815 Accepted: 10032 Description The ministers of the cabinet were quite upset by the message from the C…
Borg Maze Time Limit: 1000MS Memory Limit: 65536K Total Submissions: 13260 Accepted: 4330 Description The Borg is an immensely powerful race of enhanced humanoids from the del…