Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 48d735a

Browse files
Merge pull request SharingSource#318 from SharingSource/ac_oier
✨update: Modify 539
2 parents 89bc9e1 + 1866cb8 commit 48d735a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎LeetCode/531-540/539. 最小时间差(中等).md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ int findMinDifference(char ** timePoints, int timePointsSize){
154154
class Solution {
155155
public int findMinDifference(List<String> timePoints) {
156156
int n = timePoints.size();
157-
if (n >= 1440) return 0;
157+
if (n > 1440) return 0;
158158
int[] cnts = new int[1440 * 2 + 10];
159159
for (String s : timePoints) {
160160
String[] ss = s.split(":");

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /