Update README.md
Browse files
README.md
CHANGED
@@ -118,6 +118,33 @@ BAAI/COIG-PC
|
|
118 |
<!-- This should link to a Data Card if possible. -->
|
119 |
20% of the BAAI/COIG-PC dataset.
|
120 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
## Citation
|
122 |
|
123 |
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
|
|
118 |
<!-- This should link to a Data Card if possible. -->
|
119 |
20% of the BAAI/COIG-PC dataset.
|
120 |
|
121 |
+
```
|
122 |
+
Input:王国维说:“自周之衰,文王、周公势力之瓦解也,国民之智力成熟于内,政治之纷乱乘之于外,上无统一之制度,下迫于社会之要求,于是诸于九流各创其学说。” 他意在说明 A. 分封制的崩溃 B. 商鞅变法的作用 C. 兼并战争的后果 D. 百家争鸣的原因
|
123 |
+
Response: 本题考查对材料的理解。A错误;B正确;C和D与材料无关。故选BC两项即可
|
124 |
+
|
125 |
+
|
126 |
+
Input:经济基础是指一定社会发展阶段占统治地位的生产关系各个方面的总和。解决了地方经济问题, 也就解 决了地方割据问题, 为此, 宋太祖采取的措施是( ) A . 地方设转运使, 财赋收归中央 B . 派文臣担任各地州县的长官 C . 派文臣管理地方政事 D . 采取分化事权办法, 削弱相权
|
127 |
+
Response: A: 本题考查对宋太祖治下地方问题的认识。 A : 依据材料可知, 在北宋时期 , 由于地主阶级的发展壮大以及商业、手工业等新兴行业出现 , 这一时期出现的地方割据现象严重威胁着国家的统一与稳定 . 因此 , 为了解决这个问题, 需要加强中央集权 ; 故选 A
|
128 |
+
|
129 |
+
|
130 |
+
Input:go\\n/**\\n * Definition for a binary tree node.\\n * type TreeNode struct {\\n * Val int\\n * Left *TreeNode\\n * Right *TreeNode\\n * }\\n */\\nfunc maxDepth(root *TreeNode) int {\\n\\tif root == nil {\\n\\t\\treturn 0\\n\\t}\\n\\tl, r := maxDepth(root.Left), maxDepth(root.Right)\\n\\treturn 1 + max(l, r)\\n}\\n\\nfunc max(a, b int) int {\\n\\tif a > b {\\n\\t\\treturn a\\n\\t}\\n\\treturn b\\n}\\n
|
131 |
+
Response: ```python
|
132 |
+
def max_depth(root): # The function takes in a single parameter `root` and returns its maximum depth value as output.
|
133 |
+
if not root or len(root.children()) == 0:
|
134 |
+
return 0
|
135 |
+
l = max_depth(root.left)
|
136 |
+
r = max_depth(root.right)
|
137 |
+
return 1 + (max(l, r))
|
138 |
+
|
139 |
+
class TreeNode:
|
140 |
+
def __init__(self, val=None, left=10, right=0):
|
141 |
+
self.val = val
|
142 |
+
self.left = None
|
143 |
+
self.right = None
|
144 |
+
|
145 |
+
|
146 |
+
```
|
147 |
+
|
148 |
## Citation
|
149 |
|
150 |
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|