This commit is contained in:
s450026 2020-12-20 19:30:16 +01:00
parent 1649b19c4c
commit bb03a3ba9a
111 changed files with 731238 additions and 1 deletions

3
TaskA01/report.txt Normal file
View File

@ -0,0 +1,3 @@
1..2
ok 1 TaskA01/shakespeare
ok 2 TaskA01/simple

106
TaskA01/shakespeare.out Normal file
View File

@ -0,0 +1,106 @@
CLAUDIUS, King of Denmark, Hamlets uncle.
The GHOST of the late king, Hamlets father.
GERTRUDE, the Queen, Hamlets mother, now wife of Claudius.
HORATIO, Friend to Hamlet.
Dard to the combat; in which our valiant Hamlet,
His fell to Hamlet. Now, sir, young Fortinbras,
Unto young Hamlet; for upon my life,
Enter Claudius King of Denmark, Gertrude the Queen, Hamlet, Polonius,
Though yet of Hamlet our dear brothers death
But now, my cousin Hamlet, and my son—
Good Hamlet, cast thy nighted colour off,
Tis sweet and commendable in your nature, Hamlet,
Let not thy mother lose her prayers, Hamlet.
This gentle and unforcd accord of Hamlet
[_Exeunt all but Hamlet._]
For Hamlet, and the trifling of his favour,
So please you, something touching the Lord Hamlet.
Than a command to parley. For Lord Hamlet,
As to give words or talk with the Lord Hamlet.
Enter Hamlet, Horatio and Marcellus.
That I will speak to thee. Ill call thee Hamlet,
[_Ghost beckons Hamlet._]
[_Exeunt Ghost and Hamlet._]
Enter Ghost and Hamlet.
Wouldst thou not stir in this. Now, Hamlet, hear.
O Hamlet, what a falling off was there,
Adieu, adieu, adieu. Hamlet, remember me.
[_Within._] Lord Hamlet.
And what so poor a man as Hamlet is
Lord Hamlet, with his doublet all unbracd,
Of Hamlets transformation; so I call it,
And bring these gentlemen where Hamlet is.
The very cause of Hamlets lunacy.
Came this from Hamlet to her?
Lord Hamlet is a prince, out of thy star.
Enter Hamlet, reading.
How does my good Lord Hamlet?
You go to seek the Lord Hamlet; there he is.
For we have closely sent for Hamlet hither,
Of Hamlets wildness: so shall I hope your virtues
Enter Hamlet.
You need not tell us what Lord Hamlet said,
Enter Hamlet and certain Players.
How fares our cousin Hamlet?
I have nothing with this answer, Hamlet; these words are not mine.
Come hither, my dear Hamlet, sit by me.
[_Exeunt all but Hamlet and Horatio._]
[_Exeunt all but Hamlet._]
Enter Hamlet.
Enter Hamlet.
Hamlet, thou hast thy father much offended.
Why, how now, Hamlet?
O Hamlet, speak no more.
No more, sweet Hamlet.
Speak to her, Hamlet.
O Hamlet, thou hast cleft my heart in twain.
[_Exit Hamlet dragging out Polonius._]
What, Gertrude? How does Hamlet?
Hamlet in madness hath Polonius slain,
Enter Hamlet.
[_Within._] Hamlet! Lord Hamlet!
What noise? Who calls on Hamlet? O, here they come.
Enter Hamlet and Guildenstern.
Now, Hamlet, wheres Polonius?
Hamlet, this deed, for thine especial safety,—
Ay, Hamlet.
Thy loving father, Hamlet.
The present death of Hamlet. Do it, England;
Enter Hamlet, Rosencrantz, Guildenstern &c.
[_Exeunt all but Hamlet._]
I should be greeted, if not from Lord Hamlet.
Letters, my lord, from Hamlet.
From Hamlet! Who brought them?
Tis Hamlets character. Naked!
And that in Hamlets hearing, for a quality
Did Hamlet so envenom with his envy
Hamlet comes back: what would you undertake
Hamlet returnd shall know you are come home:
Enter Hamlet and Horatio, at a distance.
Hamlet oercame Fortinbras.
that young Hamlet was born,—he that is mad, and sent into England.
I hopd thou shouldst have been my Hamlets wife;
Hamlet the Dane.
Hamlet! Hamlet!
Enter Hamlet and Horatio.
[_Hamlet moves him to put on his hat._]
Come, Hamlet, come, and take this hand from me.
[_The King puts Laertess hand into Hamlets._]
Wast Hamlet wrongd Laertes? Never Hamlet.
If Hamlet from himself be taen away,
Then Hamlet does it not, Hamlet denies it.
Hamlet is of the faction that is wrongd;
His madness is poor Hamlets enemy.
Give them the foils, young Osric. Cousin Hamlet,
If Hamlet give the first or second hit,
The King shall drink to Hamlets better breath,
Now the King drinks to Hamlet. Come, begin.
Stay, give me drink. Hamlet, this pearl is thine;
Here, Hamlet, take my napkin, rub thy brows.
The Queen carouses to thy fortune, Hamlet.
[_Laertes wounds Hamlet; then, in scuffling, they change rapiers, and
Hamlet wounds Laertes._]
No, no, the drink, the drink! O my dear Hamlet!
It is here, Hamlet. Hamlet, thou art slain.
Exchange forgiveness with me, noble Hamlet.
Bear Hamlet like a soldier to the stage,

