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

PROGRAMMING:Finding the set of integers that meet the given conditions

Luz5年前 (2021-05-10)题库338
Given a positive integer a no more than 6, consider four consecutive numbers starting from a. Please output all the 3-digit numbers without repetition.
###Input format:
The input gives a on one line.
###Output format:
Output 3 digits that meet the conditions, from small to large, 6 integers per line. Integers are separated by spaces, but no extra spaces are allowed at the end of the line.
###Input example:
```in
two
```
###Output example:
```out
234 235 243 245 253 254
324 325 342 345 352 354
423 425 432 435 452 453
523 524 532 534 542 543
```






answer:If there is no answer, please comment