异或应用3
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
一系列数中,除两个数外其他数字都出现过两次,求这两个数字,并且按照从小到大的顺序输出.例如 2 2 1 1 3 4.最后输出的就是3 和4
输入一个n,n<=1000(n是指数据个数,接下来数据范围如果是1e9甚至1e10呢) 接下来输入n个数
6
2 2 1 1 3 4
3 4