From fab0bf94786be63d24a8bcaf1064d597197c136f Mon Sep 17 00:00:00 2001 From: Filip Gralinski Date: Mon, 21 Dec 2020 11:10:05 +0100 Subject: [PATCH] Check script --- count-points.pl | 34 +--------------------------------- 1 file changed, 1 insertion(+), 33 deletions(-) diff --git a/count-points.pl b/count-points.pl index b0e39b6..c48a66f 100755 --- a/count-points.pl +++ b/count-points.pl @@ -170,7 +170,7 @@ sub check_if_the_right_task { # return 0 if $task_id =~ m{^TaskE} and not is_estudent($student_id); - return 0 if $task_id =~ m{^Task[AC]} and is_estudent($student_id); + # return 0 if $task_id =~ m{^Task[AC]} and is_estudent($student_id); return 1; } @@ -245,38 +245,6 @@ sub is_estudent { my $suffix = substr($id, 1); my %estudents = map { $_ => 1 } split/\n/,<<'END_OF_NUMBERS'; -16136 -21804 -30291 -30686 -32746 -32753 -32754 -32757 -32759 -32778 -32813 -32837 -34595 -34596 -34598 -34599 -34603 -34604 -34608 -34650 -34654 -39546 -40549 -42335 -42611 -42612 -42613 -42614 -50169 -50711 -52484 -84146 END_OF_NUMBERS if ($estudents{$suffix}) {