mirror of
https://github.com/20kaushik02/leetcode-gulag.git
synced 2025-12-06 10:34:07 +00:00
10 lines
269 B
C++
10 lines
269 B
C++
#include "soln.hpp"
|
|
#include <iostream>
|
|
|
|
int main() {
|
|
string haystack = "Drink some water, reload your mags, and let's get back out there.";
|
|
string needle = "water";
|
|
Solution soln;
|
|
cout << "Found correctly? " << soln.test(haystack, needle, 11) << endl;
|
|
return 0;
|
|
} |