20221013 afternoon

This commit is contained in:
Wang Weiye 2022-10-13 16:51:16 +08:00
parent 1c6030fe40
commit c7bd657b97
5 changed files with 34 additions and 61 deletions

View File

@ -2,23 +2,15 @@
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 5,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"首行题目数量: 1760\n",
"剩余题目数量: 1140\n"
]
},
{
"ename": "",
"evalue": "",
"output_type": "error",
"traceback": [
"\u001b[1;31mThe Kernel crashed while executing code in the the current cell or a previous cell. Please review the code in the cell(s) to identify a possible cause of the failure. Click <a href='https://aka.ms/vscodeJupyterKernelCrash'>here</a> for more info. View Jupyter <a href='command:jupyter.viewOutput'>log</a> for further details."
"首行题目数量: 20\n",
"剩余题目数量: 20\n"
]
}
],
@ -26,15 +18,17 @@
"import os,re\n",
"\n",
"\"\"\"---设置题号列表所在文件, 仅第一行有用---\"\"\"\n",
"id_list_file = \"临时文件/题号筛选.txt\"\n",
"id_list_file = \"文本文件/题号筛选.txt\"\n",
"\"\"\"---设置题号列表文件结束---\"\"\"\n",
"\n",
"\"\"\"---设置要排除的题号所在的绝对路径---\"\"\"\n",
"mainpath = r\"C:/Users/Wang Weiye/Documents/wwy sync/23届/\"\n",
"\n",
"used_path_list = [\n",
"r\"C:\\Users\\weiye\\Documents\\wwy sync\\23届\\第一轮复习讲义/\",\n",
"r\"C:\\Users\\weiye\\Documents\\wwy sync\\23届\\上学期测验卷/\",\n",
"r\"C:\\Users\\weiye\\Documents\\wwy sync\\23届\\上学期周末卷/\",\n",
"r\"C:\\Users\\weiye\\Documents\\wwy sync\\23届\\赋能/\"\n",
"mainpath + \"第一轮复习讲义/\",\n",
"mainpath + \"上学期测验卷/\",\n",
"mainpath + \"上学期周末卷/\",\n",
"mainpath + \"赋能/\"\n",
"]\n",
"\"\"\"---路径设置完毕---\"\"\"\n",
"\n",
@ -80,24 +74,6 @@
" f.write(\",\".join(ripped_id_list))"
]
},
{
"cell_type": "code",
"execution_count": 35,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"193"
]
},
"execution_count": 35,
"metadata": {},
"output_type": "execute_result"
}
],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
@ -108,7 +84,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.8.8 ('base')",
"display_name": "Python 3.9.7 ('base')",
"language": "python",
"name": "python3"
},
@ -122,12 +98,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.8"
"version": "3.9.7"
},
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "d311ffef239beb3b8f3764271728f3972d7b090c974f8e972fcdeedf230299ac"
"hash": "e4cce46d6be9934fbd27f9ca0432556941ea5bdf741d4f4d64c6cd7f8dfa8fba"
}
}
},

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 3,
"execution_count": 6,
"metadata": {},
"outputs": [
{
@ -13,11 +13,9 @@
"题块 1 处理完毕.\n",
"正在处理题块 2 .\n",
"题块 2 处理完毕.\n",
"正在处理题块 3 .\n",
"题块 3 处理完毕.\n",
"开始编译教师版本pdf文件: 临时文件/测验04_教师_20221013.tex\n",
"开始编译教师版本pdf文件: 临时文件/24_体积及表面积的计算_预选_教师_20221013.tex\n",
"0\n",
"开始编译学生版本pdf文件: 临时文件/测验04_学生_20221013.tex\n",
"开始编译学生版本pdf文件: 临时文件/24_体积及表面积的计算_预选_学生_20221013.tex\n",
"0\n"
]
}
@ -30,19 +28,19 @@
"\"\"\"---设置模式结束---\"\"\"\n",
"\n",
"\"\"\"---设置模板文件名---\"\"\"\n",
"# template_file = \"模板文件/第一轮复习讲义模板.tex\"\n",
"template_file = \"模板文件/测验周末卷模板.tex\"\n",
"template_file = \"模板文件/第一轮复习讲义模板.tex\"\n",
"# template_file = \"模板文件/测验周末卷模板.tex\"\n",
"# template_file = \"模板文件/日常选题讲义模板.tex\"\n",
"\"\"\"---设置模板文件名结束---\"\"\"\n",
"\n",
"\"\"\"---设置其他预处理替换命令---\"\"\"\n",
"#2023届第一轮讲义更换标题\n",
"# exec_list = [(\"标题数字待处理\",\"21\"),(\"标题文字待处理\",\"空间平面与平面的位置关系\")] \n",
"# enumi_mode = 0\n",
"exec_list = [(\"标题数字待处理\",\"24\"),(\"标题文字待处理\",\"体积及表面积的计算 预选\")] \n",
"enumi_mode = 0\n",
"\n",
"#2023届测验卷与周末卷\n",
"exec_list = [(\"标题替换\",\"测验04\")]\n",
"enumi_mode = 1\n",
"# exec_list = [(\"标题替换\",\"测验04\")]\n",
"# enumi_mode = 1\n",
"\n",
"#日常选题讲义\n",
"# exec_list = [(\"标题文字待处理\",\"2022年国庆卷(易错题订正)\")] \n",
@ -51,15 +49,14 @@
"\"\"\"---其他预处理替换命令结束---\"\"\"\n",
"\n",
"\"\"\"---设置目标文件名---\"\"\"\n",
"destination_file = \"临时文件/测验04\"\n",
"destination_file = \"临时文件/24_体积及表面积的计算_预选\"\n",
"\"\"\"---设置目标文件名结束---\"\"\"\n",
"\n",
"\n",
"\"\"\"---设置题号数据---\"\"\"\n",
"problems = [\n",
"'1506,4125,2027,30152,4414,1013,1253,1510,1515,1880,4111,30153',\n",
"\"1993,4240,3645,4116\",\n",
"\"4636,1494,4098,4424,4509\"\n",
"\"204,9211,9212,210,10500,3475,4994,9210,9712,199,202,9400,10524,9868,9720,9207,10517,4196,9731,9399\",\n",
"\"10498,4061,9710,4084,10499,9209,10521,10522,212,411,10519,10515,10516,215,11332,201\"\n",
"]\n",
"\"\"\"---设置题号数据结束---\"\"\"\n",
"\n",

