Skip to content

Commit b2b1647

Browse files
committed
[level 2] Title: 호텔 대실, Time: 5.50 ms, Memory: 96.9 MB -BaekjoonHub
1 parent eaeb1ae commit b2b1647

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

프로그래머스/2/155651. 호텔 대실/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# [level 2] 호텔 대실 - 155651
22

3-
[문제 링크](https://school.programmers.co.kr/learn/courses/30/lessons/155651#qna)
3+
[문제 링크](https://school.programmers.co.kr/learn/courses/30/lessons/155651)
44

55
### 성능 요약
66

7-
메모리: 94 MB, 시간: 9.91 ms
7+
메모리: 96.9 MB, 시간: 5.50 ms
88

99
### 구분
1010

@@ -16,7 +16,7 @@
1616

1717
### 제출 일자
1818

19-
2025년 05월 05일 17:15:57
19+
2025년 05월 05일 17:41:39
2020

2121
### 문제 설명
2222

프로그래머스/2/155651. 호텔 대실/호텔 대실.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,9 @@ public int solution(String[][] book_time) {
1414
start = transfer(now[0].split(":"));
1515
end = transfer(now[1].split(":")) + 10;
1616

17-
// System.out.println(start + " " + end);
1817
timeLine[start]++;
1918
timeLine[end]--;
20-
// System.out.println(timeLine[start] + " " + timeLine[end]);
2119
}
22-
// System.out.println();
2320

2421
for(int i = 1; i < 24 * 60 + 10; i++){
2522
timeLine[i] += timeLine[i - 1];

0 commit comments

Comments
 (0)