Skip to content

Commit ba1ed88

Browse files
committed
[Gold IV] Title: 비슷한 단어, Time: 1232 ms, Memory: 17716 KB -BaekjoonHub
1 parent 3c42280 commit ba1ed88

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

백준/Gold/2179. 비슷한 단어/README.md

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

55
### 성능 요약
66

7-
메모리: 18128 KB, 시간: 1680 ms
7+
메모리: 17716 KB, 시간: 1232 ms
88

99
### 분류
1010

1111
자료 구조, 문자열, 정렬, 집합과 맵, 해시를 사용한 집합과 맵
1212

1313
### 제출 일자
1414

15-
2026년 2월 2일 02:19:21
15+
2026년 2월 2일 02:22:03
1616

1717
### 문제 설명
1818

백준/Gold/2179. 비슷한 단어/비슷한 단어.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,8 @@ private static void findWord(){
3030
}
3131

3232
private static int compareStrs(String s1, String s2){
33-
if(s1.equals(s2)) return 0;
34-
3533
int answer = 0;
34+
3635
for(int i = 0; i < Math.min(s1.length(), s2.length()); i++){
3736
if(s1.charAt(i) != s2.charAt(i)) break;
3837

0 commit comments

Comments
 (0)