上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 66 下一页
摘要: Given the value of a+b and ab you will have to find the value of an + bnInputThe input file contains several lines of inputs. Each line except the last ... 阅读全文
posted @ 2016-01-24 21:33 meekyan 阅读(266) 评论(0) 推荐(0) 编辑
摘要: C. Pearls in a RowThere arenpearls in a row. Let's enumerate them with integers from1tonfrom the left to the right. The pearl numberihas the typeai.Le... 阅读全文
posted @ 2016-01-24 19:28 meekyan 阅读(193) 评论(0) 推荐(0) 编辑
摘要: B. Grandfather Dovlet’s calculatorOnce Max found an electronic calculator from his grandfather Dovlet's chest. He noticed that the numbers were writte... 阅读全文
posted @ 2016-01-24 19:24 meekyan 阅读(304) 评论(0) 推荐(0) 编辑
摘要: A. Professor GukiZ's RobotProfessor GukiZ makes a new robot. The robot are in the point with coordinates(x1, y1)and should go to the point(x2, y2). In... 阅读全文
posted @ 2016-01-24 19:18 meekyan 阅读(408) 评论(0) 推荐(0) 编辑
摘要: Prime BasesProblem DescriptionGiven any integer base b >= 2, it is well known that every positive integer n can be uniquely represented in base b. Tha... 阅读全文
posted @ 2016-01-22 23:26 meekyan 阅读(264) 评论(0) 推荐(0) 编辑
摘要: TruckingProblem DescriptionA certain local trucking company would like to transport some goods on a cargo truck from one place to another. It is desir... 阅读全文
posted @ 2016-01-22 23:20 meekyan 阅读(223) 评论(0) 推荐(1) 编辑
摘要: DanceProblem DescriptionFor a dance to be proper in the Altered Culture of Machinema, it must abide by the following rules:1. A dip can only appear 1 ... 阅读全文
posted @ 2016-01-22 17:22 meekyan 阅读(397) 评论(0) 推荐(1) 编辑
摘要: Close Enough ComputationsProblem DescriptionThe nutritional food label has become ubiquitous. A sample label is shown to the right. On the label the n... 阅读全文
posted @ 2016-01-22 17:18 meekyan 阅读(198) 评论(0) 推荐(0) 编辑
摘要: A. Substring and SubsequenceOne day Polycarpus got hold of two non-empty stringssandt, consisting of lowercase Latin letters. Polycarpus is quite good... 阅读全文
posted @ 2016-01-21 19:59 meekyan 阅读(759) 评论(0) 推荐(0) 编辑
摘要: Yet another Number SequenceLet’s define another number sequence, given by the following function:f(0) = af(1) = bf(n) = f(n − 1) + f(n − 2), n... 阅读全文
posted @ 2016-01-21 15:58 meekyan 阅读(295) 评论(0) 推荐(0) 编辑
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 66 下一页