Skip to content

Commit

Permalink
优化代码
Browse files Browse the repository at this point in the history
  • Loading branch information
CuteReimu committed Sep 20, 2024
1 parent b69befd commit c25a1bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/gm/Getscore.kt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class Getscore : Function<Map<String, String>, Any> {
val winRate1 =
if (gameCount1 == 0) "0.00%"
else "%.2f%%".format(winCount1 * 100.0 / gameCount1)
val winRateSum1 = ScoreFactory.getBlackWinRate(secretTask)
val winRateSum1 = "%.2f%%".format(ScoreFactory.getBlackWinRate(secretTask))
s += "$taskName\\t $winRate1\\t $winRateSum1\\t $gameCount1\\n"
}
s += "-----------------------------------\\n"
Expand Down

0 comments on commit c25a1bc

Please sign in to comment.