Type: Default 1000ms 256MiB

计算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.

【题目描述】

给定非负整数nn,求2n2^n的值,即22nn次方。

【输入】

一个整数nn0n<310 ≤ n < 31

【输出】

一个整数,即22nn次方。

【输入样例】

3

【输出样例】

8

【来源】

一本通在线评测

简单的考验

Not Attended
Status
Done
Rule
ACM/ICPC
Problem
13
Start at
2025-1-23 9:15
End at
1970-1-1 8:00
Duration
-482665.2 hour(s)
Host
Partic.
0