Between Two Integers

AtCoder
IDabc061_a
Time2000ms
Memory256MB
Difficulty
You are given three integers $A$, $B$ and $C$. Determine whether $C$ is not less than $A$ and not greater than $B$. ## Constraints * $-100≤A,B,C≤100$ * $A$, $B$ and $C$ are all integers. ## Input Input is given from Standard Input in the following format: $A$ $B$ $C$ [samples]
Samples
Input #1
1 3 2
Output #1
Yes

$C=2$ is not less than $A=1$ and not greater than $B=3$, and thus the output should be `Yes`.
Input #2
6 5 4
Output #2
No

$C=4$ is less than $A=6$, and thus the output should be `No`.
Input #3
2 2 2
Output #3
Yes
API Response (JSON)
{
  "problem": {
    "name": "Between Two Integers",
    "description": {
      "content": "You are given three integers $A$, $B$ and $C$. Determine whether $C$ is not less than $A$ and not greater than $B$.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc061_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "You are given three integers $A$, $B$ and $C$. Determine whether $C$ is not less than $A$ and not greater than $B$.\n\n## Constraints\n\n*   $-100≤A,B,C≤100$\n*   $A$, $B$ and $C$ are all integers.\n\n## Inp...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments