Not Overflow

AtCoder
IDabc237_a
Time2000ms
Memory256MB
Difficulty
You are given an integer $N$. If $N$ is between $-2^{31}$ and $2^{31}-1$ (inclusive), print `Yes`; otherwise, print `No`. ## Constraints * $-2^{63} \leq N < 2^{63}$ * $N$ is an integer. ## Input Input is given from Standard Input in the following format: $N$ [samples]
Samples
Input #1
10
Output #1
Yes

$10$ is between $-2^{31}$ and $2^{31}-1$, so `Yes` should be printed.
Input #2
\-9876543210
Output #2
No

$-9876543210$ is less than $-2^{31}$, so `No` should be printed.
Input #3
483597848400000
Output #3
No

$483597848400000$ is greater than $2^{31}-1$, so `No` should be printed.
API Response (JSON)
{
  "problem": {
    "name": "Not Overflow",
    "description": {
      "content": "You are given an integer $N$. If $N$ is between $-2^{31}$ and $2^{31}-1$ (inclusive), print `Yes`; otherwise, print `No`.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc237_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "You are given an integer $N$. If $N$ is between $-2^{31}$ and $2^{31}-1$ (inclusive), print `Yes`; otherwise, print `No`.\n\n## Constraints\n\n*   $-2^{63} \\leq N < 2^{63}$\n*   $N$ is an integer.\n\n## Inpu...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments