上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页
摘要: 一、DescriptionAs part of an arithmetic competency program, your students will be given randomly generated lists of from 2 to 15 unique positive integer... 阅读全文
posted @ 2013-07-22 19:00 InkGenius 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 一、DescriptionSuppose you are reading byte streams from any device, representing IP addresses. Your task is to convert a 32 characters long sequence of... 阅读全文
posted @ 2013-07-22 17:58 InkGenius 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 一、DescriptionA simple mathematical formula for e is e=Σ0<=i<=n1/i!where n is allowed to go to infinity. This can actually yield very accurate approxim... 阅读全文
posted @ 2013-07-22 17:05 InkGenius 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 一、DescriptionEva的家庭作业里有很多数列填空练习。填空练习的要求是:已知数列的前四项,填出第五项。因为已经知道这些数列只可能是等差或等比数列,她决定写一个程序来完成这些练习。Input第一行是数列的数目t(0 <= t <= 20)。以下每行均包含四个整数,表示数列的前四项。约定数列的... 阅读全文
posted @ 2013-07-22 16:27 InkGenius 阅读(194) 评论(0) 推荐(0) 编辑
摘要: 一、DescriptionBill and Ted are taking a road trip. But the odometer in their car is broken, so they don't know how many miles they have driven. Fortuna... 阅读全文
posted @ 2013-07-22 16:05 InkGenius 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 一、DescriptionIn 1949 the Indian mathematician D.R. Kaprekar discovered a class of numbers called self-numbers. For any positive integer n, define d(n)... 阅读全文
posted @ 2013-07-22 11:34 InkGenius 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 一、题目大意: 一个工厂生产的产品用正方形的包裹打包,包裹有相同的高度h和1*1, 2*2, 3*3, 4*4, 5*5, 6*6的尺寸。这些产品经常以产品同样的高度h和6*6的尺寸包袱包装起来运送给客户。工厂和客户最关心的就是尽量使用少的包裹来运送客户定的产品以减少费用。一个能计算运送产品所需最少... 阅读全文
posted @ 2013-07-21 15:38 InkGenius 阅读(170) 评论(0) 推荐(0) 编辑
摘要: 一、题目大意: 一个工厂生产的产品用正方形的包裹打包,包裹有相同的高度h和1*1, 2*2, 3*3, 4*4, 5*5, 6*6的尺寸。这些产品经常以产品同样的高度h和6*6的尺寸包袱包装起来运送给客户。工厂和客户最关心的就是尽量使用少的包裹来运送客户定的产品以减少费用。一个能计算运送产品所需最少... 阅读全文
posted @ 2013-07-21 15:38 InkGenius 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 一、DescriptionIn 1742, Christian Goldbach, a German amateur mathematician, sent a letter to Leonhard Euler in which he made the following conjecture:Ev... 阅读全文
posted @ 2013-07-21 11:11 InkGenius 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 一、DescriptionIn 1742, Christian Goldbach, a German amateur mathematician, sent a letter to Leonhard Euler in which he made the following conjecture:Ev... 阅读全文
posted @ 2013-07-21 11:11 InkGenius 阅读(160) 评论(0) 推荐(0) 编辑
摘要: 一、DescriptionFJ is surveying his herd to find the most average cow. He wants to know how much milk this 'median' cow gives: half of the cows give as m... 阅读全文
posted @ 2013-07-19 20:57 InkGenius 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 一、DescriptionFJ is surveying his herd to find the most average cow. He wants to know how much milk this 'median' cow gives: half of the cows give as m... 阅读全文
posted @ 2013-07-19 20:57 InkGenius 阅读(781) 评论(0) 推荐(0) 编辑
摘要: 一、DescriptionThe king pays his loyal knight in gold coins. On the first day of his service, the knight receives one gold coin. On each of the next two... 阅读全文
posted @ 2013-07-19 20:27 InkGenius 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 一、DescriptionThe king pays his loyal knight in gold coins. On the first day of his service, the knight receives one gold coin. On each of the next two... 阅读全文
posted @ 2013-07-19 20:27 InkGenius 阅读(232) 评论(0) 推荐(0) 编辑
摘要: 一、Description把M个同样的苹果放在N个同样的盘子里,允许有的盘子空着不放,问共有多少种不同的分法?(用K表示)5,1,1和1,5,1 是同一种分法。Input第一行是测试数据的数目t(0 <= t <= 20)。以下每行均包含二个整数M和N,以空格分开。1<=M,N<=10。Output... 阅读全文
posted @ 2013-07-19 14:56 InkGenius 阅读(128) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 下一页