commit ktory powinien powstac tydzien temu
This commit is contained in:
parent
9033821f8e
commit
d84cd90855
@ -2,7 +2,7 @@
|
||||
<module type="PYTHON_MODULE" version="4">
|
||||
<component name="NewModuleRootManager">
|
||||
<content url="file://$MODULE_DIR$" />
|
||||
<orderEntry type="jdk" jdkName="Python 3.8" jdkType="Python SDK" />
|
||||
<orderEntry type="jdk" jdkName="Python 3.10" jdkType="Python SDK" />
|
||||
<orderEntry type="sourceFolder" forTests="false" />
|
||||
</component>
|
||||
</module>
|
@ -1,7 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Black">
|
||||
<option name="sdkName" value="Python 3.8" />
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.8" project-jdk-type="Python SDK" />
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.10" project-jdk-type="Python SDK" />
|
||||
</project>
|
@ -0,0 +1,9 @@
|
||||
NO
|
||||
YES
|
||||
NO
|
||||
NO
|
||||
NO
|
||||
NO
|
||||
NO
|
||||
NO
|
||||
NO
|
@ -0,0 +1,14 @@
|
||||
YES
|
||||
NO
|
||||
YES
|
||||
NO
|
||||
YES
|
||||
NO
|
||||
NO
|
||||
YES
|
||||
NO
|
||||
NO
|
||||
NO
|
||||
NO
|
||||
NO
|
||||
NO
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,6 @@
|
||||
NO
|
||||
YES
|
||||
NO
|
||||
NO
|
||||
YES
|
||||
YES
|
@ -0,0 +1,7 @@
|
||||
YES
|
||||
YES
|
||||
YES
|
||||
NO
|
||||
NO
|
||||
NO
|
||||
NO
|
3512
TaskC06/medium.out
3512
TaskC06/medium.out
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,4 @@
|
||||
biały
|
||||
dom
|
||||
piła
|
||||
stali
|
@ -0,0 +1,3 @@
|
||||
biały
|
||||
piła
|
||||
stali
|
@ -0,0 +1,2 @@
|
||||
Here comes Hamlet
|
||||
Hamlet Hamlet again
|
@ -0,0 +1,3 @@
|
||||
Pies ma Alę
|
||||
Kot i pies to zwierzęta
|
||||
pies
|
@ -0,0 +1,3 @@
|
||||
Kiedyś był 1934 r.
|
||||
Kiedyś był 1934 r.fsdfsdfsdf
|
||||
1934 r. to jakaś data
|
@ -0,0 +1,4 @@
|
||||
34234 34 5
|
||||
34535
|
||||
34
|
||||
1992 1999
|
@ -0,0 +1,5 @@
|
||||
yes
|
||||
yes
|
||||
yes
|
||||
no
|
||||
no
|
@ -0,0 +1,6 @@
|
||||
yes
|
||||
yes
|
||||
no
|
||||
yes
|
||||
yes
|
||||
no
|
@ -0,0 +1,7 @@
|
||||
no
|
||||
yes
|
||||
no
|
||||
yes
|
||||
yes
|
||||
no
|
||||
no
|
@ -0,0 +1,12 @@
|
||||
no
|
||||
no
|
||||
yes
|
||||
yes
|
||||
yes
|
||||
yes
|
||||
no
|
||||
no
|
||||
no
|
||||
yes
|
||||
yes
|
||||
yes
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1,3 +1,3 @@
|
||||
ala mA KOTa
|
||||
lallaa
|
||||
Żuk
|
||||
żUK
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,3 @@
|
||||
7 2 0 2
|
||||
6 0 0 0
|
||||
5 1 1 4
|
||||
7 2 0 3
|
||||
6 0 0 1
|
||||
6 1 1 3
|
||||
|
File diff suppressed because one or more lines are too long
@ -0,0 +1,3 @@
|
||||
Mam 2 jabłka i banananów.
|
||||
Mam 2 jabłka i banananów oraz 20 gruszek.
|
||||
Widziałem 2 bociany.
|
File diff suppressed because one or more lines are too long
@ -1,2 +1,2 @@
|
||||
"Mam 2 xxxx‚ka i 35 banananĂłw.
|
||||
Widziałem x bociany.
|
||||
"Mam 2 xxxxxx i 35 banananów.
|
||||
Widziałem 2 xxxxxxx.
|
||||
|
@ -1,4 +1,4 @@
|
||||
Use regular expressions to extract lines containing polish surnames.
|
||||
Use regular expressions to extract lines containing polish surnames.
|
||||
|
||||
Download list of polish male and female surnames from here:
|
||||
|
||||
|
50000
TaskG00/polish_wiki_excerpt.in
Normal file
50000
TaskG00/polish_wiki_excerpt.in
Normal file
File diff suppressed because one or more lines are too long
50000
TaskG01/polish_wiki_excerpt.in
Normal file
50000
TaskG01/polish_wiki_excerpt.in
Normal file
File diff suppressed because one or more lines are too long
@ -2,9 +2,7 @@ import re
|
||||
import sys
|
||||
|
||||
def binary_to_utf8(binary_string):
|
||||
# padding = 8 - len(binary_string) % 8
|
||||
# binary_string += '0' * padding
|
||||
# binary_string = binary_string.rstrip('0')
|
||||
|
||||
|
||||
bytes_list = [binary_string[i:i+8] for i in range(0, len(binary_string), 8)]
|
||||
|
||||
@ -18,8 +16,6 @@ def binary_to_utf8(binary_string):
|
||||
|
||||
return utf8_text
|
||||
|
||||
return utf8_text
|
||||
|
||||
for line in sys.stdin:
|
||||
result = binary_to_utf8(line.strip())
|
||||
print(result.encode('utf-8'))
|
||||
print(result)
|
@ -14,4 +14,4 @@ def hex_to_utf8(hex_string):
|
||||
|
||||
for line in sys.stdin:
|
||||
result_text = hex_to_utf8(line.strip())
|
||||
print(result_text.encode('utf-8'))
|
||||
print(result_text)
|
@ -0,0 +1 @@
|
||||
15
|
@ -0,0 +1 @@
|
||||
4
|
@ -0,0 +1,4 @@
|
||||
10 Szeregowy
|
||||
5 Rico
|
||||
9 Kowalski
|
||||
8 Skipper
|
@ -71,7 +71,7 @@ def does_task_match_index(dir, index):
|
||||
|
||||
|
||||
def get_tasks(index):
|
||||
all_tasks = Path('.').glob('Task*')
|
||||
all_tasks = Path('.').glob('TaskG05')
|
||||
return [task for task in all_tasks if does_task_match_index(task, index)]
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user