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

[pull] main from itcharge:main #159

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

Merged
pull merged 4 commits into AlgorithmAndLeetCode:main from itcharge:main
Sep 27, 2023
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
Next Next commit
Update 01.Data-Structures-Algorithms.md
  • Loading branch information
itcharge committed Sep 26, 2023
commit eb63a2fc0a921a7a00d0c288febca51c774b931f
2 changes: 1 addition & 1 deletion Contents/00.Introduction/01.Data-Structures-Algorithms.md
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
> **解决方法**:
>
> 1. 用计算器从 1ドル$ 开始,不断向右依次加上 2ドル,ドル再加上 3ドル,ドル...,依次加到 100ドル,ドル得出结果为 5050ドル$。
> 2. 根据高斯求和公式:**和 = (首项 + 末项) * 项数 / 2**,直接算出结果为:$\frac{(1+100) * 100}{2} = 5050$。
> 2. 根据高斯求和公式:**和 = (首项 + 末项) ×ばつ 项数 ÷ 2**,直接算出结果为:$\frac{(1+100) \times 100}{2} = 5050$。

- 示例 3:

Expand Down

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