0
TaskA01/shakespeare.res Normal file
View File

2
TaskA01/simple.out Normal file
View File

@ -0,0 +1,2 @@
Here comes Hamlet
Hamlet Hamlet again

0
TaskA01/simple.res Normal file
View File

View File

@ -0,0 +1,13 @@
Pies ten pochodzi z południowych Chin, z terenów prowincji Guangdong. Został rozpropagowany i hodowany w celach wystawowych przez hodowców w USA. Nazwa psa, pochodząca z chińskiego "shā pí" (沙皮), oznacza dosłownie "piaszczysta skóra".
Chart polski polska rasa psa myśliwskiego, znana prawdopodobnie od czasów Galla Anonima, zaliczana do grupy chartów. Dawniej użytkowana była przede wszystkim do polowań, obecnie jako pies reprezentacyjny.
Smukły pies o wąskim pysku. Chart polski jest wyraźnie mocniejszy i nie tak finezyjny w kształtach jak inne charty. Jest najwyższą z polskich ras.
Chart polski to pies silny, wytrzymały, o dobrze zbalansowanym ciele i proporcjach (wpisany jest w prostokąt oparty na dłuższym boku) pozwalających nie tylko na szybki galop, ale i na pokonywanie dużych odległości wyciągniętym kłusem. Jest psem o okrywie włosowej dobrze chroniącej go przed zimnem, wilgocią i wiatrem.
Pies wymagający sporej dawki codziennego ruchu, stąd jest idealnym towarzyszem dla ludzi uprawiających jeździectwo lub jogging.
W filmie występuje pies rasy landseer.
Bohaterami anime jest grupa łowców nagród, podróżująca statkiem kosmicznym o nazwie "Bebop": Spike Spiegel, Faye Valentine, Jet Black, haker Ed oraz genetycznie zmodyfikowany pies Ein.
Tytułowym głównym bohaterem serii jest Lucky Luke - kowboj, najszybszy rewolwerowiec na Dzikim Zachodzie i najgorszy koszmar braci Dalton. Zawsze, gdy planują oni skok na bank lub inne przestępstwo, dzielny stróż prawa staje im na drodze. W jego przygodach towarzyszą mu inteligentny koń Jolly Jumper i pies Bzik (we francuskojęzycznym oryginale: "Rantanplan").
Serial w krzywym zwierciadle przedstawia życie typowej amerykańskiej rodziny. Jej głową i jedynym żywicielem jest wiecznie sfrustrowany sprzedawca butów, Al Bundy. Kocha swojego starego dodge'a, wolny czas spędza siedząc na kanapie, oglądając telewizję i pijąc piwo lub na posiedzeniach w toalecie. Jego małżonką jest Peggy, która całymi dniami przesiaduje przed telewizorem, oglądając "The Oprah Winfrey Show", i The Phil Donahue Show zajadając się popcornem i czekoladkami, paląc przy tym papierosa za papierosem. O jej podejściu do typowo domowych zajęć świadczą zadawane przez nią pytania, np. o odkurzacz "Jak się nazywa to coś, co ciągniesz po dywanie, a ono buczy?" Tytułowymi dziećmi są nastoletni Bud oraz Kelly, którzy nie przepadają za sobą i nie przepuszczą żadnej okazji, aby sobie dokuczyć czy donieść na siebie. Kelly i Bud dojrzewają w trakcie trwania serialu, przez co trochę się zmieniają: Bud z wrednego kilkunastolatka przeistacza się w nastoletniego macho, którego nie chce żadna dziewczyna, a Kelly z każdą serią staje się coraz mniej inteligentna. Wiecznie niedocenianym członkiem rodziny jest pies Buck, który jednak żyje swoim życiem i sam troszczy się o siebie. W trakcie wszystkich dziesięciu lat trwania serialu Bundym towarzyszy dwójka sąsiadów: Marcy, najpierw ze swoim pierwszym mężem, Steve'em Rhoadesem, a następnie z Jeffersonem d'Arcym. Marcy lubi przebywać z Peggy, jest za to na bakier z Alem, natomiast Al utrzymuje dobre stosunki z mężami Marcy, szczególnie Jeffersonem Steve raczej nie darzył Bundych tak bezwzględną sympatią.
Buck (prawdziwe imię Michael; trener Steven Ritt) to pies rodziny Bundych, Briard. Głosu użycza mu Kevin Curran, a w odcinkach specjalnych Cheech Marin. Zdechł w wieku dwunastu lat (w 1996 roku Michael przeszedł na emeryturę, zdechł dziewięć miesięcy po tym, jak Bucka uśmiercono w serialu).
Lucky to drugi pies rodziny Bundych, spaniel, reinkarnacja Bucka.
20 stycznia 1974 r. o godz. 10.40 w Dolinie Mięguszowieckiej wydarzyła się największa jak do owej pory katastrofa lawinowa w Tatrach. Żlebem spod Przełęczy nad Skokiem w Grani Baszt zeszła potężna lawina, która przewaliła się przez Mięguszowiecki Potok i wdarła 140 m na przeciwległy stok, wspinając się na niego z rozpędu aż 44 m w górę. Na stoku tym, na śnieżnym pólku trenowali z instruktorem uczestnicy kursu narciarskiego ze słowackiego Technikum Budowlanego. Lawina przysypała 24 z nich. Dzięki błyskawicznej akcji ratunkowej (było to tylko 400 m od schroniska nad Popradzkim Stawem) udało się odgrzebać spod śniegu 11 płycej przywalonych. W ciągu następnych godzin i kilku dni liczne zespoły ratunkowe (z pomocą przyszło również wojsko) odgrzebały ciała 10 uczestników kursu; wśród nich nauczyciela z 12-letnim synem. Pies wskazał miejsce, gdzie po 5 godzinach od zejścia lawiny wydobyto żywego 18-latka przywalonego metrową warstwą śniegu. Ciała dwóch uczniów udało się znaleźć dopiero wiosną po stopieniu się śniegu.
Początkowo Morris wykorzystał w swoich komiksach historycznych braci Daltonów Grat, Bill i Emmett, których przedstawił jako bardzo groźnych i inteligentnych przestępców. Niestety po pierwszym spotkaniu z Lucky Luke, zostali aresztowani i skazani w więzieniu na śmierć. Morris żałował potem swojej decyzji i wraz z Gościnnym wprowadził na ich miejsce, czwórkę kuzynów (także) Daltonów Joe, Williama, Jacka i Averelle, którzy byli przeciwieństwem swoich kuzynów. Wiecznie pechowi, gamoniowaci i niezbyt inteligentni. Wkrótce stali się oni najpopularniejszymi postaciami w serii, zaraz po samym Lucky Luke i z czasem dołączył do nich pies Rantanplan. Doczekali się także solowego filmu dystrybuowanego w Polsce pt. "Lucky Luke" (oryg. "Les Dalton").

