#90. 数字范围判断

    ID: 90 Type: Default 1000ms 256MiB Tried: 0 Accepted: 0 Difficulty: (None) Uploaded By: Tags>codingbatWarmup-1gesp1条件结构

数字范围判断

Range Check

Background

Congcong is learning about conditional statements in programming. He encountered an interesting problem that requires checking if two numbers satisfy a specific condition.

Problem Description

Given two integer values, return true if either of them is in the inclusive range [10,20][10, 20]. Otherwise, return false.

Input Format

Input is given from standard input in the following format.

aa bb

Output Format

Output is printed to standard output in the following format.

true or false

Sample

12 99
true
21 12
true
8 99
false

Sample Explanation

For the first sample, the input is 1212 and 9999. Since 1212 is within the inclusive range [10,20][10, 20], the result is true.

Constraints

Time limit: 11 second per test case. Memory limit: 10241024 KiB per test case.