【leetcode】217. Contains Duplicate
#include <sys/time.h>#include <algorithm>#include <iostream>#include <unordered_set>#include <vector>using namespace std;bool containsDuplicate(vector<int>& nums) { unordered_set<int> us; for( a
原创
2015-12-27 13:03:58 ·
305 阅读 ·
0 评论