Not

AtCoder
IDabc178_a
Time2000ms
Memory256MB
Difficulty
Given is an integer $x$ that is greater than or equal to $0$, and less than or equal to $1$. Output $1$ if $x$ is equal to $0$, or $0$ if $x$ is equal to $1$. ## Constraints * $0 \leq x \leq 1$ * $x$ is an integer ## Input Input is given from Standard Input in the following format: $x$ [samples]
Samples
Input #1
1
Output #1
0
Input #2
0
Output #2
1
API Response (JSON)
{
  "problem": {
    "name": "Not",
    "description": {
      "content": "Given is an integer $x$ that is greater than or equal to $0$, and less than or equal to $1$. Output $1$ if $x$ is equal to $0$, or $0$ if $x$ is equal to $1$.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc178_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "Given is an integer $x$ that is greater than or equal to $0$, and less than or equal to $1$. Output $1$ if $x$ is equal to $0$, or $0$ if $x$ is equal to $1$.\n\n## Constraints\n\n*   $0 \\leq x \\leq 1$\n* ...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments