반응형
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
/*
* Author : Jeonghun Cho
* Date : December 2, 2019
*/
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
// TODO Auto-generated method stub
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
int number = Integer.parseInt(br.readLine());
for(int i=number; i>0; i--) {
System.out.println(i);
}
}
}
Colored by Color Scripter
|
반응형
'알고리즘 > 백준' 카테고리의 다른 글
[백준] 11022 A+B -8 (Java) (0) | 2019.12.02 |
---|---|
[백준] 11021 A+B - 7 (Java) (0) | 2019.12.02 |
[백준] 2741 N찍기 (Java) (0) | 2019.12.02 |
[백준] 15552 빠른 A+B (Java) (0) | 2019.12.02 |
[백준] 1001 A-B (Java) (0) | 2019.11.26 |