1381: 包含“3”的数

Memory Limit:256 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:2 Solved:2

Description

[md] 输入一个正整数n,输出n以内(包括n)所有包含数字“3”的正整数的个数。 例如输入20,20以内包含数字“3”的数有3和13,共2个,输出2。 [/md]

Sample Input Copy

20

Sample Output Copy

2

Source/Category