Who is missing?
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.
Background
Special for beginners, ^_^
Description
有 4n 张卡片,写着数字 1 到 n 。每个数字都被写在 4 张卡片上。现在给出其中的 (4n−1) 张卡片上写的数字,请你输出剩下的那张卡片上写的数字是多少。
Format
Input
第一行数字n,表示有1-n个数字 第二行4*n -1个数字
Output
缺少的那个数字
Samples
3
1 3 2 3 3 2 2 1 1 1 2
3
1
1 1 1
1
Limitation
1 ≤ N ≤ 10^5 1 ≤ Ai≤ N (1 ≤ i ≤ 4N − 1)
周末班结营考试
- Status
- Done
- Rule
- IOI
- Problem
- 6
- Start at
- 2025-1-11 14:30
- End at
- 2025-1-11 16:30
- Duration
- 2 hour(s)
- Host
- Partic.
- 14