Type: Default 1000ms 256MiB

判断是否为两位数

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.

【题目描述】

判断一个正整数是否是两位数(即大于等于10且小于等于99)。若该正整数是两位数,输出1,否则输出0。

【输入】

一个正整数,不超过1000。

【输出】

一行。若该正整数是两位数,输出1,否则输出0。

【输入样例】

54

【输出样例】

1

【来源】

一本通在线评测

B班第三天测试

Not Attended
Status
Done
Rule
Ledo
Problem
12
Start at
2025-7-22 19:00
End at
2025-7-22 21:00
Duration
2 hour(s)
Host
Partic.
6