diff --git a/std-script/judge b/std-script/judge --- a/std-script/judge +++ b/std-script/judge @@ -103,6 +103,10 @@ # Doing the testing. (1..(problem.num_tests)).each do |test_num| + + $stdout.print "[#{test_num}]" + $stdout.flush + log "Test number: #{test_num}" execute("cp #{test_result_dir}/a.out #{sandbox_dir}", "Cannot copy the compiled program into #{sandbox_dir}") begin @@ -117,6 +121,8 @@ execute("rm -Rf #{sandbox_dir}/*", "Cannot clear #{sandbox_dir}") end +$stdout.print "[done]\n" + # Grade log log "Grading..."