![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
暴力搜索
文章平均质量分 77
老鼠哎大米
这个作者很懒,什么都没留下…
展开
-
HDU 1032 The 3n + 1 problem
Problem DescriptionProblems in Computer Science are often classified as belonging to a certain class of problems (e.g., NP, Unsolvable, Recursive). In this problem you will be analyzing a property o原创 2013-08-04 15:54:30 · 604 阅读 · 0 评论 -
poj 3983 快算24
Description给定4个不大于10的正整数(范围1-10),要求在不改变数据先后顺序的情况下,采用加减乘除四种运算,找到一个表达式,使得最后的结果是24。Input4个不大于10的正整数。输入数据保证存在唯一解。Output不改变位置顺序,由'+','-','*','/'4个运算符和'(',')'组成的表达式Sample Input5 5 1 5S原创 2014-02-18 20:49:38 · 835 阅读 · 0 评论