백준: 24723(녹색거탑)

강지안·2023년 6월 20일
0

baekjoon

목록 보기
66/186

문제

코드

import java.util.Scanner;

public class q24723 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int N = sc.nextInt();
        System.out.print((int)Math.pow(2,N));
    }
}

0개의 댓글