From d33e87f2633f4da6fd9569f6f7db4b1f54c478c2 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Mon, 30 Mar 2015 15:40:58 +0300 Subject: [PATCH] Do not return solution during contests --- lib/Gruntmaster/Data.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Gruntmaster/Data.pm b/lib/Gruntmaster/Data.pm index 2706f94..301bdfd 100644 --- a/lib/Gruntmaster/Data.pm +++ b/lib/Gruntmaster/Data.pm @@ -125,6 +125,7 @@ sub problem_entry { if ($contest) { $ret->{contest_start} = $contest->{start}; $ret->{contest_stop} = $contest->{stop}; + delete $ret->{solution} } $ret -- 2.39.2