Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add solutions to lc problems: No.0643,1984 #2556

Merged
merged 2 commits into from
Apr 8, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix: cpp code
  • Loading branch information
yanglbme committed Apr 8, 2024
commit 1df532b66a28c686a5d41a11fbee4632e85e69a8
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ class Solution {
s += nums[i] - nums[i - k];
ans = max(ans, s);
}
return static_cast<double>(ans) / k;
return static_cast<double>(ans) / k;
}
};
Loading