View File

3
TaskA02/report.txt Normal file
View File

@ -0,0 +1,3 @@
1..2
ok 1 TaskA02/polish_wiki_excerpt
ok 2 TaskA02/simple

3
TaskA02/simple.out Normal file
View File

@ -0,0 +1,3 @@
Pies ma Alę
Kot i pies to zwierzęta
pies

0
TaskA02/simple.res Normal file
View File

File diff suppressed because one or more lines are too long

View File

3
TaskA03/report.txt Normal file
View File

@ -0,0 +1,3 @@
1..2
ok 1 TaskA03/polish_wiki_excerpt
ok 2 TaskA03/simple

3
TaskA03/simple.out Normal file
View File

@ -0,0 +1,3 @@
Kiedyś był 1934 r.
Kiedyś był 1934 r.fsdfsdfsdf
1934 r. to jakaś data

0
TaskA03/simple.res Normal file
View File

File diff suppressed because it is too large Load Diff

View File

3
TaskA04/report.txt Normal file
View File

@ -0,0 +1,3 @@
1..2
ok 1 TaskA04/polish_wiki_excerpt
ok 2 TaskA04/simple

4
TaskA04/simple.out Normal file
View File

@ -0,0 +1,4 @@
34234 34 5
34535
34
1992 1999

0
TaskA04/simple.res Normal file
View File

