Skip to content

Commit 45de255

Browse files
committed
fix checker 189
1 parent 588e85d commit 45de255

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

algorithmic/problems/189/checker.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ int main(int argc, char* argv[]) {
9797
if (score > 100.0) score = 100.0;
9898

9999
// 8. 输出结果 (Partial Score)
100-
quitf(_ok, "User LCS: %d, Optimal LCS: %d. Ratio: %.4f", user_lcs, optimal_lcs, score);
100+
quitf(_ok, "User LCS: %d, Optimal LCS: %d. Ratio: %.4f", user_lcs, optimal_lcs, (double) (score / 100.0));
101101

102102
return 0;
103103
}

0 commit comments

Comments
 (0)