From c6b7b2b06a516f3e1231ebbf8a7b54ea3c940089 Mon Sep 17 00:00:00 2001 From: Filip Gralinski Date: Thu, 15 Oct 2020 07:17:57 +0200 Subject: [PATCH] Fix year --- TaskA01/description.yaml | 10 ---------- TaskX01/description.txt | 2 +- TaskX02/description.txt | 2 +- TaskX03/description.txt | 2 +- blend.sh | 4 ++-- count-points.pl | 2 +- 6 files changed, 6 insertions(+), 16 deletions(-) delete mode 100644 TaskA01/description.yaml diff --git a/TaskA01/description.yaml b/TaskA01/description.yaml deleted file mode 100644 index fc4e716..0000000 --- a/TaskA01/description.yaml +++ /dev/null @@ -1,10 +0,0 @@ -- title: Hamlet -- description: >- - Write a program to find lines containing the word "Hamlet". - Do not use regular expressions, just the simplest capabilities - of a programming language. -- points: 2 -- deadline: 2020-10-15 23:59:59 -- files: - - url: https://www.gutenberg.org/files/100/100-0.txt - name: shakespeare.in diff --git a/TaskX01/description.txt b/TaskX01/description.txt index 35cab96..5bbc1d0 100644 --- a/TaskX01/description.txt +++ b/TaskX01/description.txt @@ -3,4 +3,4 @@ Note: this is just an example of a task (and a solution). The task has a solution already, do not solve it! POINTS: 1 -DEADLINE: 2019-10-30 23:59 +DEADLINE: 2020-10-15 17:05 diff --git a/TaskX02/description.txt b/TaskX02/description.txt index bcbbd3f..2104667 100644 --- a/TaskX02/description.txt +++ b/TaskX02/description.txt @@ -5,4 +5,4 @@ This is an example of a solution in a compilable langauge (Makefile is needed in which compilation process is described.) POINTS: 0 -DEADLINE: 2019-10-30 23:59 +DEADLINE: 2020-10-15 18:45 diff --git a/TaskX03/description.txt b/TaskX03/description.txt index bcab497..e0136d7 100644 --- a/TaskX03/description.txt +++ b/TaskX03/description.txt @@ -2,4 +2,4 @@ For each line read from the standard input print the number of characters (not counting the end-of-line character), a space and the line read. POINTS: 1 -DEADLINE: 2019-10-30 23:59 +DEADLINE: 2020-10-15 23:59 diff --git a/blend.sh b/blend.sh index ec38ab6..a1d03c5 100755 --- a/blend.sh +++ b/blend.sh @@ -1,6 +1,6 @@ #!/bin/bash -ex -PREFIX=djfz-2019 +PREFIX=djfz-2020 cd .. @@ -19,7 +19,7 @@ cp "${PREFIX}/count-points.pl" arena/ cp "${PREFIX}/overrides.txt" arena/ cp "${PREFIX}/Makefile" arena/ -for TX in X01 X02 X03 X04 X05 X06 X07 X08 B00 B01 B02 B03 B04 B05 B06 C00 C01 C02 C03 C04 C05 C06 E01 E02 E03 E04 E05 E06 E07 # X05 X06 X07 X08 X09 X10 B03 B04 X10 +for TX in X01 X02 X03 A01 # X04 X05 X06 X07 X08 B00 B01 B02 B03 B04 B05 B06 C00 C01 C02 C03 C04 C05 C06 E01 E02 E03 E04 E05 E06 E07 # X05 X06 X07 X08 X09 X10 B03 B04 X10 do mkdir -p arena/Task$TX done diff --git a/count-points.pl b/count-points.pl index 6b4407c..ca6b8ac 100755 --- a/count-points.pl +++ b/count-points.pl @@ -139,7 +139,7 @@ sub check_deadline { for my $file (glob "$task_id/*") { if ($file !~ m{\.(in|arg|out|exp|\~)$|/(description\.txt|run)$}) { - my $dir_to_check = "../djfz-2019-s$student_id"; + my $dir_to_check = "../djfz-2020-s$student_id"; if (not defined($student_id)) { $dir_to_check = '.'; }