摘要: 写的忘了一个问题,整除和余数。题目: 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) 编辑
摘要: 精度控制+查找题目:The Cat in the HatThe Cat in the HatBackground(An homage to Theodore Seuss Geisel) The Cat in the Hat is a nasty creature, But the striped hat he is wearing has a rather nifty feature.With one flick of his wrist he pops his top off.Do you know what's inside that Cat's hat? A bunch 阅读全文
posted @ 2013-03-02 15:15 上白泽慧音 阅读(530) 评论(0) 推荐(0) 编辑
摘要: 没难度~题目: Box of BricksLittle Bob likes playing with his box of bricks. He puts the bricks one upon another and builds stacks of different height. ``Look, I've built a wall!'', he tells his older sister Alice. ``Nah, you should make all stacks the same height. Then you would have a real wa 阅读全文
posted @ 2013-03-02 11:18 上白泽慧音 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 算法需要自己猜,参考了题解。题目: The ? 1 ? 2 ? ... ? n = k problemTheproblemGiven the following formula, one can set operators '+' or '-' instead of each '?', in order to obtain a given k? 1 ? 2 ? ... ? n = kFor example: to obtain k = 12 , the expression to be used will be: - 1 + 2 + 3 + 4 阅读全文
posted @ 2013-03-02 10:56 上白泽慧音 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 没啥说的,题目没看懂,但是数据很一般,很好AC。题目: Secret Research Secret ResearchAt a certain laboratory results of secret research are thoroughly encrypted. A result of a single experiment is stored as an information of its completion: `positive result',`negative result',`experiment failed' or`experiment not 阅读全文
posted @ 2013-03-02 10:22 上白泽慧音 阅读(291) 评论(0) 推荐(0) 编辑