与众不同
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.
题目描述
为了方便你们签到我也不废话了,给你n个数,只有一个数的出现次数是奇数,
其余数的出现次数都是偶数,找到这个出现次数为奇数的数。
输入描述
第一行输入整数n,第二行输入n个整数,范围在long long以内
输出描述
输出出现次数为奇数的数
5
1 2 3 2 1
3
9
123 854 3489 854 123904 3489 123 3489 3489
123904
SWPU ROUND #4(DIV.3)
- Status
- Done
- Rule
- ACM/ICPC
- Problem
- 6
- Start at
- 2021-11-27 9:00
- End at
- 2021-11-27 11:30
- Duration
- 2.5 hour(s)
- Host
- Partic.
- 26