啊哈添柴——挑戰
1017. 計算2的冪
import java.util.Scanner;
/**
* @author yinglongwu
*/
//1017. 計算2的冪
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n = scanner.nextInt();
System.out.println((int)Math.pow(2, n));
scanner.close();
}
}