299 Bulls and Cows 2020-05-18 本文已影响0人 xxxcoder key tips 记录每个猜测的char和原串中char出现的次数,对于猜错的char,其对结果的贡献为min(guess, secret)