Accept Merge Request #125: (hyc -> master)

Merge Request: 【修改】浏览器设置判分text

Created By: @华允传
Accepted By: @华允传
URL: https://g-iswv8783.coding.net/p/education/d/pengchen-exam-java/git/merge/125?initial=true
This commit is contained in:
华允传
2025-06-13 17:50:38 +08:00
committed by Coding

View File

@@ -122,7 +122,7 @@ public class BrowserServericeImpl implements IBrowserServerice {
double roundedScoreRatio = Math.round(scoreRatio * 100.0) / 100.0; // 四舍五入到2位小数
appendToFile(answerLogPath," 得分:"+roundedScoreRatio*score);
sourceAndText.setScore(roundedScoreRatio*score);
sourceAndText.setText(judgementStr);
return sourceAndText;
}