Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit 14f63c0

Browse files
aQuaaQua
aQua
authored and
aQua
committed
更新README.md
1 parent 7f25af3 commit 14f63c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helper.v4/leetcode.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func countData(d *data) (ps []problem, e, m, h int) {
7979
Dir: fmt.Sprintf("./%s/%04d.%s", d.Name, p.ID, p.TitleSlug),
8080
Title: p.Title,
8181
TitleSlug: p.TitleSlug,
82-
// p.Submitted + 1 是因为新题的 submitted 有可能为 0
82+
// p.Submitted + 1 是因为刚刚添加的新题的 submitted 0
8383
PassRate: fmt.Sprintf("%d%%", p.ACs*100/(p.Submitted+1)),
8484
Difficulty: p.Difficulty.Level,
8585
IsAccepted: p.Status == "ac",

0 commit comments

Comments
 (0)