Skip to content

Commit 085b2b3

Browse files
committed
[Silver III] Title: 01타일, Time: 124 ms, Memory: 18196 KB -BaekjoonHub
1 parent 962d21f commit 085b2b3

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

백준/Silver/1904. 01타일/01타일.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
import java.util.*;
1+
import java.io.*;
22

33
public class Main {
4-
public static void main(String[] args) {
5-
Scanner sc = new Scanner(System.in);
6-
int N = sc.nextInt();
4+
public static void main(String[] args) throws IOException{
5+
6+
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
7+
int N = Integer.parseInt(br.readLine());
78

89
if(N==1) {
910
System.out.println(1);

백준/Silver/1904. 01타일/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,15 @@
44

55
### 성능 요약
66

7-
메모리: 21596 KB, 시간: 184 ms
7+
메모리: 18196 KB, 시간: 124 ms
88

99
### 분류
1010

1111
다이나믹 프로그래밍
1212

1313
### 제출 일자
1414

15-
2025년 8월 14일 15:55:20
15+
2025년 8월 14일 15:59:32
1616

1717
### 문제 설명
1818

0 commit comments

Comments
 (0)