We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 962d21f commit 085b2b3Copy full SHA for 085b2b3
백준/Silver/1904. 01타일/01타일.java
@@ -1,9 +1,10 @@
1
-import java.util.*;
+import java.io.*;
2
3
public class Main {
4
- public static void main(String[] args) {
5
- Scanner sc = new Scanner(System.in);
6
- int N = sc.nextInt();
+ public static void main(String[] args) throws IOException{
+
+ BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
7
+ int N = Integer.parseInt(br.readLine());
8
9
if(N==1) {
10
System.out.println(1);
백준/Silver/1904. 01타일/README.md
@@ -4,15 +4,15 @@
### 성능 요약
-메모리: 21596 KB, 시간: 184 ms
+메모리: 18196 KB, 시간: 124 ms
### 분류
11
다이나믹 프로그래밍
12
13
### 제출 일자
14
15
-2025년 8월 14일 15:55:20
+2025년 8월 14일 15:59:32
16
17
### 문제 설명
18
0 commit comments