B. 练60.1 丢失的数字

    Type: Default 1000ms 64MiB

练60.1 丢失的数字

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.

Description

给你mm11nn之间的整数,你能找出11nn中的哪些整数没有出现吗?

Input Format

第一行22个整数nn,mm,直接用空格分隔(1n1000001 \le n \le 100000, m<nm < n),表示有mm11nn之间的整数。 接下来mm行,每行一个整数aia_i1ain1 \le a_i \le n,数据保证mm个数都不相同)。

Output Format

每行11个数,从小到大输出输入数据中没有出现过的11nn中的整数。

5 3
3
1
4
2
5

Source

http://bas.ssoier.cn:8086/problem_show.php?pid=3347 数的存储与组织

位运算

Not Claimed
Status
Done
Problem
8
Open Since
2026-1-8 0:00
Deadline
2026-1-15 23:59
Extension
24 hour(s)