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 aa0d4c7

Browse files
✨update: Modify 1713
1 parent d3d948a commit aa0d4c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class Solution {
7272

7373
### (优化)模拟
7474

75-
更近一步,每个完整周的起始日金额相比上周起始日金额多 1ドル,ドル同时周内每日金额递增 1ドル,ドル因此相邻完整周的金额之和也满足「等差」性质,可直接使用「等差数列求和」公式 $O(1)$ 求解完整周部分的金额之和;周后一周(若有)的金额也是同理。
75+
更进一步,每个完整周的起始日金额相比上周起始日金额多 1ドル,ドル同时周内每日金额递增 1ドル,ドル因此相邻完整周的金额之和也满足「等差」性质,可直接使用「等差数列求和」公式 $O(1)$ 求解完整周部分的金额之和;最后一周(若有)的金额也是同理。
7676

7777
代码:
7878
```Java

0 commit comments

Comments
(0)

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