aboutsummaryrefslogtreecommitdiff
path: root/src/fscore.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/fscore.php')
-rw-r--r--src/fscore.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/fscore.php b/src/fscore.php
index d87f1bd..2c57695 100644
--- a/src/fscore.php
+++ b/src/fscore.php
@@ -157,6 +157,24 @@ function DBScore($contest, $verifylastmile, $hor=-1, $globalsite='0') {
}
}
}
+
+ if(false) {
+ $arrori = $arr;
+ reset($arrori); //cassio cassiopc
+ $pname = array('A','B','C','D','E','F','G','H','I','J','K');
+ while(list($ee,$cc) = each($arrori)) {
+ for($pi=0; $pi < 11; $pi++) unset($arr[$ee]['problem'][$pi+1]);
+ reset($arrori[$ee]["problem"]);
+ while(list($e2,$c2) = each($arrori[$ee]["problem"])) {
+ for($pi=0; $pi < 11; $pi++)
+ if(isset($arrori[$ee]['problem'][$e2]['name']) && trim($arrori[$ee]['problem'][$e2]['name']) == $pname[$pi]) break;
+ if($pi < 11) {
+ $arr[$ee]['problem'][$pi+1] = $arrori[$ee]['problem'][$e2];
+ }
+ }
+ }
+ }
+
$resp = array_merge($resp, $arr);
}
} else {