Skip to content

BWC96 & WC328 & WC329 数据 #174

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 1 commit into from
Feb 1, 2023
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: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## version 2.14.2

- BWC96 & WC328 & WC329 数据

## version 2.14.1

- 尝试增加语言本地化
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-leetcode-problem-rating",
"displayName": "LeetCode",
"description": "%main.description%",
"version": "2.14.1",
"version": "2.14.2",
"author": "ccagml",
"publisher": "ccagml",
"license": "MIT",
Expand Down
132 changes: 132 additions & 0 deletions resources/data.json
Original file line number Diff line number Diff line change
Expand Up @@ -868,6 +868,17 @@
"ContestID_en": "Weekly Contest 105",
"ContestID_zh": "第 105 场周赛"
},
{
"Rating": 2397.9722495587,
"ID": 2538,
"Title": "Difference Between Maximum and Minimum Price Sum",
"TitleZH": "最大价值和与最小价值和的差值",
"TitleSlug": "difference-between-maximum-and-minimum-price-sum",
"ContestSlug": "weekly-contest-328",
"ProblemIndex": "Q4",
"ContestID_en": "Weekly Contest 328",
"ContestID_zh": "第 328 场周赛"
},
{
"Rating": 2396.6267778669,
"ID": 808,
Expand Down Expand Up @@ -1792,6 +1803,17 @@
"ContestID_en": "Weekly Contest 211",
"ContestID_zh": "第 211 场周赛"
},
{
"Rating": 2220.8257124139,
"ID": 2543,
"Title": "Check if Point Is Reachable",
"TitleZH": "判断一个点是否可以到达",
"TitleSlug": "check-if-point-is-reachable",
"ContestSlug": "biweekly-contest-96",
"ProblemIndex": "Q4",
"ContestID_en": "Biweekly Contest 96",
"ContestID_zh": "第 96 场双周赛"
},
{
"Rating": 2220.0903365738,
"ID": 2223,
Expand Down Expand Up @@ -3057,6 +3079,17 @@
"ContestID_en": "Weekly Contest 192",
"ContestID_zh": "第 192 场周赛"
},
{
"Rating": 2056.2598215101,
"ID": 2542,
"Title": "Maximum Subsequence Score",
"TitleZH": "最大子序列的分数",
"TitleSlug": "maximum-subsequence-score",
"ContestSlug": "biweekly-contest-96",
"ProblemIndex": "Q3",
"ContestID_en": "Biweekly Contest 96",
"ContestID_zh": "第 96 场双周赛"
},
{
"Rating": 2055.0970201875,
"ID": 1575,
Expand Down Expand Up @@ -3442,6 +3475,17 @@
"ContestID_en": "Weekly Contest 325",
"ContestID_zh": "第 325 场周赛"
},
{
"Rating": 2019.9859462755,
"ID": 2547,
"Title": "Minimum Cost to Split an Array",
"TitleZH": "拆分数组的最小代价",
"TitleSlug": "minimum-cost-to-split-an-array",
"ContestSlug": "weekly-contest-329",
"ProblemIndex": "Q4",
"ContestID_en": "Weekly Contest 329",
"ContestID_zh": "第 329 场周赛"
},
{
"Rating": 2019.5399647546,
"ID": 909,
Expand Down Expand Up @@ -4652,6 +4696,17 @@
"ContestID_en": "Weekly Contest 223",
"ContestID_zh": "第 223 场周赛"
},
{
"Rating": 1891.8455273506,
"ID": 2537,
"Title": "Count the Number of Good Subarrays",
"TitleZH": "统计好子数组的数目",
"TitleSlug": "count-the-number-of-good-subarrays",
"ContestSlug": "weekly-contest-328",
"ProblemIndex": "Q3",
"ContestID_en": "Weekly Contest 328",
"ContestID_zh": "第 328 场周赛"
},
{
"Rating": 1886.7040111218,
"ID": 2305,
Expand Down Expand Up @@ -8106,6 +8161,17 @@
"ContestID_en": "Biweekly Contest 84",
"ContestID_zh": "第 84 场双周赛"
},
{
"Rating": 1619.505461912,
"ID": 2541,
"Title": "Minimum Operations to Make Array Equal II",
"TitleZH": "使数组中所有元素相等的最小操作数 II",
"TitleSlug": "minimum-operations-to-make-array-equal-ii",
"ContestSlug": "biweekly-contest-96",
"ProblemIndex": "Q2",
"ContestID_en": "Biweekly Contest 96",
"ContestID_zh": "第 96 场双周赛"
},
{
"Rating": 1618.6016480451,
"ID": 1503,
Expand Down Expand Up @@ -8282,6 +8348,17 @@
"ContestID_en": "Weekly Contest 78",
"ContestID_zh": "第 78 场周赛"
},
{
"Rating": 1604.6299874552,
"ID": 2546,
"Title": "Apply Bitwise Operations to Make Strings Equal",
"TitleZH": "执行逐位运算使字符串相等",
"TitleSlug": "apply-bitwise-operations-to-make-strings-equal",
"ContestSlug": "weekly-contest-329",
"ProblemIndex": "Q3",
"ContestID_en": "Weekly Contest 329",
"ContestID_zh": "第 329 场周赛"
},
{
"Rating": 1604.5128423093,
"ID": 2522,
Expand Down Expand Up @@ -8535,6 +8612,17 @@
"ContestID_en": "Weekly Contest 133",
"ContestID_zh": "第 133 场周赛"
},
{
"Rating": 1583.3117784523,
"ID": 2536,
"Title": "Increment Submatrices by One",
"TitleZH": "子矩阵元素加 1",
"TitleSlug": "increment-submatrices-by-one",
"ContestSlug": "weekly-contest-328",
"ProblemIndex": "Q2",
"ContestID_en": "Weekly Contest 328",
"ContestID_zh": "第 328 场周赛"
},
{
"Rating": 1581.4963716166,
"ID": 2211,
Expand Down Expand Up @@ -13188,6 +13276,17 @@
"ContestID_en": "Biweekly Contest 43",
"ContestID_zh": "第 43 场双周赛"
},
{
"Rating": 1294.0257382852,
"ID": 2545,
"Title": "Sort the Students by Their Kth Score",
"TitleZH": "根据第 K 场考试的分数排序",
"TitleSlug": "sort-the-students-by-their-kth-score",
"ContestSlug": "weekly-contest-329",
"ProblemIndex": "Q2",
"ContestID_en": "Weekly Contest 329",
"ContestID_zh": "第 329 场周赛"
},
{
"Rating": 1293.4904281819,
"ID": 1551,
Expand Down Expand Up @@ -14156,6 +14255,17 @@
"ContestID_en": "Biweekly Contest 86",
"ContestID_zh": "第 86 场双周赛"
},
{
"Rating": 1249.7515196656,
"ID": 2540,
"Title": "Minimum Common Value",
"TitleZH": "最小公共值",
"TitleSlug": "minimum-common-value",
"ContestSlug": "biweekly-contest-96",
"ProblemIndex": "Q1",
"ContestID_en": "Biweekly Contest 96",
"ContestID_zh": "第 96 场双周赛"
},
{
"Rating": 1249.4294341104,
"ID": 766,
Expand Down Expand Up @@ -14695,6 +14805,17 @@
"ContestID_en": "Weekly Contest 184",
"ContestID_zh": "第 184 场周赛"
},
{
"Rating": 1222.2354919459,
"ID": 2535,
"Title": "Difference Between Element Sum and Digit Sum of an Array",
"TitleZH": "数组元素和与数字和的绝对差",
"TitleSlug": "difference-between-element-sum-and-digit-sum-of-an-array",
"ContestSlug": "weekly-contest-328",
"ProblemIndex": "Q1",
"ContestID_en": "Weekly Contest 328",
"ContestID_zh": "第 328 场周赛"
},
{
"Rating": 1221.9872943569,
"ID": 1678,
Expand Down Expand Up @@ -15267,6 +15388,17 @@
"ContestID_en": "Weekly Contest 255",
"ContestID_zh": "第 255 场周赛"
},
{
"Rating": 1184.3385083575,
"ID": 2544,
"Title": "Alternating Digit Sum",
"TitleZH": "交替数字和",
"TitleSlug": "alternating-digit-sum",
"ContestSlug": "weekly-contest-329",
"ProblemIndex": "Q1",
"ContestID_en": "Weekly Contest 329",
"ContestID_zh": "第 329 场周赛"
},
{
"Rating": 1182.6489068544,
"ID": 1672,
Expand Down
2 changes: 2 additions & 0 deletions src/service/SolutionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ class SolutionService extends BaseWebViewService {

// $\textit
this.solution.body = this.solution.body.replace(/\$\textit/g, "$");
this.solution.body = this.solution.body.replace(/\$\texttt/g, "$");
this.solution.body = this.solution.body.replace(/\$\text/g, "$");

const body: string = markdownService.render(this.solution.body, {
lang: this.solution.lang,
Expand Down