15 lines
208 B
C++
15 lines
208 B
C++
|
#ifndef S0016_3SUM_CLOSEST
|
||
|
#define S0016_3SUM_CLOSEST
|
||
|
|
||
|
#include <vector>
|
||
|
#include <algorithm>
|
||
|
|
||
|
using namespace std;
|
||
|
|
||
|
class Solution {
|
||
|
public:
|
||
|
int threeSumClosest(vector<int>& nums, int target);
|
||
|
};
|
||
|
|
||
|
#endif
|