File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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
1616
1717### 제출 일자
1818
19- 2025년 05월 05일 17:15:57
19+ 2025년 05월 05일 17:41:39
2020
2121### 문제 설명
2222
Original file line number Diff line number Diff 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 ];
You can’t perform that action at this time.
0 commit comments