4. find out pythagorean triplets in an integer array.
#include#include #include #include using namespace std;vector > findP( vector & x ) { set pool; vector > rel; if(x.size() < 3) return rel; for( int i=0; i
本文共 978 字,大约阅读时间需要 3 分钟。
4. find out pythagorean triplets in an integer array.
#include#include #include #include using namespace std;vector > findP( vector & x ) { set pool; vector > rel; if(x.size() < 3) return rel; for( int i=0; i
转载于:https://www.cnblogs.com/xishibean/archive/2013/01/23/2951371.html