View File

@ -2,16 +2,16 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 2,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"开始编译教师版本pdf文件: 临时文件/测验预选_教师用_20221012.tex\n",
"开始编译教师版本pdf文件: 临时文件/多面体2预选_教师用_20221013.tex\n",
"0\n",
"开始编译学生版本pdf文件: 临时文件/测验预选_学生用_20221012.tex\n",
"开始编译学生版本pdf文件: 临时文件/多面体2预选_学生用_20221013.tex\n",
"0\n"
]
}
@ -33,7 +33,7 @@
"\n",
"\"\"\"---设置文件名---\"\"\"\n",
"#目录和文件的分隔务必用/\n",
"filename = \"临时文件/测验预选\"\n",
"filename = \"临时文件/多面体2预选\"\n",
"\"\"\"---设置文件名结束---\"\"\"\n",
"\n",
"\n",
@ -174,7 +174,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3.8.8 ('base')",
"display_name": "Python 3.9.7 ('base')",
"language": "python",
"name": "python3"
},
@ -188,12 +188,12 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.8"
"version": "3.9.7"
},
"orig_nbformat": 4,
"vscode": {
"interpreter": {
"hash": "d311ffef239beb3b8f3764271728f3972d7b090c974f8e972fcdeedf230299ac"
"hash": "e4cce46d6be9934fbd27f9ca0432556941ea5bdf741d4f4d64c6cd7f8dfa8fba"
}
}
},

View File

@ -110962,7 +110962,7 @@
},
"004424": {
"id": "004424",
"content": "设$\\mu (x)$表示不小于$x$的最小整数, 例如$\\mu(0.3)=1$, $\\mu(-2.5)=-2$.\\\\\n(1) 解方程$\\mu(x-1)=3$;\\\\\n(2) 设$f(x)=\\mu (x\\cdot \\mu (x))$, $n\\in \\mathbf{N}$, $n\\ge 1$\\\\\n\\textcircled{1} 试分别求出$f(x)$在区间$(0,1]$、$(1,2]$以及$(2,3]$上的值域; \\\\\n\\textcircled{2} 若$f(x)$在区间$(0,n]$上的值域为$M_n$, 求集合$M_n$中的元素的个数;\\\\\n(3) 设实数$a>0$, $g(x)=x+a\\cdot \\dfrac{\\mu (x)}x-2$, $h(x)=\\dfrac{\\sin (\\pi x)+2}{x^2-5x+7}$, 若对于任意$x_1,x_2\\in (2,4]$都有$g(x_1)>h(x_2)$, 求实数$a$的取值范围.",
"content": "设$\\mu (x)$表示不小于$x$的最小整数, 例如$\\mu(0.3)=1$, $\\mu(-2.5)=-2$.\\\\\n(1) 解方程$\\mu(x-1)=3$;\\\\\n(2) 设$f(x)=\\mu (x\\cdot \\mu (x))$, $n\\in \\mathbf{N}$, $n\\ge 1$,\\\\\n\\textcircled{1} 试分别求出$f(x)$在区间$(0,1]$、$(1,2]$以及$(2,3]$上的值域; \\\\\n\\textcircled{2} 若$f(x)$在区间$(0,n]$上的值域为$M_n$, 求集合$M_n$中的元素的个数;\\\\\n(3) 设实数$a>0$, $g(x)=x+a\\cdot \\dfrac{\\mu (x)}x-2$, $h(x)=\\dfrac{\\sin (\\pi x)+2}{x^2-5x+7}$, 若对于任意$x_1,x_2\\in (2,4]$都有$g(x_1)>h(x_2)$, 求实数$a$的取值范围.",
"objs": [
"K0221002B",
"KNONE"