练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
38
20250920B班作业(2)
- Status
- Done
- Problem
- 7
- Open Since
- 2025-9-20 0:00
- Deadline
- 2025-10-11 23:59
- Extension
- 24 hour(s)