14891增加一个换行符
This commit is contained in:
parent
4e019a247e
commit
7b70fe5954
|
|
@ -1,6 +1,6 @@
|
||||||
import os,re,json
|
import os,re,json
|
||||||
"""这里编辑题号(列表)后将在vscode中打开窗口, 编辑后保存关闭, 随后运行第二个代码块"""
|
"""这里编辑题号(列表)后将在vscode中打开窗口, 编辑后保存关闭, 随后运行第二个代码块"""
|
||||||
problems = "000638,004082,000430,000840,011540"
|
problems = "14891"
|
||||||
|
|
||||||
def generate_number_set(string,dict):
|
def generate_number_set(string,dict):
|
||||||
string = re.sub(r"[\n\s]","",string)
|
string = re.sub(r"[\n\s]","",string)
|
||||||
|
|
|
||||||
|
|
@ -5,12 +5,12 @@ import os,re,json,time,sys
|
||||||
"""2: 测验卷与周末卷(填空题, 选择题, 解答题)"""
|
"""2: 测验卷与周末卷(填空题, 选择题, 解答题)"""
|
||||||
"""3: 日常选题讲义(一个section)"""
|
"""3: 日常选题讲义(一个section)"""
|
||||||
|
|
||||||
paper_type = 2 # 随后设置一下后续的讲义标题
|
paper_type = 1 # 随后设置一下后续的讲义标题
|
||||||
|
|
||||||
"""---设置题块编号---"""
|
"""---设置题块编号---"""
|
||||||
|
|
||||||
problems = [
|
problems = [
|
||||||
"015206:015217","015218:015221","015222:015226"
|
"14964,14965,14966,14967,14969,14970,14971,14972,40554,40558,31403,40561,14963,14968,14973","40556,31402,40560,40562,40563,40564,40565,40566,40568,14883,14884,14887,14893,14894,14896,14897,14891"
|
||||||
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
@ -20,7 +20,7 @@ problems = [
|
||||||
if paper_type == 1:
|
if paper_type == 1:
|
||||||
enumi_mode = 0 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号)
|
enumi_mode = 0 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号)
|
||||||
template_file = "模板文件/复习讲义模板.txt" #设置模板文件名
|
template_file = "模板文件/复习讲义模板.txt" #设置模板文件名
|
||||||
exec_list = [("标题数字待处理","03"),("标题文字待处理","分类讨论")] #设置讲义标题
|
exec_list = [("标题数字待处理","02"),("标题文字待处理","数形结合")] #设置讲义标题
|
||||||
destination_file = "临时文件/"+exec_list[0][1]+"_"+exec_list[1][1] # 设置输出文件名
|
destination_file = "临时文件/"+exec_list[0][1]+"_"+exec_list[1][1] # 设置输出文件名
|
||||||
elif paper_type == 2:
|
elif paper_type == 2:
|
||||||
enumi_mode = 1 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号)
|
enumi_mode = 1 #设置模式(1为整卷统一编号, 0为每一部分从1开始编号)
|
||||||
|
|
|
||||||
|
|
@ -387737,7 +387737,7 @@
|
||||||
},
|
},
|
||||||
"014891": {
|
"014891": {
|
||||||
"id": "014891",
|
"id": "014891",
|
||||||
"content": "已知函数$f(x)$的定义域是$\\mathbf{R}$, 满足对任意$x\\in \\mathbf{R}$, 都成立$f(x+1)=\\dfrac{1-f(x)}{1+f(x)}$.\n(1) 证明: $2$是函数$f(x)$的一个周期;\\\\\n(2) 当$x \\in[0,1)$时, $f(x)=x$, 求$f(x)$在$[-1,0)$上的解析式;\\\\\n(3) 设$a>0$, 对于 (2) 中的函数$f(x)$, 关于$x$的方程$f(x)=a x$有$100$个根, 求正实数$a$的取值范围.",
|
"content": "已知函数$f(x)$的定义域是$\\mathbf{R}$, 满足对任意$x\\in \\mathbf{R}$, 都成立$f(x+1)=\\dfrac{1-f(x)}{1+f(x)}$.\\\\\n(1) 证明: $2$是函数$f(x)$的一个周期;\\\\\n(2) 当$x \\in[0,1)$时, $f(x)=x$, 求$f(x)$在$[-1,0)$上的解析式;\\\\\n(3) 设$a>0$, 对于 (2) 中的函数$f(x)$, 关于$x$的方程$f(x)=a x$有$100$个根, 求正实数$a$的取值范围.",
|
||||||
"objs": [],
|
"objs": [],
|
||||||
"tags": [],
|
"tags": [],
|
||||||
"genre": "解答题",
|
"genre": "解答题",
|
||||||
|
|
|
||||||
Reference in New Issue