@ -557,7 +557,8 @@ class MyshixunsController < ApplicationController
if !resubmit.blank?
game.update_attributes!(:retry_status => 1, :resubmit_identifier => resubmit)
else
game.update_attributes!(:status => 0)
score = ((challenge.score * test_set_score) / 100.to_f).to_i
game.update_attributes!(:status => 0, :final_score => score)
end
test_cases_time = format("%.3f", (Time.now.to_f - t1.to_f)).to_f