-Code
import java.util.Scanner;
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(n, 3));
}
}
'Beakjoon&프로그래머스 > Java' 카테고리의 다른 글
[백준/Java] 24086번 Affischutskicket (0) | 2022.04.15 |
---|---|
[백준/Java] 24086번 身長 (Height) (0) | 2022.04.15 |
[백준/Java] 24078번 余り (Remainder) (0) | 2022.04.14 |
[백준/Java] 23234번 The World Responds (0) | 2022.04.14 |
[백준/Java] 22193번 Multiply (0) | 2022.04.14 |