和爲S的兩個數字 VS 和爲S的連續正數序列

來自劍指offerios #include "stdafx.h" #include <iostream> using namespace std; bool FindNumbersWithSum(int* data, int length, int sum, int* num1, int* num2) { bool bFound = false; if(data==NULL || lengt
相關文章
相關標籤/搜索