]> iEval git - gruntmaster-data.git/blobdiff - gruntmaster-problem
Simplify user_list
[gruntmaster-data.git] / gruntmaster-problem
index e74449b61731fdd35b7bec51707e9d121f5b59ee..0f45fe80dcf4a13015b95532453366ab2c91d859 100755 (executable)
@@ -181,6 +181,7 @@ sub cmd_check {
                for (keys %pass) {
                        my $time = $pass{$_};
                        $time = sprintf '%.1f', $time * 3/2 + 0.1;
+                       next if $time eq $db->problem($id)->timeout;
                        $db->limits->create({problem => $id, format => $_, timeout => $time});
                        say "Set time limit for $_ to $time";
                }
This page took 0.01962 seconds and 4 git commands to generate.