|
|
|
@ -85,7 +85,7 @@ class HackUserLastestCodesController < ApplicationController
|
|
|
|
|
testCase = ojEvaResult['testCase']
|
|
|
|
|
# 只有编译出错时,才正则匹配错误行数
|
|
|
|
|
error_line=
|
|
|
|
|
if params[:status] == "-4"
|
|
|
|
|
if params[:status] == "4"
|
|
|
|
|
regular_match_error_line ojEvaResult['outPut'], @my_hack.hack.language
|
|
|
|
|
end
|
|
|
|
|
# debug 与submit 公用的参数
|
|
|
|
|