#PCBSAU0000005. Lũy thừa (Exponentiation)
Lũy thừa (Exponentiation)
Exponentiation
Source: Phước Hưng OJ
Version: Phuoc Hung OJ Extended
Problem Statement
Given integer base and non-negative integer exponent , compute the power using ** and pow().
Input
One line containing integers .
Output
Print using **, then print the value computed by pow(a,b) on the next line.
Subtask
- Subtask 1 — 100 points: ; . Python defines , including .
Example
Input
-2 3
Output
-8
-8
Explanation
With base and exponent , the product is . Both ** and pow() print -8.