3
TaskB01/report.txt Normal file
View File

@ -0,0 +1,3 @@
1..2
ok 1 TaskB01/shakespeare
ok 2 TaskB01/simple

106
TaskB01/shakespeare.out Normal file
View File

@ -0,0 +1,106 @@
CLAUDIUS, King of Denmark, Hamlets uncle.
The GHOST of the late king, Hamlets father.
GERTRUDE, the Queen, Hamlets mother, now wife of Claudius.
HORATIO, Friend to Hamlet.
Dard to the combat; in which our valiant Hamlet,
His fell to Hamlet. Now, sir, young Fortinbras,
Unto young Hamlet; for upon my life,
Enter Claudius King of Denmark, Gertrude the Queen, Hamlet, Polonius,
Though yet of Hamlet our dear brothers death
But now, my cousin Hamlet, and my son—
Good Hamlet, cast thy nighted colour off,
Tis sweet and commendable in your nature, Hamlet,
Let not thy mother lose her prayers, Hamlet.
This gentle and unforcd accord of Hamlet
[_Exeunt all but Hamlet._]
For Hamlet, and the trifling of his favour,
So please you, something touching the Lord Hamlet.
Than a command to parley. For Lord Hamlet,
As to give words or talk with the Lord Hamlet.
Enter Hamlet, Horatio and Marcellus.
That I will speak to thee. Ill call thee Hamlet,
[_Ghost beckons Hamlet._]
[_Exeunt Ghost and Hamlet._]
Enter Ghost and Hamlet.
Wouldst thou not stir in this. Now, Hamlet, hear.
O Hamlet, what a falling off was there,
Adieu, adieu, adieu. Hamlet, remember me.
[_Within._] Lord Hamlet.
And what so poor a man as Hamlet is
Lord Hamlet, with his doublet all unbracd,
Of Hamlets transformation; so I call it,
And bring these gentlemen where Hamlet is.
The very cause of Hamlets lunacy.
Came this from Hamlet to her?
Lord Hamlet is a prince, out of thy star.
Enter Hamlet, reading.
How does my good Lord Hamlet?
You go to seek the Lord Hamlet; there he is.
For we have closely sent for Hamlet hither,
Of Hamlets wildness: so shall I hope your virtues
Enter Hamlet.
You need not tell us what Lord Hamlet said,
Enter Hamlet and certain Players.
How fares our cousin Hamlet?
I have nothing with this answer, Hamlet; these words are not mine.
Come hither, my dear Hamlet, sit by me.
[_Exeunt all but Hamlet and Horatio._]
[_Exeunt all but Hamlet._]
Enter Hamlet.
Enter Hamlet.
Hamlet, thou hast thy father much offended.
Why, how now, Hamlet?
O Hamlet, speak no more.
No more, sweet Hamlet.
Speak to her, Hamlet.
O Hamlet, thou hast cleft my heart in twain.
[_Exit Hamlet dragging out Polonius._]
What, Gertrude? How does Hamlet?
Hamlet in madness hath Polonius slain,
Enter Hamlet.
[_Within._] Hamlet! Lord Hamlet!
What noise? Who calls on Hamlet? O, here they come.
Enter Hamlet and Guildenstern.
Now, Hamlet, wheres Polonius?
Hamlet, this deed, for thine especial safety,—
Ay, Hamlet.
Thy loving father, Hamlet.
The present death of Hamlet. Do it, England;
Enter Hamlet, Rosencrantz, Guildenstern &c.
[_Exeunt all but Hamlet._]
I should be greeted, if not from Lord Hamlet.
Letters, my lord, from Hamlet.
From Hamlet! Who brought them?
Tis Hamlets character. Naked!
And that in Hamlets hearing, for a quality
Did Hamlet so envenom with his envy
Hamlet comes back: what would you undertake
Hamlet returnd shall know you are come home:
Enter Hamlet and Horatio, at a distance.
Hamlet oercame Fortinbras.
that young Hamlet was born,—he that is mad, and sent into England.
I hopd thou shouldst have been my Hamlets wife;
Hamlet the Dane.
Hamlet! Hamlet!
Enter Hamlet and Horatio.
[_Hamlet moves him to put on his hat._]
Come, Hamlet, come, and take this hand from me.
[_The King puts Laertess hand into Hamlets._]
Wast Hamlet wrongd Laertes? Never Hamlet.
If Hamlet from himself be taen away,
Then Hamlet does it not, Hamlet denies it.
Hamlet is of the faction that is wrongd;
His madness is poor Hamlets enemy.
Give them the foils, young Osric. Cousin Hamlet,
If Hamlet give the first or second hit,
The King shall drink to Hamlets better breath,
Now the King drinks to Hamlet. Come, begin.
Stay, give me drink. Hamlet, this pearl is thine;
Here, Hamlet, take my napkin, rub thy brows.
The Queen carouses to thy fortune, Hamlet.
[_Laertes wounds Hamlet; then, in scuffling, they change rapiers, and
Hamlet wounds Laertes._]
No, no, the drink, the drink! O my dear Hamlet!
It is here, Hamlet. Hamlet, thou art slain.
Exchange forgiveness with me, noble Hamlet.
Bear Hamlet like a soldier to the stage,

