aboutsummaryrefslogtreecommitdiff
path: root/src/frun.php
diff options
context:
space:
mode:
authorCassio de Campos <cassiopc@gmail.com>2018-09-05 20:31:54 +0000
committerCassio de Campos <cassiopc@gmail.com>2018-09-05 20:31:54 +0000
commitdab3a7ad6ffc681f2cb2c72a2788d1693fad6c8a (patch)
tree43f1b53abba21dcd4655d46f6c09c2e6a03c63e2 /src/frun.php
parentbfc9128d058be1e5b7e578781199b46a1b410240 (diff)
downloadboca-dab3a7ad6ffc681f2cb2c72a2788d1693fad6c8a.tar.gz
boca-dab3a7ad6ffc681f2cb2c72a2788d1693fad6c8a.zip
bf
Diffstat (limited to 'src/frun.php')
-rw-r--r--src/frun.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/frun.php b/src/frun.php
index 4c58def..444432e 100644
--- a/src/frun.php
+++ b/src/frun.php
@@ -501,14 +501,14 @@ 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($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);
return true;
}
- }
+ //}
}
//echo "DEBUG: $contest, $site, " .$a["usernumber"].", $site, $number, $retval\n";
if(DBUpdateRunO($contest, $site, $a["usernumber"], $site, $number, $retval, $c)==false) {