mirror of
https://gitee.com/coder-xiaomo/leetcode-problemset
synced 2025-09-05 15:31:43 +08:00
存量题库数据更新
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<p>Return <em>the sum of the points of the students</em>.</p>
|
||||
|
||||
<p> </p>
|
||||
<p><strong>Example 1:</strong></p>
|
||||
<p><strong class="example">Example 1:</strong></p>
|
||||
<img alt="" src="https://assets.leetcode.com/uploads/2021/09/17/student_solving_math.png" style="width: 678px; height: 109px;" />
|
||||
<pre>
|
||||
<strong>Input:</strong> s = "7+3*1*2", answers = [20,13,42]
|
||||
@@ -26,7 +26,7 @@ A student might have applied the operators in this wrong order: ((7+3)*1)*2 = 20
|
||||
The points for the students are: [2,5,0]. The sum of the points is 2+5+0=7.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 2:</strong></p>
|
||||
<p><strong class="example">Example 2:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> s = "3+5*2", answers = [13,0,10,13,13,16,16]
|
||||
@@ -36,7 +36,7 @@ A student might have applied the operators in this wrong order: ((3+5)*2 = 16. T
|
||||
The points for the students are: [5,0,0,5,5,2,2]. The sum of the points is 5+0+0+5+5+2+2=19.
|
||||
</pre>
|
||||
|
||||
<p><strong>Example 3:</strong></p>
|
||||
<p><strong class="example">Example 3:</strong></p>
|
||||
|
||||
<pre>
|
||||
<strong>Input:</strong> s = "6+0*1", answers = [12,9,6,4,8,6]
|
||||
|
Reference in New Issue
Block a user