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