练45.1 计算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.
说明
给定非负整数 ,求 ()。
输入格式
输入只有一行,该行包含一个整数 。
输出格式
一个整数,即 的 次方。
样例
3
8
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.
给定非负整数 n,求 2n (1≤n≤31)。
输入只有一行,该行包含一个整数n 。
一个整数,即 2 的 n 次方。
3
8
By signing up a 战码少年-战码青少年编程(专业信息学奥赛编程训练) universal account, you can submit code and join discussions in all online judging services provided by us.