-
[java]백준 기찍 N 2742번알고리즘 문제풀이/백준(자바) 2023. 3. 24. 23:33
코드
import java.util.Scanner; public class BOJ_2742 { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); for(int i=n; i>0;i-- ){ System.out.println(i); } in.close(); } }
링크
https://www.acmicpc.net/problem/2742
'알고리즘 문제풀이 > 백준(자바)' 카테고리의 다른 글
[java]백준 곱셈 2588번 (0) 2023.03.25 [java]백준 최소, 최대 10818번 (0) 2023.03.25 [java]백준 N 찍기 2741번 (0) 2023.03.24 [java]백준 A+B - 2 2558번 (0) 2023.03.24 [java]백준 1998년생인 내가 태국에서는 2541년생?! 18108번 (0) 2023.03.23