一些技巧题
异或做就行,简单
for _, n := range nums { ans ^= n }
https://leetcode.cn/problems/single-number?envType=study-plan-v2&envId=top-100-liked