ù. 与众不同

    Type: Default 1000ms 256MiB

与众不同

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-ACM老生预选赛

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
187
Start at
2022-9-19 14:00
End at
2022-10-28 14:00
Duration
936 hour(s)
Host
Partic.
45