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 de67f03

Browse files
author
openset
committed
Add: post
1 parent 92a68f4 commit de67f03

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

‎internal/leetcode/problems_status.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ var problemStatus = map[int]bool{
104104
414: true,
105105
415: true,
106106
434: true,
107+
441: true,
107108
443: true,
108109
445: true,
109110
448: true,
@@ -120,6 +121,7 @@ var problemStatus = map[int]bool{
120121
551: true,
121122
557: true,
122123
561: true,
124+
565: true,
123125
566: true,
124126
581: true,
125127
595: true,
@@ -213,5 +215,6 @@ var problemStatus = map[int]bool{
213215
1047: true,
214216
1051: true,
215217
1154: true,
218+
1163: true,
216219
1185: true,
217220
}

‎internal/post/post.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ func runPost(cmd *base.Command, args []string) {
8080
buf.WriteString(fmt.Sprintf(formatSimilarQuestion, q.Title, q.TitleSlug, q.Difficulty.Str()))
8181
}
8282
buf.WriteString("\n---\n")
83-
buf.WriteString(fmt.Sprintf("\n## [答案](https://github.com/openset/leetcode/tree/master/problems/%s)\n", question.TitleSlug))
83+
buf.WriteString(fmt.Sprintf("\n## [解法](https://github.com/openset/leetcode/tree/master/problems/%s)\n", question.TitleSlug))
8484
filename := fmt.Sprintf(formatFilename, t.Format("2006年01月02日"), question.TitleSlug)
8585
oldPath := filepath.Join(basePath, "leetcode", filename)
8686
newPath := filepath.Join(basePath, "_posts", filename)

0 commit comments

Comments
(0)

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