Welcome   HUNAN NORMAL UNIVERSITY ACM/ICPC Judge Online
Home
FAQs
Problem Set
Practices
Online Contests
Major Exercises
OI Special
Judgement
Submit
Online Status
User Ranklist
Users
Register new
Login
Web Links
Hunan Normal University
College of Information Science and Engineering
找数字2
Time Limit: 25000ms, Special Time Limit:50000ms, Memory Limit:32768KB
Total submit users: 140, Accepted users: 116
Problem 11466 : No special judgement
Problem description
  给定2n+1个数字,只有一个数字出现了奇数次,其余的数字都出现了偶数次,现在你需要找出出现奇数次的数字。

Input
  包含多组数据,每组数据第一行为一个数n(0<=n<=5000000)。接下来一行包括2n+1个数字(小于1000000000)。

Output
  对于每组数据,输出出现奇数次的数字.

Sample Input
1
1 1 1
2
1 2 1 3 3
3
1 1 2 2 3 3 4
Sample Output
1
2
4
Problem Source
  HUNNU Contest 

Submit   Discuss   Judge Status  Problems  Ranklist 

HUNAN NORMAL UNIVERSITY ACM/ICPC Judge Online, Version 2010.5.5.final.
Web visits:19176 today,16242167 total, since 2010-05-07