-->
当前位置:首页 > 题库

PROGRAMMING:Show missing numbers

Luz5年前 (2021-05-10)题库425
Show missing numbers. Enter the number from 1 to 99, end with 0, print the number not entered from 1 to 99, separate each number with space, and display it in a line.
###Input format:
Give a line prompt, and then enter data from 1 to 99, ending with 0
###Output format:
The output is separated by spaces and the output is on one line. Note that if there is no missing data, "the tickets cover all numbers" is displayed
###Input example:
```in
1 3 87 62 30 90 10 21 46 27 34 23 89 57 34 34 90 34 23 93 44
0
```
###Output example:
```out
2 4 5 6 7 8 9 11 12 13 14 15 16 17 18 19 20 22 24 25 26 28 29 31 32 33 35 36 37 38 39 40 41 42 43 45 47 48 49 50 51 52 53 54 55 56 58 59 60 61 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 88 91 92 94 95 96 97 98 99 are the missing numbers.
```
###Input example:
```in
1 3 87 62 30 90 10 21 46 27
12 40 83 9 39 88 95 59 20 37
80 40 87 67 31 90 11 24 56 77
11 48 51 42 8 74 1 41 36 53
52 82 16 72 19 70 44 56 29 33
54 64 99 14 23 22 94 79 55 2
60 86 34 4 31 63 84 89 7 78
43 93 97 45 25 38 28 26 85 49
47 65 57 67 73 69 32 71 24 66
92 98 96 77 6 75 17 61 58 13
35 81 18 15 5 68 91 50 76
0
```
###Output example:
```out
The tickets cover all numbers
```







answer:If there is no answer, please comment