diff options
| author | Cassio de Campos <cassiopc@gmail.com> | 2018-09-05 20:32:33 +0000 |
|---|---|---|
| committer | Cassio de Campos <cassiopc@gmail.com> | 2018-09-05 20:32:33 +0000 |
| commit | db758860cf753959bd6d64f19fefdb4ab2c63532 (patch) | |
| tree | 0238b2965504044640e927b29b505f221577d819 /src/frun.php | |
| parent | 41f8b3a82474d293323b344ccfa729594fc18bf9 (diff) | |
| download | boca-db758860cf753959bd6d64f19fefdb4ab2c63532.tar.gz boca-db758860cf753959bd6d64f19fefdb4ab2c63532.zip | |
bf
Diffstat (limited to 'src/frun.php')
| -rw-r--r-- | src/frun.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frun.php b/src/frun.php index 473c4a5..a2efb73 100644 --- a/src/frun.php +++ b/src/frun.php @@ -499,8 +499,8 @@ function DBUpdateRunAutojudging($contest, $site, $number, $ip, $answer, $stdout, $a["runproblem"] == 12 || $a["runproblem"] == 13) && $retval != 4 && $retval != 6)) { // but WA:6 and TLE:4 are automatic for all problems - if($retval != 1 && $retval != 6 && $retval != 4) { - //if($b["siteautojudge"]!="t") { + //if($retval != 1 && $retval != 6 && $retval != 4) { + if($b["siteautojudge"]!="t") { // && (($retval != 1 && $retval != 6) || $a["runproblem"] == 1 || $a["runproblem"] == 2) ) { //cassiopc incluir automatic judging of some codes 1:YES WA:6 DBExec($c, "commit work", "DBUpdateRunAutojudging(commit)"); LOGLevel("Autojudging answered a run (run=$number, site=$site, contest=$contest, answer='$answer', retval=$retval)", 3); |