012. Easy Exponentials

Codeforces
IDCF10269012
Time1000ms
Memory256MB
Difficulty
English · Original
Formal · Original
In the last contest, you were asked to find the last digit of a very large number. This time, you are asked to find the entirety of a much smaller number: your task is to find the first number taken to the power of second number. A brute force approach does work here. The only line of input contains two space-separated integers _n_ and _k_, 1 <= _n_, _k_ <= 10. Output a single integer: the number $n^k$. ## Input The only line of input contains two space-separated integers _n_ and _k_, 1 <= _n_, _k_ <= 10. ## Output Output a single integer: the number $n^k$. [samples]
**Definitions** Let $ n, k \in \mathbb{Z} $ with $ 1 \leq n \leq 10 $ and $ 1 \leq k \leq 10 $. **Objective** Compute $ n^k $.
API Response (JSON)
{
  "problem": {
    "name": "012. Easy Exponentials",
    "description": {
      "content": "In the last contest, you were asked to find the last digit of a very large number. This time, you are asked to find the entirety of a much smaller number: your task is to find the first number taken t",
      "description_type": "Markdown"
    },
    "platform": "Codeforces",
    "limit": {
      "time_limit": 1000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "CF10269012"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "In the last contest, you were asked to find the last digit of a very large number. This time, you are asked to find the entirety of a much smaller number: your task is to find the first number taken t...",
      "is_translate": false,
      "language": "English"
    },
    {
      "statement_type": "Markdown",
      "content": "**Definitions**  \nLet $ n, k \\in \\mathbb{Z} $ with $ 1 \\leq n \\leq 10 $ and $ 1 \\leq k \\leq 10 $.\n\n**Objective**  \nCompute $ n^k $....",
      "is_translate": false,
      "language": "Formal"
    }
  ]
}
Full JSON Raw Segments