【Lintcode】checkSumOfSquareNumbers巧用无序集合unordered_set
#include <bits/stdc++.h>#include <unordered_set>using namespace std;bool judgeSquareSum(int c) { unordered_set<int> s; for (int i = 0; i <= sqrt(c); ++i) { .