摘要: 公式:a1 = n * a0 / (n + 1) + an+1 / (n + 1) + ∑∑ci题目: Simple calculations 1 Normal 1 8 5 1996-08-26T09:19:00Z 1996-08-26T18:32:00Z 1 95 544 4 1 668 9.2812 Simple calculations The ProblemThere is a sequence ofn+2 elements a0, a1,…, an+1(n <= 3000; -1000 <=ai1000). It is known th... 阅读全文
posted @ 2013-03-04 11:24 上白泽慧音 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 很简单的题~题目:Problem G Saman Arash Rahimi 3 81 2005-11-07T20:17:00Z 2005-11-07T20:17:00Z 1 275 1569 Home 13 3 1841 11.5606 Clean 6 pt 2 2 false false false MicrosoftInternetExplorer4 Problem GBig ChocolateMohammad has recently visited Switzerland. A... 阅读全文
posted @ 2013-03-04 09:41 上白泽慧音 阅读(372) 评论(0) 推荐(0) 编辑
摘要: 第一次TLE了,想到了取对数的方法,但是纠结 2^x-1 后面的 -1 一直保留所以计算超时了。后来实验了一两次,发现 x = 4 的时候 3! = 6 < 2^x-1 < 4!=15 跨度大于 1 了,以后更大,所以 -1 完全可以略去。题目: Problem B: Factstone BenchmarkAmtel has announced that it will release a 128-bit computer chip by 2010, a 256-bit computer by 2020, and so on, continuing its strategy of 阅读全文
posted @ 2013-03-03 23:26 上白泽慧音 阅读(225) 评论(0) 推荐(0) 编辑
摘要: 数据用long long题目: Problem J - Regionals 2001 Warmup Contest Shahriar Manzoor Administrator 66 234 2001-07-19T02:33:00Z 2000-12-04T12:45:00Z 2001-08-29T15:05:00Z 2 254 1448 CSE, BUET 12 2 1778 9.2720 0 0 Problem J(2/3/4)-D Sqr/Rects/Cubes/Boxes?Input: st... 阅读全文
posted @ 2013-03-03 16:25 上白泽慧音 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 忘了打空行了,做的时候想起了高中的数学老师 TAT题目: Problem BProblem BQuotient PolynomialTime Limit2 SecondsA polynomial of degree n can be expressed asIf k is any integer then we can write:Here q(x) is called the quotient polynomial of p(x) of degree (n-1) and r is any integer which is called the remainder.For example, i 阅读全文
posted @ 2013-03-03 15:33 上白泽慧音 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 写的忘了一个问题,整除和余数。题目: Searching for Nessy Searching for Nessy The Loch Ness Monsteris a mysterious and unidentified animal said to inhabit Loch Ness, a large deep freshwaterloch near the cityof Inverness in northern Scotland. Nessie is usually categorized as a type oflake monster.http://en.wikipedia.or 阅读全文
posted @ 2013-03-02 21:50 上白泽慧音 阅读(218) 评论(0) 推荐(0) 编辑
摘要: 刚开始有点被书“误导”了,上来就想用一下公式,结果连简单的排列组合都忘了。数据结果很大要用long long题目: How Many Points of Intersection?We have two rows. There are a dots on the top row and b dots on the bottom row. We draw line segments connecting every dot on the top row with every dot on the bottom row. The dots are arranged in such a way t. 阅读全文
posted @ 2013-03-02 20:25 上白泽慧音 阅读(255) 评论(0) 推荐(0) 编辑
摘要: 题目不太好懂,看了别人的翻译。大概意思就是,球形表面积增加量比上原表面积,其实就是n/4*100%题目: Administrator SHAHRIAR MANZOOR 180 1629 2002-10-25T13:01:00Z 2001-06-30T12:55:00Z 2003-01-10T18:14:00Z 2 337 1922 BUET 16 3 2360 9.2720 Print BestFit MicrosoftInternetExplorer4 Clean Problem HThe Land of JusticeInput: s... 阅读全文
posted @ 2013-03-02 19:26 上白泽慧音 阅读(277) 评论(0) 推荐(0) 编辑
摘要: 找规律可以发现一个数列 (0),1,2,4,6,9,12,16,20....分别是1步,2步,3步,4步....的最大距离。然后把x-y锁定到一个区间就行了。注意距离为0的时候走0步。题目: Steps StepsOne steps through integer points of the straight line. The length of a step must be nonnegative and can be by one bigger than, equal to, or by one smaller than the length of the previous step.W 阅读全文
posted @ 2013-03-02 18:40 上白泽慧音 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 注意:1. 判定成功的时候不要减去滑下的距离2.上升距离为负时要保持为0题目: The SnailA snail is at the bottom of a 6-foot well and wants to climb to the top. The snail can climb 3 feet while the sun is up, but slides down 1 foot at night while sleeping. The snail has a fatigue factor of 10%, which means that on each successive day th. 阅读全文
posted @ 2013-03-02 18:15 上白泽慧音 阅读(206) 评论(0) 推荐(0) 编辑