Fix
This commit is contained in:
parent
8b6637a330
commit
91d7d45aff
@ -110,6 +110,12 @@ sub process_report {
|
||||
|
||||
my ($points, $deadline, $total, $remainder) = parse_description($task_id);
|
||||
|
||||
if (is_estudent($student_id)) {
|
||||
if ($task_id =~ /F..$/) {
|
||||
$deadline = '2021-01-25 23:59:59';
|
||||
}
|
||||
}
|
||||
|
||||
print $task_id, " ", ($success ? "PASSED" : "FAILED");
|
||||
|
||||
if (!check_deadline($task_id, $deadline)) {
|
||||
@ -245,6 +251,22 @@ sub is_estudent {
|
||||
my $suffix = substr($id, 1);
|
||||
|
||||
my %estudents = map { $_ => 1 } split/\n/,<<'END_OF_NUMBERS';
|
||||
500276
|
||||
44517
|
||||
500259
|
||||
42720
|
||||
44519
|
||||
500271
|
||||
42611
|
||||
39546
|
||||
42612
|
||||
44416
|
||||
25077
|
||||
16136
|
||||
32754
|
||||
44522
|
||||
44523
|
||||
42614
|
||||
END_OF_NUMBERS
|
||||
|
||||
if ($estudents{$suffix}) {
|
||||
|
Loading…
Reference in New Issue
Block a user