Type: Default 1000ms 1MiB

异或应用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

位运算

Not Claimed
Status
Done
Problem
12
Open Since
2024-11-23 0:00
Deadline
2024-12-1 23:59
Extension
24 hour(s)