Skip to content

Commit 007ed91

Browse files
committed
[D1] Title: 거꾸로 출력해 보아요, Time: 95 ms, Memory: 26,752 KB -BaekjoonHub
1 parent 3e029c0 commit 007ed91

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# [D1] 거꾸로 출력해 보아요 - 1545
2+
3+
[문제 링크](https://swexpertacademy.com/main/code/problem/problemDetail.do?contestProbId=AV2gbY0qAAQBBAS0)
4+
5+
### 성능 요약
6+
7+
메모리: 26,752 KB, 시간: 95 ms, 코드길이: 379 Bytes
8+
9+
### 제출 일자
10+
11+
2025-09-25 16:23
12+
13+
14+
15+
> 출처: SW Expert Academy, https://swexpertacademy.com/main/code/problem/problemList.do
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import java.util.Scanner;
2+
import java.io.FileInputStream;
3+
4+
class Solution
5+
{
6+
public static void main(String args[]) throws Exception
7+
{
8+
Scanner sc = new Scanner(System.in);
9+
int n = sc.nextInt();
10+
StringBuilder sb = new StringBuilder();
11+
12+
for(int i=n; i>=0; i--){
13+
sb.append(i + " ");
14+
}
15+
16+
System.out.println(sb);
17+
}
18+
}

0 commit comments

Comments
 (0)