有没有像我这样国内是做室内给排水的# Environmental - 环境科学与工程
i*0
1 楼
大家帮我回忆一下,以前在这里遇见的一个题目
就是说有一个给定整数数组,和一个给定的数
然后我们要找到这个数组中的一个组合,他们加起来最接近这个给定的数
我记得一位仁兄用c++递归的方法解决了
但是我现在想不起来他怎么做的了
谁能帮我回忆一下?
就是说有一个给定整数数组,和一个给定的数
然后我们要找到这个数组中的一个组合,他们加起来最接近这个给定的数
我记得一位仁兄用c++递归的方法解决了
但是我现在想不起来他怎么做的了
谁能帮我回忆一下?