2^N

AtCoder
IDabc256_a
Time2000ms
Memory256MB
Difficulty
Given $N$, print $2^N$. ## Constraints * $0 \leq N \leq 30$ * $N$ is an integer. ## Input Input is given from Standard Input in the following format: $N$ [samples]
Samples
Input #1
3
Output #1
8

We have $2^3=8$.
Input #2
30
Output #2
1073741824
API Response (JSON)
{
  "problem": {
    "name": "2^N",
    "description": {
      "content": "Given $N$, print $2^N$.",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "abc256_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "Given $N$, print $2^N$.\n\n## Constraints\n\n*   $0 \\leq N \\leq 30$\n*   $N$ is an integer.\n\n## Input\n\nInput is given from Standard Input in the following format:\n\n$N$\n\n[samples]...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments