
-Code
import java.util.Scanner;
public class BOJ34759 {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
long N = sc.nextLong();
System.out.println(N * 2);
}
}'Beakjoon&프로그래머스 > Java' 카테고리의 다른 글
| [백준/Java] 34849번 이중 반복문 (0) | 2025.11.30 |
|---|---|
| [백준/Java] 34795번 An Elephant Problem (0) | 2025.11.28 |
| [LeetCode/Java] Daily Temperatures (0) | 2025.11.27 |
| [LeetCode/Java] Final Prices With a Special Discount in a Shop (0) | 2025.11.27 |
| [LeetCode/Java] Exclusive Time of Functions (0) | 2025.11.27 |