Commit cd7015f5 authored by nanahira's avatar nanahira

fix

parent 88fc5dbb
...@@ -64,7 +64,7 @@ class AutoScore { ...@@ -64,7 +64,7 @@ class AutoScore {
this.ScoreDiff = 0; this.ScoreDiff = 0;
this.ScoreInit = 0; this.ScoreInit = 0;
var max_init = this.GetMaxPossibleInit(target); var max_init = this.GetMaxPossibleInit(target);
var min_init = 100; var min_init = 0;
while (true) { while (true) {
this.ScoreInit = (max_init + min_init) / 2; this.ScoreInit = (max_init + min_init) / 2;
this.ScoreDiff = Math.round(this.ScoreInit / 4); this.ScoreDiff = Math.round(this.ScoreInit / 4);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment