随笔分类 -  Algorithom

大一写的一些算法题
摘要:Description Input Output Sample Input Sample Output 标准的web浏览器中包含特性向后和向前移动页面最近访问了。实现这些特性的一种方法是使用两个堆栈跟踪的页面,可以达成的向后和向前移动。这个问题,你问来实现这一点。 以下命令需要支持: :把当前页面顶 阅读全文
posted @ 2016-03-17 15:41 |瑾诺学长| 阅读(409) 评论(0) 推荐(0)
摘要:Description Input Output Sample Input Sample Output 工厂生产的产品装在方形包的同一高度h和大小的1 * 1,2 * 2,3 * 3,4 * 4,5 * 5,6 * 6。广场上的这些产品总是交付给客户的包裹一样高h的产品和尺寸6 * 6。因为费用是工 阅读全文
posted @ 2016-03-16 19:11 |瑾诺学长| 阅读(283) 评论(0) 推荐(0)
摘要:Description For any even number n greater than or equal to 4, there exists at least one pair of prime numbers p1 and p2 such that n = p1 + p2 This con 阅读全文
posted @ 2016-03-15 21:15 |瑾诺学长| 阅读(276) 评论(0) 推荐(0)
摘要:Description Input Output Sample Input Sample Output 阅读全文
posted @ 2016-03-15 21:10 |瑾诺学长| 阅读(139) 评论(0) 推荐(0)
摘要:Description Input Output Sample Input Sample Output 阅读全文
posted @ 2016-03-15 20:59 |瑾诺学长| 阅读(338) 评论(0) 推荐(0)
摘要:Description Input Output Sample Input Sample Output 阅读全文
posted @ 2016-03-15 20:51 |瑾诺学长| 阅读(481) 评论(0) 推荐(0)
摘要:Description Input Output Sample Input Sample Output 阅读全文
posted @ 2016-03-15 20:45 |瑾诺学长| 阅读(200) 评论(0) 推荐(0)
摘要:Description Input Output Sample Input Sample Output 阅读全文
posted @ 2016-03-15 20:41 |瑾诺学长| 阅读(237) 评论(0) 推荐(0)
摘要:Description Input Output Sample Input Sample Output Hint 阅读全文
posted @ 2016-03-15 20:33 |瑾诺学长| 阅读(169) 评论(0) 推荐(0)
摘要:Description Input Output Sample Input Sample Output 阅读全文
posted @ 2016-03-15 20:21 |瑾诺学长| 阅读(309) 评论(0) 推荐(0)
摘要:Description How far can you make a stack of cards overhang a table? If you have one card, you can create a maximum overhang of half a card length. (We 阅读全文
posted @ 2016-03-15 20:14 |瑾诺学长| 阅读(288) 评论(0) 推荐(0)