0
TaskB01/shakespeare.res Normal file
View File

2
TaskB01/simple.out Normal file
View File

@ -0,0 +1,2 @@
Here comes Hamlet
Hamlet Hamlet again

0
TaskB01/simple.res Normal file
View File

View File

@ -0,0 +1,13 @@
Pies ten pochodzi z południowych Chin, z terenów prowincji Guangdong. Został rozpropagowany i hodowany w celach wystawowych przez hodowców w USA. Nazwa psa, pochodząca z chińskiego "shā pí" (沙皮), oznacza dosłownie "piaszczysta skóra".
Chart polski polska rasa psa myśliwskiego, znana prawdopodobnie od czasów Galla Anonima, zaliczana do grupy chartów. Dawniej użytkowana była przede wszystkim do polowań, obecnie jako pies reprezentacyjny.
Smukły pies o wąskim pysku. Chart polski jest wyraźnie mocniejszy i nie tak finezyjny w kształtach jak inne charty. Jest najwyższą z polskich ras.
Chart polski to pies silny, wytrzymały, o dobrze zbalansowanym ciele i proporcjach (wpisany jest w prostokąt oparty na dłuższym boku) pozwalających nie tylko na szybki galop, ale i na pokonywanie dużych odległości wyciągniętym kłusem. Jest psem o okrywie włosowej dobrze chroniącej go przed zimnem, wilgocią i wiatrem.
Pies wymagający sporej dawki codziennego ruchu, stąd jest idealnym towarzyszem dla ludzi uprawiających jeździectwo lub jogging.
W filmie występuje pies rasy landseer.
Bohaterami anime jest grupa łowców nagród, podróżująca statkiem kosmicznym o nazwie "Bebop": Spike Spiegel, Faye Valentine, Jet Black, haker Ed oraz genetycznie zmodyfikowany pies Ein.
Tytułowym głównym bohaterem serii jest Lucky Luke - kowboj, najszybszy rewolwerowiec na Dzikim Zachodzie i najgorszy koszmar braci Dalton. Zawsze, gdy planują oni skok na bank lub inne przestępstwo, dzielny stróż prawa staje im na drodze. W jego przygodach towarzyszą mu inteligentny koń Jolly Jumper i pies Bzik (we francuskojęzycznym oryginale: "Rantanplan").
Serial w krzywym zwierciadle przedstawia życie typowej amerykańskiej rodziny. Jej głową i jedynym żywicielem jest wiecznie sfrustrowany sprzedawca butów, Al Bundy. Kocha swojego starego dodge'a, wolny czas spędza siedząc na kanapie, oglądając telewizję i pijąc piwo lub na posiedzeniach w toalecie. Jego małżonką jest Peggy, która całymi dniami przesiaduje przed telewizorem, oglądając "The Oprah Winfrey Show", i The Phil Donahue Show zajadając się popcornem i czekoladkami, paląc przy tym papierosa za papierosem. O jej podejściu do typowo domowych zajęć świadczą zadawane przez nią pytania, np. o odkurzacz "Jak się nazywa to coś, co ciągniesz po dywanie, a ono buczy?" Tytułowymi dziećmi są nastoletni Bud oraz Kelly, którzy nie przepadają za sobą i nie przepuszczą żadnej okazji, aby sobie dokuczyć czy donieść na siebie. Kelly i Bud dojrzewają w trakcie trwania serialu, przez co trochę się zmieniają: Bud z wrednego kilkunastolatka przeistacza się w nastoletniego macho, którego nie chce żadna dziewczyna, a Kelly z każdą serią staje się coraz mniej inteligentna. Wiecznie niedocenianym członkiem rodziny jest pies Buck, który jednak żyje swoim życiem i sam troszczy się o siebie. W trakcie wszystkich dziesięciu lat trwania serialu Bundym towarzyszy dwójka sąsiadów: Marcy, najpierw ze swoim pierwszym mężem, Steve'em Rhoadesem, a następnie z Jeffersonem d'Arcym. Marcy lubi przebywać z Peggy, jest za to na bakier z Alem, natomiast Al utrzymuje dobre stosunki z mężami Marcy, szczególnie Jeffersonem Steve raczej nie darzył Bundych tak bezwzględną sympatią.
Buck (prawdziwe imię Michael; trener Steven Ritt) to pies rodziny Bundych, Briard. Głosu użycza mu Kevin Curran, a w odcinkach specjalnych Cheech Marin. Zdechł w wieku dwunastu lat (w 1996 roku Michael przeszedł na emeryturę, zdechł dziewięć miesięcy po tym, jak Bucka uśmiercono w serialu).
Lucky to drugi pies rodziny Bundych, spaniel, reinkarnacja Bucka.
20 stycznia 1974 r. o godz. 10.40 w Dolinie Mięguszowieckiej wydarzyła się największa jak do owej pory katastrofa lawinowa w Tatrach. Żlebem spod Przełęczy nad Skokiem w Grani Baszt zeszła potężna lawina, która przewaliła się przez Mięguszowiecki Potok i wdarła 140 m na przeciwległy stok, wspinając się na niego z rozpędu aż 44 m w górę. Na stoku tym, na śnieżnym pólku trenowali z instruktorem uczestnicy kursu narciarskiego ze słowackiego Technikum Budowlanego. Lawina przysypała 24 z nich. Dzięki błyskawicznej akcji ratunkowej (było to tylko 400 m od schroniska nad Popradzkim Stawem) udało się odgrzebać spod śniegu 11 płycej przywalonych. W ciągu następnych godzin i kilku dni liczne zespoły ratunkowe (z pomocą przyszło również wojsko) odgrzebały ciała 10 uczestników kursu; wśród nich nauczyciela z 12-letnim synem. Pies wskazał miejsce, gdzie po 5 godzinach od zejścia lawiny wydobyto żywego 18-latka przywalonego metrową warstwą śniegu. Ciała dwóch uczniów udało się znaleźć dopiero wiosną po stopieniu się śniegu.
Początkowo Morris wykorzystał w swoich komiksach historycznych braci Daltonów Grat, Bill i Emmett, których przedstawił jako bardzo groźnych i inteligentnych przestępców. Niestety po pierwszym spotkaniu z Lucky Luke, zostali aresztowani i skazani w więzieniu na śmierć. Morris żałował potem swojej decyzji i wraz z Gościnnym wprowadził na ich miejsce, czwórkę kuzynów (także) Daltonów Joe, Williama, Jacka i Averelle, którzy byli przeciwieństwem swoich kuzynów. Wiecznie pechowi, gamoniowaci i niezbyt inteligentni. Wkrótce stali się oni najpopularniejszymi postaciami w serii, zaraz po samym Lucky Luke i z czasem dołączył do nich pies Rantanplan. Doczekali się także solowego filmu dystrybuowanego w Polsce pt. "Lucky Luke" (oryg. "Les Dalton").

