练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
Given integers between and , can you find which integers from to are missing?
Input Format
The first line contains two integers and separated by a space (, ), indicating there are integers between and . The next lines each contain one integer (, it is guaranteed that all numbers are different).
Output Format
Output one number per line, in ascending order, the integers from to that do not appear in the input data.
Sample
5 3
3
1
42
5
20251101C班作业(5)
- Status
- Done
- Problem
- 6
- Open Since
- 2025-11-1 0:00
- Deadline
- 2025-11-9 23:59
- Extension
- 24 hour(s)