只出现一次的数字题目链接 题目思路a^a=0a^0=a go解题思路12345678func singleNumber(nums []int) int { a := 0 for _, v := range nums { a ^= v } return a}