add X tasks

This commit is contained in:
Jakub Pokrywka 2021-12-31 14:02:08 +01:00
parent cbedaa5e87
commit 0c20f3b5fc
12 changed files with 45 additions and 0 deletions

1
TaskX01/complex.exp Normal file
View File

@ -0,0 +1 @@
15

5
TaskX01/complex.in Normal file
View File

@ -0,0 +1,5 @@
1
2
3
4
5

6
TaskX01/description.txt Normal file
View File

@ -0,0 +1,6 @@
Print the sum of integers read from the standard input.
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: 2021-12-08 16:00:00

7
TaskX01/run.py Normal file
View File

@ -0,0 +1,7 @@
import sys
count = 0
for line in sys.stdin:
count += int(line)
print(count)

1
TaskX01/simple.exp Normal file
View File

@ -0,0 +1 @@
4

2
TaskX01/simple.in Normal file
View File

@ -0,0 +1,2 @@
2
2

5
TaskX02/description.txt Normal file
View File

@ -0,0 +1,5 @@
Print the number lines read from the standard input.
POINTS: 1
DEADLINE: 2021-12-08 16:00:00
REMAINDER 0/2

1
TaskX02/simple.exp Normal file
View File

@ -0,0 +1 @@
3

3
TaskX02/simple.in Normal file
View File

@ -0,0 +1,3 @@
raz
dwa
trzy

6
TaskX03/description.txt Normal file
View File

@ -0,0 +1,6 @@
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: 2021-12-08 16:00:00
REMAINDER 1/2

4
TaskX03/simple.exp Normal file
View File

@ -0,0 +1,4 @@
9 Szeregowy
4 Rico
8 Kowalski
7 Skipper

4
TaskX03/simple.in Normal file
View File

@ -0,0 +1,4 @@
Szeregowy
Rico
Kowalski
Skipper