摘要: As part of an arithmetic competency program, your students will be given randomly generated lists of from 2 to 15 unique positive integers and asked to determine how many items in each list are twice some other item in the same list. You will need a program to help you with the grading. This program should be able to scan the lists and output the correct answer for each one. For example, given th 阅读全文
posted @ 2015-06-14 20:18 GadyPu 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1212Big NumberDescriptionAs we know, Big Number is always troublesome. But it's really important in our ... 阅读全文
posted @ 2015-06-14 17:36 GadyPu 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 题目连接http://acm.hdu.edu.cn/showproblem.php?pid=1250Hat's FibonacciDescriptionA Fibonacci sequence is calculated by adding the previous two members the ... 阅读全文
posted @ 2015-06-14 10:58 GadyPu 阅读(168) 评论(0) 推荐(0) 编辑