[Buổi 1][Nhập môn][RDD] Bài 31: Hàm pow.


LÀM BÀI

Points: 10
Time limit: 2.0s
Memory limit: 20M

Author:
Problem types
Allowed languages
C++

Hàm pow.

Bối cảnh

Bài toán được mô tả qua yêu cầu và dữ liệu dưới đây.

Yêu cầu

Ở bài tập này bạn hãy nhập vào 2 số nguyên x và y.Bạn hãy tính x^y.

Input

2 số nguyên x,y.(1 ≤ x,y ≤ 10).

Output

In ra 2 dòng như yêu cầu.

Ràng buộc

Đề gốc không nêu ràng buộc riêng.

Ví dụ 1

Input

2 3

Output

8

Thông tin học tập

  • Buổi: B01
  • Concepts: variables, data types, input/output, arithmetic expressions
  • Giới hạn kiến thức: B01-B01
  • Time limit: 2 seconds
  • Memory limit: 20 MB
  • Point: 10

Comments

There are no comments at the moment.

Zalo