Do not return solution during contests
authorMarius Gavrilescu <marius@ieval.ro>
Mon, 30 Mar 2015 12:40:58 +0000 (15:40 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Mon, 30 Mar 2015 12:40:58 +0000 (15:40 +0300)
lib/Gruntmaster/Data.pm

index 2706f94338f643e17bd84c71f1b8e3cfb9ae1965..301bdfd483040e91a888701fe0d5dfca9369ef0d 100644 (file)
@@ -125,6 +125,7 @@ sub problem_entry {
        if ($contest) {
                $ret->{contest_start} = $contest->{start};
                $ret->{contest_stop}  = $contest->{stop};
+               delete $ret->{solution}
        }
 
        $ret
This page took 0.011497 seconds and 4 git commands to generate.