C. 【入门】请输出带有特殊尾数的数

    Type: Default 1000ms 64MiB

【入门】请输出带有特殊尾数的数

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.

说明

请输出1~n中所有个位为1、3、5、7中任意一个数的整数,每行1个。(n < 1000)

比如,假设从键盘读入20,输出结果如下:

1

3

5

7

11

13

15

17

输入格式

一个整数n。

输出格式

输出满足条件的数,每行1个。

样例

20
1
3
5
7
11
13
15
17

望京C++一班寒假语法赛

Not Attended
Status
Done
Rule
IOI(Strict)
Problem
3
Start at
2025-1-10 11:00
End at
2025-1-10 14:00
Duration
0.5 hour(s)
Host
Partic.
4