View File

3
TaskB02/report.txt Normal file
View File

@ -0,0 +1,3 @@
1..2
ok 1 TaskB02/polish_wiki_excerpt
ok 2 TaskB02/simple

3
TaskB02/simple.out Normal file
View File

@ -0,0 +1,3 @@
Pies ma Alę
Kot i pies to zwierzęta
pies

0
TaskB02/simple.res Normal file
View File

File diff suppressed because one or more lines are too long

View File

3
TaskB03/report.txt Normal file
View File

@ -0,0 +1,3 @@
1..2
ok 1 TaskB03/polish_wiki_excerpt
ok 2 TaskB03/simple

3
TaskB03/simple.out Normal file
View File

@ -0,0 +1,3 @@
Kiedyś był 1934 r.
Kiedyś był 1934 r.fsdfsdfsdf
1934 r. to jakaś data

0
TaskB03/simple.res Normal file
View File

File diff suppressed because it is too large Load Diff

View File

3
TaskB04/report.txt Normal file
View File

@ -0,0 +1,3 @@
1..2
ok 1 TaskB04/polish_wiki_excerpt
ok 2 TaskB04/simple

4
TaskB04/simple.out Normal file
View File

@ -0,0 +1,4 @@
34234 34 5
34535
34
1992 1999

0
TaskB04/simple.res Normal file
View File

