From 2723dd11229858de160db06569501db89c4d708b Mon Sep 17 00:00:00 2001 From: "weiye.wang" Date: Sat, 24 Jun 2023 20:57:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=B9=E9=87=8F=E5=AF=BC=E5=85=A5=E9=A2=98?= =?UTF-8?q?=E7=9B=AE=E5=A2=9E=E5=8A=A0=E6=98=BE=E7=A4=BA=E6=9D=A5=E6=BA=90?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 工具v2/database_tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/工具v2/database_tools.py b/工具v2/database_tools.py index dcd9861d..83647cf2 100644 --- a/工具v2/database_tools.py +++ b/工具v2/database_tools.py @@ -232,7 +232,7 @@ def AddProblemstoDict(startingid,raworigin,problems,editor,indexdescription,thed newproblem["space"] = "4em" thedict[pid] = newproblem maxsim,argmaxsim = detectmaxsim(pid,[pid],thedict) - print("已收录题号: %s, 最接近题目: %s, 相似程度: %.3f, 题目类型: %s, 题目内容: %s"%(pid,argmaxsim,maxsim,newproblem["genre"],p)) + print("已收录题号: %s, 最接近题目: %s, 相似程度: %.3f, 题目类型: %s, 题目来源: %s, 题目内容: %s"%(pid,argmaxsim,maxsim,newproblem["genre"],origin,p)) id += 1 return 0