题目链接:https://leetcode-cn.com/problems/bulls-and-cows/
题目如下:
class Solution {
public:
string getHint(string secret, string guess) {
string result="";
unordered_map umap;//记录secret中的元素及其数量
unordered_set uset;//用于记录正确的位置
int count_1=0,count_2=0;
for(int i=0;i 


