Problem F: 数据区间判断
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:5162
Solved:3956
Description
Please enter the number:
2563↙
2563: 1000-9999
程序运行结果示例2:
Please enter the number:
156↙
156: 100-999
程序运行结果示例3:
Please enter the number:
36↙
36: 10-99
程序运行结果示例4:
Please enter the number:
3↙
3: 0-9
程序运行结果示例5:
Please enter the number:
10923↙
error!
Input
输入格式: "%d"
Output
输入提示信息:"Please enter the number:\n"
输出的区间判断:
"%d: 1000-9999\n"
"%d: 100-999\n"
"%d: 10-99\n"
"%d: 0-9\n"
输入错误提示信息:"error!\n"
为避免出现格式错误,请直接拷贝粘贴题目中给的格式字符串和提示信息到你的程序中。
Sample Input Copy
2563
Sample Output Copy
Please enter the number:
2563: 1000-9999