[C++] Brute Force
\tclass Solution {\n\tpublic:\n\t\tint numOfPairs(vector& nums, string target) {\n\t\t\tint res = 0;\n\t\t\tfor(int i = 0; i < nums.size(); i++){\n\t\t\t\tfor(i
\tclass Solution {\n\tpublic:\n\t\tint numOfPairs(vector<string>& nums, string target) {\n\t\t\tint res = 0;\n\t\t\tfor(int i = 0; i < nums.size(); i++){\n\t\t\t\tfor(int j = 0; j < nums.size(); j++){\n\t\t\t\t\tif(i == j){\n\t\t\t\t\t\tcontinue;\n\t\t\t\t\t}\n\t\t\t\t\tif(nums[i]  + nums[j] == target){\n\t\t\t\t\t\tres++;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn res;\n\t\t}\n\t};
['C', 'C++']