Lũy thừa

View as PDF

Submit solution

Points: 800 (partial)
Time limit: 1.0s
Memory limit: 256M
Input: stdin
Output: stdout

Problem type

Thiết lập hàm power(a,b,c) với a,b,c là các số nguyên. Hàm trả về giá trị (a+b)^c.

Input

  • 3 số a,b,c là các số nguyên.

Output

  • Giá trị của (a+b)^c.

Example

Test 1

Input
1
2
3
Output
27

Comments

There are no comments at the moment.