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 1e41a3b

Browse files
Update README.md
1 parent faebd88 commit 1e41a3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5544,7 +5544,7 @@ class Solution:
55445544
# 隐藏的坑
55455545
- 遍历 set 时,输出是无序的,输出顺序可能随着计算机环境而改变
55465546
- `[True, False, 0].index(0)` 输出为 1,因为 False == 0 为真,但 False is 0 为假
5547-
- `/` 为浮点数除法,`//` 为整数除法。`eg. 8 / 2.5 = 3.2, 8 // 2.5 = 3.0`,注意 `//` 的结果不一定为整数型
5547+
- `/` 为浮点数除法,`//` 为整数除法。`eg. 8 / 2.5 = 3.2, 8 // 2.5 = 3.0`,注意 `//` 的结果不一定为整数型,`a//b` 的结果值等价于 `math.floor(a / b)`
55485548
- 使用记忆化技术时,字典在多个 case 之间共享,应该考虑不同 case 的 key 是否相互影响
55495549

55505550
# 解法汇总贡献者

0 commit comments

Comments
(0)

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