From cdcbe16b18fde696cfda0e7dda84c9a343a146ef Mon Sep 17 00:00:00 2001 From: WangWeiye Date: Wed, 12 Apr 2023 15:44:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=8B=A5=E5=B9=B2=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E7=AD=94=E6=A1=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 工具/修改题目数据库.py | 2 +- 工具/题号清单生成.py | 1 + 工具/题号选题pdf生成.py | 4 ++-- 题库0.3/Problems.json | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/工具/修改题目数据库.py b/工具/修改题目数据库.py index 029e5c31..30dfbc58 100644 --- a/工具/修改题目数据库.py +++ b/工具/修改题目数据库.py @@ -1,6 +1,6 @@ import os,re,json """这里编辑题号(列表)后将在vscode中打开窗口, 编辑后保存关闭, 随后运行第二个代码块""" -problems = "40466,40473,40482" +problems = "10197" def generate_number_set(string,dict): string = re.sub(r"[\n\s]","",string) diff --git a/工具/题号清单生成.py b/工具/题号清单生成.py index 37eaf052..d0bcdf9e 100644 --- a/工具/题号清单生成.py +++ b/工具/题号清单生成.py @@ -10,6 +10,7 @@ r"C:\Users\weiye\Documents\wwy sync\23届\寒假作业", r"C:\Users\weiye\Documents\wwy sync\23届\下学期测验卷", r"C:\Users\weiye\Documents\wwy sync\23届\下学期周末卷", r"C:\Users\weiye\Documents\wwy sync\23届\第二轮复习讲义", +r"C:\Users\weiye\Documents\wwy sync\23届\四月错题重做", r"d:\mathdeptv2\工具\临时文件" ] "---文件夹列表输入结束---" diff --git a/工具/题号选题pdf生成.py b/工具/题号选题pdf生成.py index 1021bd7c..903a5a90 100644 --- a/工具/题号选题pdf生成.py +++ b/工具/题号选题pdf生成.py @@ -7,13 +7,13 @@ import os,re,time,json,sys """---设置题目列表---""" #留空为编译全题库, a为读取文本文件中的题号筛选.txt文件生成题库 problems = r""" -a +000778,001253,001325,003747,013721,031392,010938,011148,004157,010197,030060,001339,002918,030327,004009,001262,004435,030398,030051,012859,031321,012543,001352,005650,005123,030337,007939,002968,012902,030356 """ """---设置题目列表结束---""" """---设置文件名---""" #目录和文件的分隔务必用/ -filename = "临时文件/崇明" +filename = "临时文件/易错题1原结果" """---设置文件名结束---""" """---设置是否需要解答题的空格---""" diff --git a/题库0.3/Problems.json b/题库0.3/Problems.json index cd5093ce..9b712346 100644 --- a/题库0.3/Problems.json +++ b/题库0.3/Problems.json @@ -256485,7 +256485,7 @@ "第二单元" ], "genre": "解答题", - "ans": "$(-\\infty,0)\\cup (0,1)$", + "ans": "$(-\\infty,0)\\cup (0,1]$", "solution": "", "duration": -1, "usages": [ @@ -449880,7 +449880,7 @@ "第二单元" ], "genre": "填空题", - "ans": "", + "ans": "$(-1,0)\\cup (0,1)$", "solution": "", "duration": -1, "usages": [],