9 lines
168 B
C++

#include <string>
using namespace std;
class Solution
{
public:
int strStr(string haystack, string needle);
bool test(string haystack, string needle, int answer);
};