示例:我有五名法官。
4名评委中有2名评判他们的参赛资格
法官1:1 1 1 1 1 5
判断2:0 0 0 0 0 0
判断3:0 0 0 0 0 0
法官4:1 0 1 0 1 3
如何存储判断为变量的评委数量?
以下是代码:
<td><div id="average_984" style="font-size:20px; ">0.00</div></td></tr>
<tr class="padded" align="center">
<td style="background:#E0E0E0">
<td>
<div id="score_985_349" style="font-size:18px; ">100</div>
<div id="feedback_985_349" alt="" title=""></div>
<a id="edit_score" onclick="launchDialog('985', '349')">edit</a></td>
<td><div id="score_985_347" style="font-size:18px; display:none;">100</div>
<div id="feedback_985_347" alt="" title=""></div>
<a id="edit_score" onclick="launchDialog('985', '347')">edit</a></td>
<td><div id="score_985_351" style="font-size:18px; display:none;">100</div>
<div id="feedback_985_351" alt="" title=""></div>
<a id="edit_score" onclick="launchDialog('985', '351')">edit</a></td>
<td><div id="score_985_357" style="font-size:18px; ">99</div>
<div id="feedback_985_357" alt="" title=""></div>
<a id="edit_score" onclick="launchDialog('985', '357')">edit</a></td>
<td><div id="score_985_358" style="font-size:18px; display:none;">0</div>
<div id="feedback_985_358" alt="" title=""></div>
<a id="edit_score" onclick="launchDialog('985', '358')">edit</a></td>
<td><div id="score_985_359" style="font-size:18px; ">52</div>
<div id="feedback_985_359" alt="" title=""></div>
<a id="edit_score" onclick="launchDialog('985', '359')">edit</a></td>
<td><div id="score_985_360" style="font-size:18px; ">100</div>
<div id="feedback_985_360" alt="" title=""></div>
<a id="edit_score" onclick="launchDialog('985', '360')">edit</a></td>
<td> </td>
<td><div id="average_985" style="font-size:20px; ">74.50</div></td>