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