20221215 evening

This commit is contained in:
WangWeiye 2022-12-15 17:57:25 +08:00
parent 9e54e3bba5
commit 0158a6102f
6 changed files with 2119 additions and 34 deletions

View File

@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 2,
"metadata": {},
"outputs": [
{
@ -11,7 +11,7 @@
"0"
]
},
"execution_count": 11,
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
@ -19,7 +19,7 @@
"source": [
"import os,re,json\n",
"\"\"\"这里编辑题号(列表)后将在vscode中打开窗口, 编辑后保存关闭, 随后运行第二个代码块\"\"\"\n",
"problems = \"12505\"\n",
"problems = \"12592\"\n",
"\n",
"def generate_number_set(string,dict):\n",
" string = re.sub(r\"[\\n\\s]\",\"\",string)\n",

View File

@ -2,14 +2,14 @@
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 6,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"首个空闲id: 12529 , 直至 020000\n",
"首个空闲id: 12634 , 直至 020000\n",
"首个空闲id: 20227 , 直至 030000\n",
"首个空闲id: 30502 , 直至 999999\n"
]

View File

@ -2,20 +2,20 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": 11,
"metadata": {},
"outputs": [],
"source": [
"#修改起始id,出处,文件名\n",
"starting_id = 12529\n",
"origin = \"2023届青浦区一模\"\n",
"filename = r\"C:\\Users\\weiye\\Documents\\wwy sync\\临时工作区\\自拟题目6.tex\"\n",
"editor = \"20221214\\t王伟叶\""
"starting_id = 12634\n",
"origin = \"2023届徐汇区一模\"\n",
"filename = r\"C:\\Users\\weiye\\Documents\\wwy sync\\临时工作区\\自拟题目7.tex\"\n",
"editor = \"20221215\\t王伟叶\""
]
},
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 10,
"metadata": {},
"outputs": [],
"source": [

View File

@ -2,34 +2,118 @@
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"execution_count": 1,
"metadata": {},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"012529 填空题\n",
"012530 填空题\n",
"012531 填空题\n",
"012532 填空题\n",
"012533 填空题\n",
"012534 填空题\n",
"012535 填空题\n",
"012536 填空题\n",
"012537 填空题\n",
"012538 填空题\n",
"012539 填空题\n",
"012540 填空题\n",
"012541 选择题\n",
"012542 选择题\n",
"012543 选择题\n",
"012544 选择题\n",
"012545 解答题\n",
"012546 解答题\n",
"012547 解答题\n",
"012548 解答题\n",
"012549 解答题\n"
"012550 填空题\n",
"012551 填空题\n",
"012552 填空题\n",
"012553 填空题\n",
"012554 填空题\n",
"012555 填空题\n",
"012556 填空题\n",
"012557 填空题\n",
"012558 填空题\n",
"012559 填空题\n",
"012560 填空题\n",
"012561 填空题\n",
"012562 选择题\n",
"012563 选择题\n",
"012564 解答题\n",
"012565 选择题\n",
"012566 解答题\n",
"012567 解答题\n",
"012568 解答题\n",
"012569 解答题\n",
"012570 解答题\n",
"012571 填空题\n",
"012572 填空题\n",
"012573 填空题\n",
"012574 填空题\n",
"012575 填空题\n",
"012576 填空题\n",
"012577 填空题\n",
"012578 填空题\n",
"012579 填空题\n",
"012580 填空题\n",
"012581 填空题\n",
"012582 填空题\n",
"012583 选择题\n",
"012584 选择题\n",
"012585 选择题\n",
"012586 解答题\n",
"012587 解答题\n",
"012588 解答题\n",
"012589 解答题\n",
"012590 解答题\n",
"012591 解答题\n",
"012592 填空题\n",
"012593 填空题\n",
"012594 填空题\n",
"012595 填空题\n",
"012596 填空题\n",
"012597 填空题\n",
"012598 填空题\n",
"012599 填空题\n",
"012600 填空题\n",
"012601 填空题\n",
"012602 填空题\n",
"012603 填空题\n",
"012604 选择题\n",
"012605 选择题\n",
"012606 选择题\n",
"012607 选择题\n",
"012608 解答题\n",
"012609 解答题\n",
"012610 解答题\n",
"012611 解答题\n",
"012612 解答题\n",
"012613 填空题\n",
"012614 填空题\n",
"012615 填空题\n",
"012616 填空题\n",
"012617 填空题\n",
"012618 填空题\n",
"012619 填空题\n",
"012620 填空题\n",
"012621 填空题\n",
"012622 填空题\n",
"012623 填空题\n",
"012624 填空题\n",
"012625 选择题\n",
"012626 填空题\n",
"012627 选择题\n",
"012628 选择题\n",
"012629 解答题\n",
"012630 解答题\n",
"012631 解答题\n",
"012632 解答题\n",
"012633 解答题\n",
"012634 填空题\n",
"012635 填空题\n",
"012636 填空题\n",
"012637 填空题\n",
"012638 填空题\n",
"012639 填空题\n",
"012640 填空题\n",
"012641 填空题\n",
"012642 填空题\n",
"012643 填空题\n",
"012644 填空题\n",
"012645 填空题\n",
"012646 选择题\n",
"012647 选择题\n",
"012648 选择题\n",
"012649 选择题\n",
"012650 解答题\n",
"012651 解答题\n",
"012652 解答题\n",
"012653 解答题\n",
"012654 解答题\n"
]
}
],

View File

@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 5,
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
@ -477,6 +477,7 @@
"modified_data = modified_data.replace(\"针角\",\"钝角\")\n",
"#mathpix的自由向量修改\n",
"modified_data = modified_data.replace(r\"\\vec\",r\"\\overrightarrow \")\n",
"modified_data = modified_data.replace(r\"\\bar\",r\"\\overline \")\n",
"#mathpix的极限修改\n",
"modified_data = modified_data.replace(r\"\\lim _{n \\rightarrow \\infty}\",r\"\\displaystyle\\lim_{n\\to\\infty}\")\n",
"#mathpix的顿号修改\n",
@ -486,6 +487,11 @@
"modified_data = modified_data.replace(r\"\\mid\",\"|\")\n",
"modified_data = re.sub(r\"\\\\mathrm\\{\\\\mathrm\\{i\\}\\}\",r\"\\\\mathrm{i}\",modified_data)\n",
"modified_data = modified_data.replace(\",$\",\", $\")\n",
"modified_data = modified_data.replace(\" / /\",r\"\\parallel\")\n",
"modified_data = modified_data.replace(\"mathrmR\",r\"mathbf{R}\")\n",
"modified_data = modified_data.replace(r\"^{\\prime}\",\"'\")\n",
"\n",
"\n",
"\n",
"setCopy(modified_data)\n",
"\n",

File diff suppressed because it is too large Load Diff