2
TaskC06/report.txt Normal file
View File

@ -0,0 +1,2 @@
1..1
ok 1 TaskC06/test

10
TaskC06/test.out Normal file
View File

@ -0,0 +1,10 @@
no
no
yes
yes
yes
yes
no
no
yes
yes

0
TaskC06/test.res Normal file
View File

2
TaskC18/report.txt Normal file
View File

@ -0,0 +1,2 @@
1..1
ok 1 TaskC18/test

8
TaskC18/test.out Normal file
View File

@ -0,0 +1,8 @@
yes
no
yes
no
yes
yes
yes
no

0
TaskC18/test.res Normal file
View File

2
TaskC38/report.txt Normal file
View File

@ -0,0 +1,2 @@
1..1
ok 1 TaskC38/test

7
TaskC38/test.out Normal file
View File

@ -0,0 +1,7 @@
11
<NONE>
<NONE>
<NONE>
34
<NONE>
7

0
TaskC38/test.res Normal file
View File

2
TaskC46/report.txt Normal file
View File

@ -0,0 +1,2 @@
1..1
ok 1 TaskC46/test

13
TaskC46/test.out Normal file
View File

@ -0,0 +1,13 @@
w--www
Plik.txt
<NONE>
tuxracer
<NONE>
stronka.html
<NONE>
<NONE>
<NONE>
<NONE>
bla.txt
<NONE>
<NONE>

0
TaskC46/test.res Normal file
View File

File diff suppressed because one or more lines are too long

View File

3
TaskD00/report.txt Normal file
View File

@ -0,0 +1,3 @@
1..2
ok 1 TaskD00/polish_wiki_excerpt
ok 2 TaskD00/simple

3
TaskD00/simple.out Normal file
View File

@ -0,0 +1,3 @@
dece 34 dfd gfd 5
f33sdfsdbcdedsfsdf
3r

0
TaskD00/simple.res Normal file
View File

File diff suppressed because one or more lines are too long

View File

3
TaskD01/report.txt Normal file
View File

@ -0,0 +1,3 @@
1..2
ok 1 TaskD01/polish_wiki_excerpt
ok 2 TaskD01/simple

3
TaskD01/simple.out Normal file
View File

@ -0,0 +1,3 @@
ala mA KOTa
lallaa
żUK

0
TaskD01/simple.res Normal file
View File

File diff suppressed because it is too large Load Diff

View File

3
TaskD02/report.txt Normal file
View File

@ -0,0 +1,3 @@
1..2
ok 1 TaskD02/polish_wiki_excerpt
ok 2 TaskD02/simple

3
TaskD02/simple.out Normal file
View File

@ -0,0 +1,3 @@
7 2 0 2
6 0 0 0
6 1 1 2

0
TaskD02/simple.res Normal file
View File

File diff suppressed because it is too large Load Diff

View File

3
TaskD03/report.txt Normal file
View File

@ -0,0 +1,3 @@
1..2
ok 1 TaskD03/polish_wiki_excerpt
ok 2 TaskD03/simple

2
TaskD03/simple.out Normal file
View File

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

0
TaskD03/simple.res Normal file
View File

File diff suppressed because one or more lines are too long

View File

3
TaskD04/report.txt Normal file
View File

@ -0,0 +1,3 @@
1..2
ok 1 TaskD04/polish_wiki_excerpt
ok 2 TaskD04/simple

3
TaskD04/simple.out Normal file
View File

@ -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.

0
TaskD04/simple.res Normal file
View File

File diff suppressed because one or more lines are too long

View File

3
TaskD05/report.txt Normal file
View File

@ -0,0 +1,3 @@
1..2
ok 1 TaskD05/polish_wiki_excerpt
ok 2 TaskD05/simple

2
TaskD05/simple.out Normal file
View File

@ -0,0 +1,2 @@
Mam 2 xxxxxx i 35 banananów.
Widziałem 2 xxxxxxx.

0
TaskD05/simple.res Normal file
View File

2
TaskE00/report.txt Normal file
View File

@ -0,0 +1,2 @@
1..1
ok 1 TaskE00/test1

9
TaskE00/test1.out Normal file
View File

@ -0,0 +1,9 @@
NO
YES
NO
NO
NO
NO
NO
NO
NO

0
TaskE00/test1.res Normal file
View File

74
TaskE02/E02.py Normal file
View File

