diff --git a/TaskC44/description.txt b/TaskC44/description.txt index 5f3ecb3..446139d 100644 --- a/TaskC44/description.txt +++ b/TaskC44/description.txt @@ -17,6 +17,14 @@ przynajmniej 2 liter. Jeśli napis nie spełnia podanych warunków, należy wypisać "". Jeśli napis nie spełnia podanych warunków, należy wypisać "". +For each string, extract the last woman's name from pair first name- last name. +We assume, that woman's first name ends with "a", except first names +"Kosma" and "Jarema". First name and Last name consist of letters +(including polish characters), starts with a capital letter +(including "Ć", "Ł", "Ś", "Ź" i "Ż"). The first name and last name +should consist of at least 2 letters. +If the string doesn't fulfill the condition, you should print "". + UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 5 z resztą 4. diff --git a/TaskC45/description.txt b/TaskC45/description.txt index a893753..d382a27 100644 --- a/TaskC45/description.txt +++ b/TaskC45/description.txt @@ -16,6 +16,14 @@ literami "Ć", "Ł", "Ś", "Ź" i "Ż"). Imię i nazwisko powinno składać się przynajmniej 2 liter. Jeśli napis nie spełnia podanych warunków, należy wypisać "". +For each string, extract the man's last name from pair first name- last name. +We assume, that man's first name ends with all letters, but "a", except first names +"Kosma" and "Jarema". First name and Last name consist of letters +(including polish characters), starts with a capital letter +(including "Ć", "Ł", "Ś", "Ź" i "Ż"). The first name and last name +should consist of at least 2 letters. +If the string doesn't fulfill the condition, you should print "". + UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 5 z resztą 0. diff --git a/TaskC46/description.txt b/TaskC46/description.txt index 746cdda..6a58f2c 100644 --- a/TaskC46/description.txt +++ b/TaskC46/description.txt @@ -17,6 +17,15 @@ się mieszać. Jako nazwa katalogu i pliku może wystąpić dowolny niepusty ciąg znaków niebędących ukośnikiem ani odwróconym ukośnikiem. Jeśli napis nie spełnia podanych warunków, należy wypisać "". +For each string extract filename from a full path. +You should consider two conventions- (1) Linux (the path starts with +the forward slash, elements are separated by a forward slash), (2)- windows +(the path starts with disk name- capital letter, colon, then +directories separated by a backward slash), conventions can not +mix. The dir name or file name can be any non-empty +sequence of string, which are not forward slash or backward slash. +If the string doesn't fulfill the condition, you should print "". + UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 5 z resztą 1. diff --git a/TaskC47/description.txt b/TaskC47/description.txt index aab6ebc..2878525 100644 --- a/TaskC47/description.txt +++ b/TaskC47/description.txt @@ -14,6 +14,13 @@ Zakładamy, że hashtag to ciąg małych i wielkich liter oraz cyfr wypisać oddzielone średnikami. Jeśli napis nie spełnia podanych warunków, należy wypisać "". +For each string, extract all Twitter hashtags from the string. +We assume, that a hashtag is a sequence of lower case letters, +capital case letters, and digits (can not start with a digit), +starting with the '#' character. You should print hashtags separated by +a comma. +If the string doesn't fulfill the condition, you should print "". + UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 5 z resztą 2. diff --git a/TaskC48/description.txt b/TaskC48/description.txt index c4dee18..c64535f 100644 --- a/TaskC48/description.txt +++ b/TaskC48/description.txt @@ -15,6 +15,13 @@ składać się z przynajmniej 2 znaków. Jeśli napis spełnia tak określony warunek, należy wypisać na standardowym wyjściu 'yes', w przeciwnym razie — 'no'. +For each string, check if the string is a sequence of alternately +occurring lower and capital case letters. The string may start and end +with a lower or capital case letter. You should consider the polish characters. +The string should consist of at least two letters. +If the string fulfills the condition, you should print 'yes' on the +standard output and 'no' otherwise. + UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 5 z resztą 3.