mirror of
https://github.com/20kaushik02/leetcode-gulag.git
synced 2025-12-06 08:54:07 +00:00
11 lines
228 B
C++
11 lines
228 B
C++
#include "soln.hpp"
|
|
|
|
int main()
|
|
{
|
|
vector<int> nums{2, 7, 11, 15};
|
|
int target = 9;
|
|
vector<int> answer{0, 1};
|
|
Solution soln;
|
|
cout << "Found two-sum indices correctly? " << soln.test(nums, target, answer) << endl;
|
|
return 0;
|
|
} |