Skip to content

2.2.1 #55

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
merged 14 commits into from
Nov 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 1 addition & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,4 @@
"**/node_modules": true,
".vscode-test": true
},
"tslint.autoFixOnSave": true,
"tslint.ignoreDefinitionFiles": true
}
}
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## version 2.2.1

- 优化登录提示
- 新增工地功能

## version 2.1.1

- 修复切换账号时竞赛分显示问题

## version 2.1.0

- 重构工厂模式、责任链模式
Expand Down
57 changes: 46 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
- 增加一键提交全部题目测试用例功能
- 尝试不需要额外安装 node 环境,使用 vscode 自带的 node 版本
- 从[zerotrac.github.io](https://zerotrac.github.io/leetcode_problem_rating/data.json)获取数据进行缓存,数据更新时,可以尝试使用 deleteAllCache,重新获取数据
- 将所有提供的测试用例单独存放到代码下方,一键提交也会收集这部分的测试用例(简单去重())
- [新增区块测试用例](#区块测试用例)
- [新增搬砖功能(重复练习?)](#搬砖功能的说明)

# 关于本项目

Expand Down Expand Up @@ -64,16 +65,50 @@
- 简单的比较这些用例字符串是否相同

<!-- ## TODO 看到一些可能会用得上的功能
- (完成) 在文件里面插入一些测试用例?
- 提交答案与期望答案不同的地方?
- 做题目计时
- (完成) 不是中文站点,直接隐藏账号密码登录的方式
- 默认的工作目录修改 不再是.leetcode(不改了)
- (完成) Test按钮应该不在需要 case 和 allcase 只要留下输入的功能
- 备忘录功能(数据直接放设置的工作目录?用github同步?)
- 获取提交历史(直接找官方的提交数据)
- 想做一个可以根据计算下次回顾本题的功能?(需要在设置的工作目录中存放多个文件?)
- 还没出分前周赛题目显示 未评分(需要官网获取最新几期的题目编号) -->

- (完成) 在文件里面插入一些测试用例?
- (完成) 不是中文站点,直接隐藏账号密码登录的方式
- 默认的工作目录修改 不再是.leetcode(不改了)
- 想做一个可以根据计算下次回顾本题的功能?(需要在设置的工作目录中存放多个文件?)
- (完成) Test 按钮应该不在需要 case 和 allcase 只要留下输入的功能
- 备忘录功能(数据直接放设置的工作目录?用 github 同步?)
- 获取提交历史(直接找官方的提交数据)
- 提交答案与期望答案不同的地方?
- 做题目计时
- 还没出分前周赛题目显示 未评分(需要官网获取最新几期的题目编号) -->

## 搬砖功能的说明

### 功能设想

- 重复做 x 天之前的题目(正确提交后 x 天再做本题)
- 重复练习可以提高水平?(待定验证)
- 有什么学习方法可以与我交流,这个方法我也不知道有没有用

### 新增在工作目录存放数据

- 目录说明

> workspace/ 工作目录
>
> > .lcpr_data/ 存数据
> >
> > > bricks.json

### bricks.json 存放格式

```
{
version: 1,
all_bricks: {
[qid]: {
submit_time: [], // 上次提交的时间
type: 1, // 类型
},
},
};

```

## 运行条件

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading