摘要:
Buffalo Bill wishes to cross a 1000x1000 square field. A number of snakes are on the field at various positions, and each snake can strike a particula 阅读全文
摘要:
World Wide Flyer has landing rights at several airports throughout the world. They wish to place their central hub at the airport that minimizes the m 阅读全文
摘要:
Accounting for Computer Machinists (ACM) has sufferred from the Y2K bug and lost some vital data for preparing annual report for MS Inc. All what they 阅读全文
摘要:
A large field has a dog and a gopher. The dog wants to eat the gopher, while the gopher wants to run to safety through one of several gopher holes dug 阅读全文
摘要:
You have a drawer that is full of two kinds of socks: red and black. You know that there are at least 2 socks, and not more than 50000. However, you d 阅读全文
摘要:
求最大公约数,用欧几里得算法(辗转相除法)。 阅读全文
摘要:
Canada has a multi-party system of government. Each candidate is generally associated with a party, and the party whose candidates win the most riding 阅读全文
摘要:
You have been hired by several clients of a factory that manufactures brass bricks. Brass is an alloy of copper and zinc; each brick weighs 1000 grams 阅读全文
摘要:
In a billiard table with horizontal side a inches and vertical side b inches, a ball is launched from the middle of the table. After s > 0 seconds the 阅读全文
摘要:
There is a group of n (1 ≤ n ≤ 100) bakers in the town of Utopia. These bakers hold a monthly celebration in which they award a prize to some of the l 阅读全文