E. 练41.2 计算2的幂

    Type: Default 1000ms 128MiB

练41.2 计算2的幂

You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.

Description

Given a non-negative integer n, calculate 2^n.

Input Format

A single integer n, where 0≤n<31.

Output Format

A single integer representing 2 raised to the power of n.

Sample

3
8

20250920B班作业(2)

Not Claimed
Status
Done
Problem
7
Open Since
2025-9-20 0:00
Deadline
2025-10-11 23:59
Extension
24 hour(s)