add X tasks
This commit is contained in:
parent
cbedaa5e87
commit
0c20f3b5fc
|
@ -0,0 +1 @@
|
|||
15
|
|
@ -0,0 +1,5 @@
|
|||
1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
|
@ -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
|
|
@ -0,0 +1,7 @@
|
|||
import sys
|
||||
|
||||
count = 0
|
||||
for line in sys.stdin:
|
||||
count += int(line)
|
||||
|
||||
print(count)
|
|
@ -0,0 +1 @@
|
|||
4
|
|
@ -0,0 +1,2 @@
|
|||
2
|
||||
2
|
|
@ -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
|
|
@ -0,0 +1 @@
|
|||
3
|
|
@ -0,0 +1,3 @@
|
|||
raz
|
||||
dwa
|
||||
trzy
|
|
@ -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
|
|
@ -0,0 +1,4 @@
|
|||
9 Szeregowy
|
||||
4 Rico
|
||||
8 Kowalski
|
||||
7 Skipper
|
|
@ -0,0 +1,4 @@
|
|||
Szeregowy
|
||||
Rico
|
||||
Kowalski
|
||||
Skipper
|
Loading…
Reference in New Issue