@ -0,0 +1,74 @@
import sys
class DFA:
current_state = None
def __init__(self, states, alphabet, transition_function, start_state, accept_states):
self.states = states
self.alphabet = alphabet
self.transition_function = transition_function
self.start_state = start_state
self.accept_states = accept_states
self.current_state = start_state
return
def transition_to_state_with_input(self, input_value):
if ((self.current_state, input_value) not in self.transition_function.keys()):
self.current_state = None
return
self.current_state = self.transition_function[(self.current_state, input_value)];
return
def in_accept_state(self):
return self.current_state in accept_states
def go_to_initial_state(self):
self.current_state = self.start_state
return
def run_with_input_list(self, input_list):
self.go_to_initial_state()
for inp in input_list:
self.transition_to_state_with_input(inp)
continue
return self.in_accept_state()
def accept(self, data):
exit = {7: 'END'}
state = 0
for letter in data:
if (state, letter) in self.transition_function:
state = self.transition_function[state, letter]
if state in exit:
return True
else:
state = 0
return False
pass
states = [1, 2, 3, 4, 5, 6, 7]
alphabet = ['1', '2', '3', '4', '5', '6', '7', '8', '9', ' ', '.', 'r']
start_state = 0
accept_states = [7]
tf = dict()
tf[(0, 'O')] = 1;
tf[(1, 'p')] = 2;
tf[(2, 'h')] = 3;
tf[(3, 'e')] = 4;
tf[(4, 'l')] = 5;
tf[(5, 'i')] = 6;
tf[(6, 'a')] = 7;
d = DFA(states, alphabet, tf, start_state, accept_states)
for line in sys.stdin:
inp_program = list(line.rstrip("\n"))
if d.accept(inp_program):
print("YES")
else:
print("NO")

0
TaskE02/Makefile Normal file
View File

2
TaskE02/report.txt Normal file
View File

@ -0,0 +1,2 @@
1..1
ok 1 TaskE02/shakespeare

2
TaskE02/run Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
python3 TaskE02/E02.py "$@"

169442
TaskE02/shakespeare.out Normal file

File diff suppressed because it is too large Load Diff

0
TaskE02/shakespeare.res Normal file
View File

73
TaskE03/E03.py Normal file
View File

@ -0,0 +1,73 @@
import sys
class DFA:
current_state = None
def __init__(self, states, alphabet, transition_function, start_state, accept_states):
self.states = states
self.alphabet = alphabet
self.transition_function = transition_function
self.start_state = start_state
self.accept_states = accept_states
self.current_state = start_state
return
def transition_to_state_with_input(self, input_value):
if ((self.current_state, input_value) not in self.transition_function.keys()):
self.current_state = None
return
self.current_state = self.transition_function[(self.current_state, input_value)];
return
def in_accept_state(self):
return self.current_state in accept_states
def go_to_initial_state(self):
self.current_state = self.start_state
return
def run_with_input_list(self, input_list):
self.go_to_initial_state()
for inp in input_list:
self.transition_to_state_with_input(inp)
continue
return self.in_accept_state()
def accept(self, data):
exit = {6: 'END'}
state = 0
for letter in data:
if (state, letter) in self.transition_function:
state = self.transition_function[state, letter]
if state in exit:
return True
else:
state = 0
return False
pass
states = [1, 2, 3, 4, 5, 6, 7]
alphabet = ['1', '2', '3', '4', '5', '6', '7', '8', '9', ' ', '.', 'r']
start_state = 0
accept_states = [6]
tf = dict()
tf[(0, 'J')] = 1;
tf[(1, 'u')] = 2;
tf[(2, 'l')] = 3;
tf[(3, 'i')] = 4;
tf[(4, 'e')] = 5;
tf[(5, 't')] = 6;
d = DFA(states, alphabet, tf, start_state, accept_states)
for line in sys.stdin:
inp_program = list(line.rstrip("\n"))
if d.accept(inp_program):
print("YES")
else:
print("NO")

0
TaskE03/Makefile Normal file
View File

2
TaskE03/report.txt Normal file
View File

@ -0,0 +1,2 @@
1..1
ok 1 TaskE03/shakespeare

2
TaskE03/run Executable file
View File

@ -0,0 +1,2 @@
#!/bin/bash
python3 TaskE03/E03.py "$@"

169442
TaskE03/shakespeare.out Normal file

File diff suppressed because it is too large Load Diff

0
TaskE03/shakespeare.res Normal file
View File

File diff suppressed because it is too large Load Diff

View File

2
TaskE05/report.txt Normal file
View File

@ -0,0 +1,2 @@
1..1
ok 1 TaskE05/polish_wiki_excerpt

Some files were not shown because too many files have changed in this diff Show More