From 7970dbf5ca61814f3515152567754c070dd62b18 Mon Sep 17 00:00:00 2001 From: Jakub Pokrywka Date: Wed, 11 Nov 2020 16:35:47 +0100 Subject: [PATCH 1/9] TackC{0*,1*} descriptions in English --- TaskC00/description.txt | 5 +++++ TaskC01/description.txt | 4 ++++ TaskC02/description.txt | 6 ++++++ TaskC03/description.txt | 5 +++++ TaskC04/description.txt | 5 +++++ TaskC05/description.txt | 6 ++++++ TaskC06/description.txt | 4 ++++ TaskC07/description.txt | 4 ++++ TaskC08/description.txt | 6 ++++++ TaskC09/description.txt | 5 +++++ TaskC10/description.txt | 5 +++++ TaskC11/description.txt | 7 +++++++ TaskC12/description.txt | 6 ++++++ TaskC13/description.txt | 9 +++++++++ TaskC14/description.txt | 6 ++++++ TaskC15/description.txt | 7 +++++++ TaskC16/description.txt | 7 +++++++ TaskC17/description.txt | 6 ++++++ TaskC18/description.txt | 7 +++++++ TaskC19/description.txt | 4 ++++ 20 files changed, 114 insertions(+) diff --git a/TaskC00/description.txt b/TaskC00/description.txt index 785648b..4d4eb46 100644 --- a/TaskC00/description.txt +++ b/TaskC00/description.txt @@ -13,6 +13,11 @@ podzielną przez 5. Napis nie powinien zawierać zer nieznaczących. 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 given string is an integer divisible by 5. +The string should not contain leading zeros. +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 10 z resztą 0. diff --git a/TaskC01/description.txt b/TaskC01/description.txt index 8ade847..00ee614 100644 --- a/TaskC01/description.txt +++ b/TaskC01/description.txt @@ -13,6 +13,10 @@ podzielną przez 25. 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 given string is a positive integer divisible by 25. +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 10 z resztą 1. diff --git a/TaskC02/description.txt b/TaskC02/description.txt index 68eec05..e41f704 100644 --- a/TaskC02/description.txt +++ b/TaskC02/description.txt @@ -13,6 +13,12 @@ cyfry). Jeśli napis nie jest kodem pocztowym, należy wypisać "". Zakładamy, że kod pocztowy składa się z 2 cyfr, minusa i 3 cyfr. Jeśli napis nie spełnia podanych warunków, należy wypisać "". +For each string, extract the postal code of a city (2 first digits). +If the string is not a postal code, you should print "". +We assume that the postal code consists of 2 digits, minus character, and 3 digits. +If the string doesn't fulfill the condition, you should print "". + + UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 10 z resztą 2. diff --git a/TaskC03/description.txt b/TaskC03/description.txt index 2658fb2..fa48d31 100644 --- a/TaskC03/description.txt +++ b/TaskC03/description.txt @@ -14,6 +14,11 @@ kontrolnej. 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 NIP number written in +xxx-xxx-xx-xx bądź xxx-xx-xx-xxx format. You don't need to consider a checksum. +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 10 z resztą 3. diff --git a/TaskC04/description.txt b/TaskC04/description.txt index 36eb6bf..861c14c 100644 --- a/TaskC04/description.txt +++ b/TaskC04/description.txt @@ -14,6 +14,11 @@ sie od kombinacji "555". Jeśli napis spełnia tak określony warunek, należy wypisać na standardowym wyjściu 'yes', w przeciwnym razie — 'no'. +For each string, you should check, if the string is a 9-digit phone number +written in "NNN-NNN-NNN" or "NNN NNN NNN" format, which starts with "555". +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 10 z resztą 4. diff --git a/TaskC05/description.txt b/TaskC05/description.txt index aa3302d..2a3aacb 100644 --- a/TaskC05/description.txt +++ b/TaskC05/description.txt @@ -14,6 +14,12 @@ uwzględnić akronimy "PCMCIA" i "WYSIWYG". 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 an acronym (sequence +of at least 2 and at most 5 capital letters. +Additionally, you should include acronyms "PCMCIA" i "WYSIWYG". +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 10 z resztą 5. diff --git a/TaskC06/description.txt b/TaskC06/description.txt index e1c02d2..d1e9719 100644 --- a/TaskC06/description.txt +++ b/TaskC06/description.txt @@ -13,6 +13,10 @@ bądź sześciocyfrową. Liczba nie powinna zawierać zer nieznaczących. 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 given string represents +5 or 6 digits number. The number should not contain leading zeros. +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 10 z resztą 6. diff --git a/TaskC07/description.txt b/TaskC07/description.txt index c065269..1d6628a 100644 --- a/TaskC07/description.txt +++ b/TaskC07/description.txt @@ -13,6 +13,10 @@ Dla każdego napisu należy sprawdzić, czy napis składa się z samych gwiazdek 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 given string consists of only asterisks (at least one). +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 10 z resztą 7. diff --git a/TaskC08/description.txt b/TaskC08/description.txt index eb20d64..8ecc300 100644 --- a/TaskC08/description.txt +++ b/TaskC08/description.txt @@ -14,6 +14,12 @@ wykrzyknikó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 given string consists of a sequence +"hi" repeated at least 2 times followed by optional sequences of +exclamation marks. +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 10 z resztą 8. diff --git a/TaskC09/description.txt b/TaskC09/description.txt index cc3b4fe..dbc4878 100644 --- a/TaskC09/description.txt +++ b/TaskC09/description.txt @@ -13,6 +13,11 @@ się z wielkiej litery i dwóch cyfr. 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 given string contains a substring +consisting of the capital letter and two digits. +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 10 z resztą 9. diff --git a/TaskC10/description.txt b/TaskC10/description.txt index 1032ca4..41f1e22 100644 --- a/TaskC10/description.txt +++ b/TaskC10/description.txt @@ -14,6 +14,11 @@ nieznaczących. 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 given string is a power of 2 written in the hexadecimal system. +The number should not contain leading zeros. +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 27 z resztą 10. diff --git a/TaskC11/description.txt b/TaskC11/description.txt index 312d328..08ce15a 100644 --- a/TaskC11/description.txt +++ b/TaskC11/description.txt @@ -15,6 +15,13 @@ wielkie litery. Liczba nie powinna zawierać zer nieznaczących. 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 given string (written in hexadecimal +or decimal system) is divisible by 4. A hexadecimal number +is prefixed by "0x" and hexadecimal letters are capital letters. +The number should not contain leading zeros. +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 27 z resztą 11. diff --git a/TaskC12/description.txt b/TaskC12/description.txt index 8fd9da2..2f261fe 100644 --- a/TaskC12/description.txt +++ b/TaskC12/description.txt @@ -14,6 +14,12 @@ telefonu 1-500-56773-4323. 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 given string is a phone number +wirtten in N-NNN-NNNNN-NNNN format (N is any digit), other than +1-500-56773-4323 phone number. +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 27 z resztą 12. diff --git a/TaskC13/description.txt b/TaskC13/description.txt index bc1df4d..35ff7e5 100644 --- a/TaskC13/description.txt +++ b/TaskC13/description.txt @@ -16,6 +16,15 @@ cyfry w telefonie ("ABC" - 2, "DEF" - 3 itd.) 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 given string consists of +5 capital letters and 4 capital letter separated by space, +which written in old cellphone keyboard shows another number than typing +"HORSE HEAD". We assume standard old cellphone keyboard mapping +("ABC" - 2, "DEF" - 3 etc.) +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 27 z resztą 13. diff --git a/TaskC14/description.txt b/TaskC14/description.txt index 572e4c9..2caa4f4 100644 --- a/TaskC14/description.txt +++ b/TaskC14/description.txt @@ -14,6 +14,12 @@ niezaczynającym sie od kombinacji "555". 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 given number is 9 digit phone +number written in "NNN-NNN-NNN" or "NNN NNN NNN" format, +which does not start with "555" +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 27 z resztą 14. diff --git a/TaskC15/description.txt b/TaskC15/description.txt index 5c35db8..fd05e1c 100644 --- a/TaskC15/description.txt +++ b/TaskC15/description.txt @@ -15,6 +15,13 @@ zwycięskiej drużyny wynosi 11. 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 given string stands for +a soccer match result (two numbers separated by colon or minus character). +The first number should be greater than the second. +The maximum number of leading team is 11. +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 27 z resztą 15. diff --git a/TaskC16/description.txt b/TaskC16/description.txt index 6767352..873232e 100644 --- a/TaskC16/description.txt +++ b/TaskC16/description.txt @@ -16,6 +16,13 @@ arytmetyczne i równości mogą być otoczone przez spacje. 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 given string stands for "A @ B = C" equation, +where A, B, C are positive integers (no leading zeros) or "x" variable (only +one "x" in the queation). "@" is of on '+', '-', '*', '/' operators. +Arithmetic operators may be separated by spaces. +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 27 z resztą 16. diff --git a/TaskC17/description.txt b/TaskC17/description.txt index 6cd59df..0cae8f0 100644 --- a/TaskC17/description.txt +++ b/TaskC17/description.txt @@ -15,6 +15,12 @@ literami). 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 verb ending with "ować". +You should include all forms, but a participle. The string should +be a sequence of lower case letters (including polish 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 27 z resztą 17. diff --git a/TaskC18/description.txt b/TaskC18/description.txt index fb5d14e..4032b68 100644 --- a/TaskC18/description.txt +++ b/TaskC18/description.txt @@ -16,6 +16,13 @@ rozdziałach). 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 Evangel line number +(like "Mt 17, 3"). Evangel abbreviations - "Mt", "Mk", "Łk", "J", +paragraphs numbers correspondingly 28, 16, 24, 22. Verset name is 1-99. +You don't need to check if there are such versets in the real Evangel. +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 27 z resztą 18. diff --git a/TaskC19/description.txt b/TaskC19/description.txt index 662c321..f90e045 100644 --- a/TaskC19/description.txt +++ b/TaskC19/description.txt @@ -13,6 +13,10 @@ Dla każdego napisu należy sprawdzić, czy zadany napis jest potęgą liczby 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 given string is the power of 100. +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 27 z resztą 19. From 17f6b411aa00e82d77e79fc2ea6b5a3444bf4c85 Mon Sep 17 00:00:00 2001 From: Jakub Pokrywka Date: Wed, 11 Nov 2020 18:12:25 +0100 Subject: [PATCH 2/9] translate C20-43 descriptions to English --- TaskC20/description.txt | 5 +++++ TaskC21/description.txt | 6 ++++++ TaskC22/description.txt | 4 ++++ TaskC23/description.txt | 5 +++++ TaskC24/description.txt | 7 +++++++ TaskC25/description.txt | 6 ++++++ TaskC26/description.txt | 6 ++++++ TaskC27/description.txt | 6 ++++++ TaskC28/description.txt | 6 ++++++ TaskC29/description.txt | 5 +++++ TaskC30/description.txt | 5 +++++ TaskC31/description.txt | 5 +++++ TaskC32/description.txt | 6 ++++++ TaskC33/description.txt | 5 +++++ TaskC34/description.txt | 6 ++++++ TaskC35/description.txt | 6 ++++++ TaskC36/description.txt | 4 ++++ TaskC37/description.txt | 6 ++++++ TaskC38/description.txt | 8 ++++++++ TaskC39/description.txt | 5 +++++ TaskC40/description.txt | 7 +++++++ TaskC41/description.txt | 5 +++++ TaskC42/description.txt | 6 ++++++ TaskC43/description.txt | 9 +++++++++ 24 files changed, 139 insertions(+) diff --git a/TaskC20/description.txt b/TaskC20/description.txt index 0895ddd..116d174 100644 --- a/TaskC20/description.txt +++ b/TaskC20/description.txt @@ -14,6 +14,11 @@ poprzedzonych zerem, po których następuje spacja i 7 cyfr w formacie N-NNN-NNN. Jeśli napis nie spełnia podanych warunków, należy wypisać "". +For each string, extract a phone number. We assume, that the phone +number consists of two digits (optionally prefixed by zero), followed +by space and 7 digits in N-NNN-NNN format. If the string does +not fulfill the condition, print "". + UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 20. diff --git a/TaskC21/description.txt b/TaskC21/description.txt index e8b325b..e1bb103 100644 --- a/TaskC21/description.txt +++ b/TaskC21/description.txt @@ -16,6 +16,12 @@ telefonie ("ABC" - 2, "DEF" - 3 itd.) 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 consists of 5 capital letters +and 4 lower case letter separated by space, which written on +an old cell phone keyboard gives the same number as typing "HORSE HEAD". +We assume standard old phone keyboard mapping ("ABC" - 2, "DEF" - 3, etc.) +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 27 z resztą 21. diff --git a/TaskC22/description.txt b/TaskC22/description.txt index b0e5680..27976f3 100644 --- a/TaskC22/description.txt +++ b/TaskC22/description.txt @@ -14,6 +14,10 @@ liczba bramek wynosi 10. 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 stands for a soccer match result +(two numbers separated by a colon). The Maximum (sum of two teams) number of goals is 10. +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 27 z resztą 22. diff --git a/TaskC23/description.txt b/TaskC23/description.txt index 715bd63..bb5c46c 100644 --- a/TaskC23/description.txt +++ b/TaskC23/description.txt @@ -13,6 +13,11 @@ tzn. jest postaci typu "45 lat". Maksymalny wiek - 99 lat. 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 stands for human age (is in +form of "45 lat"). The maximum age is 99 years. +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 27 z resztą 23. diff --git a/TaskC24/description.txt b/TaskC24/description.txt index fe7ebbf..a021d2b 100644 --- a/TaskC24/description.txt +++ b/TaskC24/description.txt @@ -15,6 +15,13 @@ kończyć się na "a". 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 stands for the first name and last name +of a man. First name and last name are at least two character string +starting with the capital letter, followed by lower case letter. +Additionally, the First name can not finish with "a". +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 27 z resztą 24. diff --git a/TaskC25/description.txt b/TaskC25/description.txt index e67e016..5d09d14 100644 --- a/TaskC25/description.txt +++ b/TaskC25/description.txt @@ -15,6 +15,12 @@ się na "a". 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 stands for the first name and last name +of a woman. First name and last name are at least two character string +starting with the capital letter, followed by lower case letter. +Additionally, the First name must finish with "a". +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 27 z resztą 25. diff --git a/TaskC26/description.txt b/TaskC26/description.txt index eba9a0d..7959d36 100644 --- a/TaskC26/description.txt +++ b/TaskC26/description.txt @@ -14,6 +14,12 @@ mogą opcjonalnie zaczynać się plusem. 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 an integer. +The number should not contain leading zeros. Positive numbers +can optionally start with a plus character. +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 27 z resztą 26. diff --git a/TaskC27/description.txt b/TaskC27/description.txt index 4e7ae14..4726fbd 100644 --- a/TaskC27/description.txt +++ b/TaskC27/description.txt @@ -14,6 +14,12 @@ nieznaczących. 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 given string stands for +non-negative integer lower than 143. The number should not +contain leading zeros. +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 27 z resztą 0. diff --git a/TaskC28/description.txt b/TaskC28/description.txt index 9be9278..11facf9 100644 --- a/TaskC28/description.txt +++ b/TaskC28/description.txt @@ -14,6 +14,12 @@ kropkami. Każdy człon to ciąg małych liter. 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 stands for a domain name. +We assume, that the domain names consist of 2 or 3 digits +separated by dots. Every element is a sequence of lower case 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 27 z resztą 1. diff --git a/TaskC29/description.txt b/TaskC29/description.txt index bcff878..27c54dd 100644 --- a/TaskC29/description.txt +++ b/TaskC29/description.txt @@ -13,6 +13,11 @@ Dla każdego napisu należy sprawdzić, czy napis jest identyfikatorem 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 an id (sequence of letters, digits +and underscores starting with a digit). +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 27 z resztą 2. diff --git a/TaskC30/description.txt b/TaskC30/description.txt index ab61f63..53ee0e6 100644 --- a/TaskC30/description.txt +++ b/TaskC30/description.txt @@ -13,6 +13,11 @@ zakresu od -49 do 49. Liczba nie powinna zawierać zer nieznaczących. 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 an integer from -49 to 49. +The integer should not contain leading zeros. +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 27 z resztą 3. diff --git a/TaskC31/description.txt b/TaskC31/description.txt index 9fe70a4..0d74a3e 100644 --- a/TaskC31/description.txt +++ b/TaskC31/description.txt @@ -14,6 +14,11 @@ dokładnie jedną samogłoskę. Należy uwzględnić małe litery alfabetu 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 an expression containing +exactly one vowel. You should consider lower case Latin alphabet 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 27 z resztą 4. diff --git a/TaskC32/description.txt b/TaskC32/description.txt index c604222..98a3b52 100644 --- a/TaskC32/description.txt +++ b/TaskC32/description.txt @@ -14,6 +14,12 @@ nieznaczących). 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 stands for an amount of dollar, +starting with a dollar character followed by a positive integer +(with no leading zeros). +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 27 z resztą 5. diff --git a/TaskC33/description.txt b/TaskC33/description.txt index 9cb073b..931c43c 100644 --- a/TaskC33/description.txt +++ b/TaskC33/description.txt @@ -14,6 +14,11 @@ obie litery równocześnie. 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 non-empty sequence of letters +A, G, C, T, U. In one sequence, there can be T or U, but not bout simultaneously. +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 27 z resztą 6. diff --git a/TaskC34/description.txt b/TaskC34/description.txt index 43403cb..3692420 100644 --- a/TaskC34/description.txt +++ b/TaskC34/description.txt @@ -14,6 +14,12 @@ muszą wystąpić przynajmniej 3 razy. Jeśli napis spełnia tak określony warunek, należy wypisać na standardowym wyjściu 'yes', w przeciwnym razie — 'no'. +For each string, if the string is "hmmm....." - 'm' occurs +two times or more. Dots are optional, but if occur, they must +occur at least 3 times. +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 27 z resztą 7. diff --git a/TaskC35/description.txt b/TaskC35/description.txt index 8cea7e6..c52eb77 100644 --- a/TaskC35/description.txt +++ b/TaskC35/description.txt @@ -14,6 +14,12 @@ opcjonalny ciąg wykrzyknikó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 singing, this is +sequence of syllables "li", "la", "lo" (at least 2), followed +by an optional sequence of exclamation marks. +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 27 z resztą 8. diff --git a/TaskC36/description.txt b/TaskC36/description.txt index 6e14114..8cac3f6 100644 --- a/TaskC36/description.txt +++ b/TaskC36/description.txt @@ -13,6 +13,10 @@ godzinę w formacie typu "9:13", "18:44" wyciąga minuty. Funkcja powinna zwracać napis "", jeśli podany napis nie jest godziną. Jeśli napis nie spełnia podanych warunków, należy wypisać "". +For each string, extract the minutes from the given string represented +by time in "9:13", "18:44" format. The function should return "" +string, if the string is not a time. + UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 9. diff --git a/TaskC37/description.txt b/TaskC37/description.txt index e93ce54..f73d169 100644 --- a/TaskC37/description.txt +++ b/TaskC37/description.txt @@ -14,6 +14,12 @@ lub plusem. Pozostała część numeru to 7 cyfr zapisanych w postaci N-NNN-NNN bądź NNN-NN-NN. Jeśli napis nie spełnia podanych warunków, należy wypisać "". +For each string, extract an area code from the phone number. +We assume, that the phone number is two digits, is preceded by zero or plus. +The rest of the phone number is 7 digits written in N-NNN-NNN +or NNN-NN-NN form. +If the string does not fulfill the condition, you should print "". + UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 7 z resztą 2. diff --git a/TaskC38/description.txt b/TaskC38/description.txt index 0cddecc..470b659 100644 --- a/TaskC38/description.txt +++ b/TaskC38/description.txt @@ -15,6 +15,14 @@ napisem " m. "). Nazwa ulicy składa się z co najmniej 2 liter (łącznie z polskimi znakami), zaczyna się wielką literą. Jeśli napis nie spełnia podanych warunków, należy wypisać "". +For each string, you should extract the building number from the address. +We assume, that the address consists of the abbreviation "ul.", "os.' or "al." +street name, building name, and an optional number of apartment number +(separated from building number by a slash or " m. ". The street number +consists of at least 2 letters (including polish letters), starting with +the capital letter. +If the string does not fulfill the condition, you should print "". + UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 7 z resztą 3. diff --git a/TaskC39/description.txt b/TaskC39/description.txt index ef21ed0..f685962 100644 --- a/TaskC39/description.txt +++ b/TaskC39/description.txt @@ -13,6 +13,11 @@ przy czym zakładamy, że kod PIN może zawierać co najwyżej jedno zero. 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 6 digit PIN number. +We assume that the PIN number can contain at most one zero. +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 7 z resztą 4. diff --git a/TaskC40/description.txt b/TaskC40/description.txt index 037d163..bd0c557 100644 --- a/TaskC40/description.txt +++ b/TaskC40/description.txt @@ -14,6 +14,13 @@ tzn. jest postaci typu "45 lat", przy czym dla pierwszych lat wyjątkowo - 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 an age of human, +this is the form of "45 lat". For the first years, exceptionally - +"1 roczek", "2 latka", "3 latka", "4 latka". The maximum age is 110 years. +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 7 z resztą 5. diff --git a/TaskC41/description.txt b/TaskC41/description.txt index 79384bd..8008078 100644 --- a/TaskC41/description.txt +++ b/TaskC41/description.txt @@ -14,6 +14,11 @@ 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 an age of human, +this is the form of "45 lat". The maximum age is 123 years. +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 7 z resztą 6. diff --git a/TaskC42/description.txt b/TaskC42/description.txt index 909fed8..ef09c50 100644 --- a/TaskC42/description.txt +++ b/TaskC42/description.txt @@ -15,6 +15,12 @@ http://tvtropes.org/pmwiki/pmwiki.php/Main/BigNo 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 "NIE" or "NO", +where "E" or "O" occurs at least 6 times, followed by at least 3 +exclamation marks. Check +http://tvtropes.org/pmwiki/pmwiki.php/Main/BigNo +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 7 z resztą 0. diff --git a/TaskC43/description.txt b/TaskC43/description.txt index de46bf6..964a37f 100644 --- a/TaskC43/description.txt +++ b/TaskC43/description.txt @@ -17,6 +17,15 @@ http://knowyourmeme.com/memes/the-1-phenomenon 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 letters (including polish letters), followed by a sequence +of exclamation marks, instead of which, there may be +"1", "one" or "eleven". In the string, there must be at least +2 exclamation marks, not necessarily next to each other, +at least one "1", "one" or "eleven". Check +http://knowyourmeme.com/memes/the-1-phenomenon +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 7 z resztą 1. From 73ed4f0ecc822c3b0666e51b2c32749d5fcac8fa Mon Sep 17 00:00:00 2001 From: Jakub Pokrywka Date: Thu, 12 Nov 2020 10:18:41 +0100 Subject: [PATCH 3/9] add TaskC44-TaskC48 descriptions --- TaskC44/description.txt | 8 ++++++++ TaskC45/description.txt | 8 ++++++++ TaskC46/description.txt | 9 +++++++++ TaskC47/description.txt | 7 +++++++ TaskC48/description.txt | 7 +++++++ 5 files changed, 39 insertions(+) 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. From ed516ce0df4e61589e80f51b9446aacb6c842042 Mon Sep 17 00:00:00 2001 From: Jakub Pokrywka Date: Thu, 12 Nov 2020 10:46:50 +0100 Subject: [PATCH 4/9] add generic description part --- TaskC00/description.txt | 7 +++++++ TaskC01/description.txt | 7 +++++++ TaskC02/description.txt | 7 +++++++ TaskC03/description.txt | 7 +++++++ TaskC04/description.txt | 7 +++++++ TaskC05/description.txt | 7 +++++++ TaskC06/description.txt | 7 +++++++ TaskC07/description.txt | 7 +++++++ TaskC08/description.txt | 7 +++++++ TaskC09/description.txt | 7 +++++++ TaskC10/description.txt | 7 +++++++ TaskC11/description.txt | 7 +++++++ TaskC12/description.txt | 7 +++++++ TaskC13/description.txt | 7 +++++++ TaskC14/description.txt | 7 +++++++ TaskC15/description.txt | 7 +++++++ TaskC16/description.txt | 7 +++++++ TaskC17/description.txt | 7 +++++++ TaskC18/description.txt | 7 +++++++ TaskC19/description.txt | 7 +++++++ TaskC20/description.txt | 7 +++++++ TaskC21/description.txt | 7 +++++++ TaskC22/description.txt | 7 +++++++ TaskC23/description.txt | 7 +++++++ TaskC24/description.txt | 7 +++++++ TaskC25/description.txt | 7 +++++++ TaskC26/description.txt | 7 +++++++ TaskC27/description.txt | 7 +++++++ TaskC28/description.txt | 7 +++++++ TaskC29/description.txt | 7 +++++++ TaskC30/description.txt | 7 +++++++ TaskC31/description.txt | 7 +++++++ TaskC32/description.txt | 7 +++++++ TaskC33/description.txt | 7 +++++++ TaskC34/description.txt | 7 +++++++ TaskC35/description.txt | 7 +++++++ TaskC36/description.txt | 7 +++++++ TaskC37/description.txt | 7 +++++++ TaskC38/description.txt | 7 +++++++ TaskC39/description.txt | 7 +++++++ TaskC40/description.txt | 7 +++++++ TaskC41/description.txt | 7 +++++++ TaskC42/description.txt | 7 +++++++ TaskC43/description.txt | 7 +++++++ TaskC44/description.txt | 7 +++++++ TaskC45/description.txt | 7 +++++++ TaskC46/description.txt | 7 +++++++ TaskC47/description.txt | 7 +++++++ TaskC48/description.txt | 7 +++++++ 49 files changed, 343 insertions(+) diff --git a/TaskC00/description.txt b/TaskC00/description.txt index 4d4eb46..0e996d8 100644 --- a/TaskC00/description.txt +++ b/TaskC00/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy zadany napis jest liczbą całkowitą podzielną przez 5. Napis nie powinien zawierać zer nieznaczących. Jeśli napis spełnia tak określony warunek, należy wypisać na diff --git a/TaskC01/description.txt b/TaskC01/description.txt index 00ee614..40a7e42 100644 --- a/TaskC01/description.txt +++ b/TaskC01/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy zadany napis jest dodatnią liczbą podzielną przez 25. Jeśli napis spełnia tak określony warunek, należy wypisać na diff --git a/TaskC02/description.txt b/TaskC02/description.txt index e41f704..49a38ac 100644 --- a/TaskC02/description.txt +++ b/TaskC02/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy wydobyć z kodu pocztowego kod miasta (2 pierwsze cyfry). Jeśli napis nie jest kodem pocztowym, należy wypisać "". Zakładamy, że kod pocztowy składa się z 2 cyfr, minusa i 3 cyfr. Jeśli diff --git a/TaskC03/description.txt b/TaskC03/description.txt index fa48d31..5317041 100644 --- a/TaskC03/description.txt +++ b/TaskC03/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis jest numerem NIP zapisanym w formacie xxx-xxx-xx-xx bądź xxx-xx-xx-xxx. Nie trzeba brać pod uwagę sumy kontrolnej. diff --git a/TaskC04/description.txt b/TaskC04/description.txt index 861c14c..6e37b44 100644 --- a/TaskC04/description.txt +++ b/TaskC04/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis jest 9-cyfrowym numerem telefonu zapisanym w formacie "NNN-NNN-NNN" badź "NNN NNN NNN" zaczynającym sie od kombinacji "555". diff --git a/TaskC05/description.txt b/TaskC05/description.txt index 2a3aacb..bfa2240 100644 --- a/TaskC05/description.txt +++ b/TaskC05/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis jest akronimem (ciągiem co najmniej dwóch i co najwyżej pięciu wielkich liter. Dodatkowo należy uwzględnić akronimy "PCMCIA" i "WYSIWYG". diff --git a/TaskC06/description.txt b/TaskC06/description.txt index d1e9719..b9d96f1 100644 --- a/TaskC06/description.txt +++ b/TaskC06/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis reprezentuje liczbę pięcio- bądź sześciocyfrową. Liczba nie powinna zawierać zer nieznaczących. Jeśli napis spełnia tak określony warunek, należy wypisać na diff --git a/TaskC07/description.txt b/TaskC07/description.txt index 1d6628a..d5e1010 100644 --- a/TaskC07/description.txt +++ b/TaskC07/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis składa się z samych gwiazdek (co najmniej jednej). Jeśli napis spełnia tak określony warunek, należy wypisać na diff --git a/TaskC08/description.txt b/TaskC08/description.txt index 8ecc300..24c832f 100644 --- a/TaskC08/description.txt +++ b/TaskC08/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis jest chichotem tzn. "hi" powtórzonym przynajmniej 2 razy, po czym następuje opcjonalny ciąg wykrzykników. diff --git a/TaskC09/description.txt b/TaskC09/description.txt index dbc4878..579ed99 100644 --- a/TaskC09/description.txt +++ b/TaskC09/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis zawiera podciąg składający się z wielkiej litery i dwóch cyfr. Jeśli napis spełnia tak określony warunek, należy wypisać na diff --git a/TaskC10/description.txt b/TaskC10/description.txt index 41f1e22..f4dfb67 100644 --- a/TaskC10/description.txt +++ b/TaskC10/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy zadany napis jest potęgą liczby 2 zapisaną w systemie szesnastkowym. Liczba nie powinna zawierać zer nieznaczących. diff --git a/TaskC11/description.txt b/TaskC11/description.txt index 08ce15a..b4e5821 100644 --- a/TaskC11/description.txt +++ b/TaskC11/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy zadany napis - zapisany dziesiętnie bądź szesnastkowo jest podzielny przez 4. Zapis szesnastkowy jest sygnalizowany przez prefiks "0x", cyfry szesnastkowe zapisywane jako diff --git a/TaskC12/description.txt b/TaskC12/description.txt index 2f261fe..828fb08 100644 --- a/TaskC12/description.txt +++ b/TaskC12/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis jest numerem telefonu zapisanym w formacie N-NNN-NNNNN-NNNN (N to dowolna cyfra), innym niż numer telefonu 1-500-56773-4323. diff --git a/TaskC13/description.txt b/TaskC13/description.txt index 35ff7e5..f22762d 100644 --- a/TaskC13/description.txt +++ b/TaskC13/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis jest napisem złożonym z ciągu 5 wielkich liter i 4 wielkich liter oddzielonych spacją, które wstukane na standardowym telefonie dadzą inny numer niż uzyskane przez diff --git a/TaskC14/description.txt b/TaskC14/description.txt index 2caa4f4..3b3c046 100644 --- a/TaskC14/description.txt +++ b/TaskC14/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis jest 9-cyfrowym numerem telefonu zapisanym w formacie "NNN-NNN-NNN" badź "NNN NNN NNN" niezaczynającym sie od kombinacji "555". diff --git a/TaskC15/description.txt b/TaskC15/description.txt index fd05e1c..5e5bf92 100644 --- a/TaskC15/description.txt +++ b/TaskC15/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis reprezentuje wynik meczu piłkarskiego (dwie liczby oddzielone dwukropkiem bądź minusem), przy czym pierwsza liczba jest większa od drugiej. Maksymalna liczba bramek diff --git a/TaskC16/description.txt b/TaskC16/description.txt index 873232e..4d3f735 100644 --- a/TaskC16/description.txt +++ b/TaskC16/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis reprezentuje proste równanie typu "A @ B = C", gdzie w miejscu A, B, C mogą pojawić się liczby dodatnie (bez nieznaczących zer) bądź zmienna "x" (zmienna "x" - dokładnie jeden raz diff --git a/TaskC17/description.txt b/TaskC17/description.txt index 0cae8f0..44b07d7 100644 --- a/TaskC17/description.txt +++ b/TaskC17/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis jest formą czasownika zakończonego na "ować". Należy uwzględnić wszystkie formy z wyjątkiem imiesłowów. Napis musi być ciągiem małych liter (włącznie z polskimi diff --git a/TaskC18/description.txt b/TaskC18/description.txt index 4032b68..56c17d4 100644 --- a/TaskC18/description.txt +++ b/TaskC18/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis jest oznaczeniem wiersza z Ewangelii (w rodzaju "Mt 17, 3"). Skróty Ewangelii - "Mt", "Mk", "Łk", "J", liczba rozdziałów odpowiednio - 28, 16, 24, 22. Wiersz liczba z zakresu diff --git a/TaskC19/description.txt b/TaskC19/description.txt index f90e045..c103921 100644 --- a/TaskC19/description.txt +++ b/TaskC19/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy zadany napis jest potęgą liczby 100. Jeśli napis spełnia tak określony warunek, należy wypisać na diff --git a/TaskC20/description.txt b/TaskC20/description.txt index 116d174..b01f005 100644 --- a/TaskC20/description.txt +++ b/TaskC20/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy wydobyć zadany napis jest numerem telefonu. Zakładamy, że numer telefonu składa się z dwóch cyfr opcjonalnie poprzedzonych zerem, po których następuje spacja i 7 cyfr w formacie diff --git a/TaskC21/description.txt b/TaskC21/description.txt index e1bb103..9418b46 100644 --- a/TaskC21/description.txt +++ b/TaskC21/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis jest napisem złożonym z ciągu 5 wielkich liter i 4 wielkich liter oddzielonych spacją, które wstukane na standardowym telefonie dadzą taki sam numer jak przy wstukaniu diff --git a/TaskC22/description.txt b/TaskC22/description.txt index 27976f3..9e9ddad 100644 --- a/TaskC22/description.txt +++ b/TaskC22/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis reprezentuje wynik meczu piłkarskiego (dwie liczby oddzielone dwukropkiem). Maksymalna (sumaryczna) liczba bramek wynosi 10. diff --git a/TaskC23/description.txt b/TaskC23/description.txt index bb5c46c..9f56153 100644 --- a/TaskC23/description.txt +++ b/TaskC23/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis reprezentuje wiek człowieka, tzn. jest postaci typu "45 lat". Maksymalny wiek - 99 lat. Jeśli napis spełnia tak określony warunek, należy wypisać na diff --git a/TaskC24/description.txt b/TaskC24/description.txt index a021d2b..1f2ff95 100644 --- a/TaskC24/description.txt +++ b/TaskC24/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis reprezentuje imię i nazwisko mężczyzny. Imię i nazwisko to przynajmniej dwuliterowy napis zaczynający się wielką literą, po której następują małe litery. Dodatkowo imię nie może diff --git a/TaskC25/description.txt b/TaskC25/description.txt index 5d09d14..227daff 100644 --- a/TaskC25/description.txt +++ b/TaskC25/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis reprezentuje imię i nazwisko kobiety. Imię i nazwisko to przynajmniej dwuliterowy napis zaczynający się wielką literą, po której następują małe litery. Dodatkowo imię musi kończyć diff --git a/TaskC26/description.txt b/TaskC26/description.txt index 7959d36..a991f96 100644 --- a/TaskC26/description.txt +++ b/TaskC26/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis reprezentuje liczbę całkowitą. Liczba nie powinna zawierać zer nieznaczących. Liczby dodatnie mogą opcjonalnie zaczynać się plusem. diff --git a/TaskC27/description.txt b/TaskC27/description.txt index 4726fbd..0f8e64d 100644 --- a/TaskC27/description.txt +++ b/TaskC27/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis reprezentuje liczbę całkowitą nieujemną mniejszą niż 143. Liczba nie powinna zawierać zer nieznaczących. diff --git a/TaskC28/description.txt b/TaskC28/description.txt index 11facf9..c23e2cc 100644 --- a/TaskC28/description.txt +++ b/TaskC28/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis reprezentuje nazwę domenową. Zakładamy, że nazwa domenowa składa się z 2 lub 3 członów oddzielonych kropkami. Każdy człon to ciąg małych liter. diff --git a/TaskC29/description.txt b/TaskC29/description.txt index 27c54dd..f7122ea 100644 --- a/TaskC29/description.txt +++ b/TaskC29/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis jest identyfikatorem (ciągiem liter, cyfr i podkreślników nie zaczynających się cyfrą). Jeśli napis spełnia tak określony warunek, należy wypisać na diff --git a/TaskC30/description.txt b/TaskC30/description.txt index 53ee0e6..20aa730 100644 --- a/TaskC30/description.txt +++ b/TaskC30/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis jest liczbą całkowitą zakresu od -49 do 49. Liczba nie powinna zawierać zer nieznaczących. Jeśli napis spełnia tak określony warunek, należy wypisać na diff --git a/TaskC31/description.txt b/TaskC31/description.txt index 0d74a3e..6073a7c 100644 --- a/TaskC31/description.txt +++ b/TaskC31/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis jest wyrazem zawierającym dokładnie jedną samogłoskę. Należy uwzględnić małe litery alfabetu łacińskiego. diff --git a/TaskC32/description.txt b/TaskC32/description.txt index 98a3b52..a0e4ab8 100644 --- a/TaskC32/description.txt +++ b/TaskC32/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis wyraża sumę w dolarach, tj. zaczyna się znakiem dolara, po którym następuje liczba dodatnia (bez zer nieznaczących). diff --git a/TaskC33/description.txt b/TaskC33/description.txt index 931c43c..69783fd 100644 --- a/TaskC33/description.txt +++ b/TaskC33/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis jest niepustym ciągiem liter A, G, C, T, U, przy czym w jednym ciągu może wystąpić albo T, albo U nie obie litery równocześnie. diff --git a/TaskC34/description.txt b/TaskC34/description.txt index 3692420..b8992a1 100644 --- a/TaskC34/description.txt +++ b/TaskC34/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis to "hmmm....." - 'm' występuje 2 lub więcej razy, kropki są opcjonalne, ale jeśli występują muszą wystąpić przynajmniej 3 razy. diff --git a/TaskC35/description.txt b/TaskC35/description.txt index c52eb77..a20478f 100644 --- a/TaskC35/description.txt +++ b/TaskC35/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis jest śpiewem, tj. jest ciągiem sylab "li", "la", "lo" (co najmniej dwóch), po którym następuje opcjonalny ciąg wykrzykników. diff --git a/TaskC36/description.txt b/TaskC36/description.txt index 8cac3f6..46a3fd1 100644 --- a/TaskC36/description.txt +++ b/TaskC36/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy wydobyć minuty z podanego napisu reprezentującego godzinę w formacie typu "9:13", "18:44" wyciąga minuty. Funkcja powinna zwracać napis "", jeśli podany napis nie jest godziną. Jeśli napis diff --git a/TaskC37/description.txt b/TaskC37/description.txt index f73d169..2b2d2dc 100644 --- a/TaskC37/description.txt +++ b/TaskC37/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy wydobyć numer kierunkowy z numeru telefonu. Zakładamy, że numer kierunkowy jest dwucyfrowy, musi być poprzedzony zerem lub plusem. Pozostała część numeru to 7 cyfr zapisanych w postaci N-NNN-NNN diff --git a/TaskC38/description.txt b/TaskC38/description.txt index 470b659..4bbe013 100644 --- a/TaskC38/description.txt +++ b/TaskC38/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy wydobyć numer domu z adresu. Zakładamy, że adres składa się ze skrótu "ul.", "os." bądź "al.", z nazwy ulicy, numeru domu i opcjonalnego numeru mieszkania (oddzielonego od numeru domu ukośnikiem bądź diff --git a/TaskC39/description.txt b/TaskC39/description.txt index f685962..f2bb712 100644 --- a/TaskC39/description.txt +++ b/TaskC39/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis jest 6-cyfrowym kodem PIN, przy czym zakładamy, że kod PIN może zawierać co najwyżej jedno zero. Jeśli napis spełnia tak określony warunek, należy wypisać na diff --git a/TaskC40/description.txt b/TaskC40/description.txt index bd0c557..359773b 100644 --- a/TaskC40/description.txt +++ b/TaskC40/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis reprezentuje wiek człowiek, tzn. jest postaci typu "45 lat", przy czym dla pierwszych lat wyjątkowo - "1 roczek", "2 latka", "3 latka", "4 latka". Maksymalny wiek - 110 lat. diff --git a/TaskC41/description.txt b/TaskC41/description.txt index 8008078..27738ee 100644 --- a/TaskC41/description.txt +++ b/TaskC41/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis reprezentuje wiek człowiek, tzn. jest postaci typu "45 lat". Maksymalny wiek — 123 lata. Jeśli napis spełnia tak określony warunek, należy wypisać na diff --git a/TaskC42/description.txt b/TaskC42/description.txt index ef09c50..9e06268 100644 --- a/TaskC42/description.txt +++ b/TaskC42/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy zadany napis to "NIE" lub "NO", w którym odpowiednio "E" bądź "O" występuję co najmniej 6 razy, po czy występują co najmniej 3 wykrzykniki. Zob. diff --git a/TaskC43/description.txt b/TaskC43/description.txt index 964a37f..bc66d37 100644 --- a/TaskC43/description.txt +++ b/TaskC43/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy zadany napis to ciąg liter (uwzględnić też polskie znaki) po którym następuje ciąg wykrzykników zamiast których może wystąpić "1", "one" albo "eleven". W napisie muszą diff --git a/TaskC44/description.txt b/TaskC44/description.txt index 446139d..a51faaa 100644 --- a/TaskC44/description.txt +++ b/TaskC44/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy wydobyć nazwisko kobiety z pary imię-nazwisko. Zakładamy, że kobietę identyfikujemy po imieniu zakończonym na "a", wyjąwszy imiona "Kosma" i "Jarema". Imię i nazwisko składa się z liter diff --git a/TaskC45/description.txt b/TaskC45/description.txt index d382a27..9ba0cc4 100644 --- a/TaskC45/description.txt +++ b/TaskC45/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy wydobyć nazwisko mężczyzny z pary imię-nazwisko. Zakładamy, że meżczyznę identyfikujemy po imieniu zakończonym na literę inną niż "a" plus imiona "Kosma" i "Jarema". Imię i nazwisko składa się z diff --git a/TaskC46/description.txt b/TaskC46/description.txt index 6a58f2c..4eebb9c 100644 --- a/TaskC46/description.txt +++ b/TaskC46/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy wydobyć nazwę pliku z pełnej ścieżki. Należy uwzględnić dwie konwencje - (1) linuksową (ścieżka zaczyna się ukośnikiem, poszczególne jej elementy też oddzielane są ukośnikiem), (2) windowsową diff --git a/TaskC47/description.txt b/TaskC47/description.txt index 2878525..bbceb95 100644 --- a/TaskC47/description.txt +++ b/TaskC47/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy wydobyć wszystkie hashtagi twitterowe z napisu. Zakładamy, że hashtag to ciąg małych i wielkich liter oraz cyfr (niezaczynający się cyfrą) i poprzedzony znakiem '#'. Hashtagi należy diff --git a/TaskC48/description.txt b/TaskC48/description.txt index c64535f..713dd95 100644 --- a/TaskC48/description.txt +++ b/TaskC48/description.txt @@ -8,6 +8,13 @@ użyć negacji jako operacji w danym języku programowania, jeśli da się to wyrazić w samym wyrażeniu regularnym). Tam, gdzie to możliwe należy użyć pojedynczego wyrażenia regularnego. +Write a program, which loads consecutive lines from standard input +and analyze every line (with no newline character). You should +use regular expressions to the greatest extent possible (e.g. you +can not use negation in the programming language if it is +possible to express the same in regular expression). Wherever possible, +use one regular expression. + Dla każdego napisu należy sprawdzić, czy napis składa się z naprzemian występujących małych i wielkich liter. Napis może zaczynać się i kończyć małą bądź wielką literą. Należy uwzględnić polskie znaki. Napis musi From 71ad4ba10310bbd15cd33f253cced309a08025d7 Mon Sep 17 00:00:00 2001 From: Jakub Pokrywka Date: Thu, 12 Nov 2020 11:07:01 +0100 Subject: [PATCH 5/9] add remainder part 00-09 --- TaskC00/description.txt | 2 ++ TaskC01/description.txt | 2 ++ TaskC02/description.txt | 2 ++ TaskC03/description.txt | 2 ++ TaskC04/description.txt | 2 ++ TaskC05/description.txt | 2 ++ TaskC06/description.txt | 2 ++ TaskC07/description.txt | 2 ++ TaskC08/description.txt | 2 ++ TaskC09/description.txt | 2 ++ 10 files changed, 20 insertions(+) diff --git a/TaskC00/description.txt b/TaskC00/description.txt index 0e996d8..98a43db 100644 --- a/TaskC00/description.txt +++ b/TaskC00/description.txt @@ -29,6 +29,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 10 z resztą 0. +Attention. The task is for students whose students id remainder of the division by 10 is 0. + POINTS: 2 DEADLINE: 2020-11-22 23:59 REMAINDER: 0/10 diff --git a/TaskC01/description.txt b/TaskC01/description.txt index 40a7e42..9619dc6 100644 --- a/TaskC01/description.txt +++ b/TaskC01/description.txt @@ -28,6 +28,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 10 z resztą 1. +Attention. The task is for students whose students id remainder of the division by 10 is 1. + POINTS: 2 DEADLINE: 2020-11-22 23:59 REMAINDER: 1/10 diff --git a/TaskC02/description.txt b/TaskC02/description.txt index 49a38ac..d70d74d 100644 --- a/TaskC02/description.txt +++ b/TaskC02/description.txt @@ -29,6 +29,8 @@ If the string doesn't fulfill the condition, you should print "". UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 10 z resztą 2. +Attention. The task is for students whose students id remainder of the division by 10 is 2. + POINTS: 2 DEADLINE: 2020-11-22 23:59 REMAINDER: 2/10 diff --git a/TaskC03/description.txt b/TaskC03/description.txt index 5317041..5dd777c 100644 --- a/TaskC03/description.txt +++ b/TaskC03/description.txt @@ -30,6 +30,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 10 z resztą 3. +Attention. The task is for students whose students id remainder of the division by 10 is 3. + POINTS: 2 DEADLINE: 2020-11-22 23:59 REMAINDER: 3/10 diff --git a/TaskC04/description.txt b/TaskC04/description.txt index 6e37b44..930b9e4 100644 --- a/TaskC04/description.txt +++ b/TaskC04/description.txt @@ -30,6 +30,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 10 z resztą 4. +Attention. The task is for students whose students id remainder of the division by 10 is 4. + POINTS: 2 DEADLINE: 2020-11-22 23:59 REMAINDER: 4/10 diff --git a/TaskC05/description.txt b/TaskC05/description.txt index bfa2240..1939fb3 100644 --- a/TaskC05/description.txt +++ b/TaskC05/description.txt @@ -31,6 +31,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 10 z resztą 5. +Attention. The task is for students whose students id remainder of the division by 10 is 5. + POINTS: 2 DEADLINE: 2020-11-22 23:59 REMAINDER: 5/10 diff --git a/TaskC06/description.txt b/TaskC06/description.txt index b9d96f1..fea928f 100644 --- a/TaskC06/description.txt +++ b/TaskC06/description.txt @@ -28,6 +28,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 10 z resztą 6. +Attention. The task is for students whose students id remainder of the division by 10 is 6. + POINTS: 2 DEADLINE: 2020-11-22 23:59 REMAINDER: 6/10 diff --git a/TaskC07/description.txt b/TaskC07/description.txt index d5e1010..64eaa4f 100644 --- a/TaskC07/description.txt +++ b/TaskC07/description.txt @@ -28,6 +28,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 10 z resztą 7. +Attention. The task is for students whose students id remainder of the division by 10 is 7. + POINTS: 2 DEADLINE: 2020-11-22 23:59 REMAINDER: 7/10 diff --git a/TaskC08/description.txt b/TaskC08/description.txt index 24c832f..96b976f 100644 --- a/TaskC08/description.txt +++ b/TaskC08/description.txt @@ -31,6 +31,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 10 z resztą 8. +Attention. The task is for students whose students id remainder of the division by 10 is 8. + POINTS: 2 DEADLINE: 2020-11-22 23:59 REMAINDER: 8/10 diff --git a/TaskC09/description.txt b/TaskC09/description.txt index 579ed99..d84eb25 100644 --- a/TaskC09/description.txt +++ b/TaskC09/description.txt @@ -29,6 +29,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 10 z resztą 9. +Attention. The task is for students whose students id remainder of the division by 10 is 9. + POINTS: 2 DEADLINE: 2020-11-22 23:59 REMAINDER: 9/10 From 773eee4048ace6d537607d738f66bf36d76c605d Mon Sep 17 00:00:00 2001 From: Jakub Pokrywka Date: Thu, 12 Nov 2020 11:09:37 +0100 Subject: [PATCH 6/9] remainder C1 --- TaskC10/description.txt | 2 ++ TaskC11/description.txt | 2 ++ TaskC12/description.txt | 2 ++ TaskC13/description.txt | 3 ++- TaskC14/description.txt | 2 ++ TaskC15/description.txt | 2 ++ TaskC16/description.txt | 2 ++ TaskC17/description.txt | 2 ++ TaskC18/description.txt | 2 ++ TaskC19/description.txt | 2 ++ 10 files changed, 20 insertions(+), 1 deletion(-) diff --git a/TaskC10/description.txt b/TaskC10/description.txt index f4dfb67..493ef05 100644 --- a/TaskC10/description.txt +++ b/TaskC10/description.txt @@ -30,6 +30,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 10. +Attention. The task is for students whose students id remainder of the division by 27 is 10. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 10/27 diff --git a/TaskC11/description.txt b/TaskC11/description.txt index b4e5821..9bd1bc0 100644 --- a/TaskC11/description.txt +++ b/TaskC11/description.txt @@ -33,6 +33,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 11. +Attention. The task is for students whose students id remainder of the division by 27 is 11. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 11/27 diff --git a/TaskC12/description.txt b/TaskC12/description.txt index 828fb08..466faa8 100644 --- a/TaskC12/description.txt +++ b/TaskC12/description.txt @@ -31,6 +31,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 12. +Attention. The task is for students whose students id remainder of the division by 27 is 12. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 12/27 diff --git a/TaskC13/description.txt b/TaskC13/description.txt index f22762d..d9fa77a 100644 --- a/TaskC13/description.txt +++ b/TaskC13/description.txt @@ -32,10 +32,11 @@ 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 27 z resztą 13. +Attention. The task is for students whose students id remainder of the division by 27 is 13. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 13/27 diff --git a/TaskC14/description.txt b/TaskC14/description.txt index 3b3c046..4b064f8 100644 --- a/TaskC14/description.txt +++ b/TaskC14/description.txt @@ -31,6 +31,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 14. +Attention. The task is for students whose students id remainder of the division by 27 is 14. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 14/27 diff --git a/TaskC15/description.txt b/TaskC15/description.txt index 5e5bf92..1adbb43 100644 --- a/TaskC15/description.txt +++ b/TaskC15/description.txt @@ -33,6 +33,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 15. +Attention. The task is for students whose students id remainder of the division by 27 is 15. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 15/27 diff --git a/TaskC16/description.txt b/TaskC16/description.txt index 4d3f735..9b39f3e 100644 --- a/TaskC16/description.txt +++ b/TaskC16/description.txt @@ -34,6 +34,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 16. +Attention. The task is for students whose students id remainder of the division by 27 is 16. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 16/27 diff --git a/TaskC17/description.txt b/TaskC17/description.txt index 44b07d7..c09120c 100644 --- a/TaskC17/description.txt +++ b/TaskC17/description.txt @@ -32,6 +32,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 17. +Attention. The task is for students whose students id remainder of the division by 27 is 17. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 17/27 diff --git a/TaskC18/description.txt b/TaskC18/description.txt index 56c17d4..870c9cc 100644 --- a/TaskC18/description.txt +++ b/TaskC18/description.txt @@ -34,6 +34,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 18. +Attention. The task is for students whose students id remainder of the division by 27 is 18. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 18/27 diff --git a/TaskC19/description.txt b/TaskC19/description.txt index c103921..9e99b3a 100644 --- a/TaskC19/description.txt +++ b/TaskC19/description.txt @@ -28,6 +28,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 19. +Attention. The task is for students whose students id remainder of the division by 27 is 19. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 19/27 From 2bda4e8dabee8d7f2f49d106977dbd716ca94a28 Mon Sep 17 00:00:00 2001 From: Jakub Pokrywka Date: Thu, 12 Nov 2020 11:11:57 +0100 Subject: [PATCH 7/9] remainder C2* --- TaskC20/description.txt | 2 ++ TaskC21/description.txt | 2 ++ TaskC22/description.txt | 2 ++ TaskC23/description.txt | 2 ++ TaskC24/description.txt | 2 ++ TaskC25/description.txt | 2 ++ TaskC26/description.txt | 2 ++ TaskC27/description.txt | 2 ++ TaskC28/description.txt | 2 ++ TaskC29/description.txt | 2 ++ 10 files changed, 20 insertions(+) diff --git a/TaskC20/description.txt b/TaskC20/description.txt index b01f005..90592c2 100644 --- a/TaskC20/description.txt +++ b/TaskC20/description.txt @@ -29,6 +29,8 @@ not fulfill the condition, print "". UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 20. +Attention. The task is for students whose students id remainder of the division by 27 is 20. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 20/27 diff --git a/TaskC21/description.txt b/TaskC21/description.txt index 9418b46..4e001a1 100644 --- a/TaskC21/description.txt +++ b/TaskC21/description.txt @@ -33,6 +33,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 21. +Attention. The task is for students whose students id remainder of the division by 27 is 21. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 21/27 diff --git a/TaskC22/description.txt b/TaskC22/description.txt index 9e9ddad..9b7c8f6 100644 --- a/TaskC22/description.txt +++ b/TaskC22/description.txt @@ -29,6 +29,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 22. +Attention. The task is for students whose students id remainder of the division by 27 is 22. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 22/27 diff --git a/TaskC23/description.txt b/TaskC23/description.txt index 9f56153..75fd677 100644 --- a/TaskC23/description.txt +++ b/TaskC23/description.txt @@ -29,6 +29,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 23. +Attention. The task is for students whose students id remainder of the division by 27 is 23. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 23/27 diff --git a/TaskC24/description.txt b/TaskC24/description.txt index 1f2ff95..63b84ce 100644 --- a/TaskC24/description.txt +++ b/TaskC24/description.txt @@ -33,6 +33,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 24. +Attention. The task is for students whose students id remainder of the division by 27 is 24. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 24/27 diff --git a/TaskC25/description.txt b/TaskC25/description.txt index 227daff..74a22c8 100644 --- a/TaskC25/description.txt +++ b/TaskC25/description.txt @@ -32,6 +32,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 25. +Attention. The task is for students whose students id remainder of the division by 27 is 25. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 25/27 diff --git a/TaskC26/description.txt b/TaskC26/description.txt index a991f96..176eb58 100644 --- a/TaskC26/description.txt +++ b/TaskC26/description.txt @@ -31,6 +31,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 26. +Attention. The task is for students whose students id remainder of the division by 27 is 26. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 26/27 diff --git a/TaskC27/description.txt b/TaskC27/description.txt index 0f8e64d..a0071ea 100644 --- a/TaskC27/description.txt +++ b/TaskC27/description.txt @@ -31,6 +31,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 0. +Attention. The task is for students whose students id remainder of the division by 27 is 0. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 0/27 diff --git a/TaskC28/description.txt b/TaskC28/description.txt index c23e2cc..60ea3d2 100644 --- a/TaskC28/description.txt +++ b/TaskC28/description.txt @@ -31,6 +31,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 1. +Attention. The task is for students whose students id remainder of the division by 27 is 1. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 1/27 diff --git a/TaskC29/description.txt b/TaskC29/description.txt index f7122ea..230f2b8 100644 --- a/TaskC29/description.txt +++ b/TaskC29/description.txt @@ -29,6 +29,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 2. +Attention. The task is for students whose students id remainder of the division by 27 is 2. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 2/27 From edadf9d0ce756f9230a1be4702bfba348dee1fc8 Mon Sep 17 00:00:00 2001 From: Jakub Pokrywka Date: Thu, 12 Nov 2020 11:22:15 +0100 Subject: [PATCH 8/9] remainder C3* --- TaskC30/description.txt | 2 ++ TaskC31/description.txt | 2 ++ TaskC32/description.txt | 2 ++ TaskC33/description.txt | 2 ++ TaskC34/description.txt | 2 ++ TaskC35/description.txt | 2 ++ TaskC36/description.txt | 2 ++ TaskC37/description.txt | 2 ++ TaskC38/description.txt | 2 ++ TaskC39/description.txt | 2 ++ 10 files changed, 20 insertions(+) diff --git a/TaskC30/description.txt b/TaskC30/description.txt index 20aa730..82ac5f2 100644 --- a/TaskC30/description.txt +++ b/TaskC30/description.txt @@ -29,6 +29,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 3. +Attention. The task is for students whose students id remainder of the division by 27 is 3. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 3/27 diff --git a/TaskC31/description.txt b/TaskC31/description.txt index 6073a7c..ca8d761 100644 --- a/TaskC31/description.txt +++ b/TaskC31/description.txt @@ -30,6 +30,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 4. +Attention. The task is for students whose students id remainder of the division by 27 is 4. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 4/27 diff --git a/TaskC32/description.txt b/TaskC32/description.txt index a0e4ab8..0d5c046 100644 --- a/TaskC32/description.txt +++ b/TaskC32/description.txt @@ -31,6 +31,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 5. +Attention. The task is for students whose students id remainder of the division by 27 is 5. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 5/27 diff --git a/TaskC33/description.txt b/TaskC33/description.txt index 69783fd..925b0e6 100644 --- a/TaskC33/description.txt +++ b/TaskC33/description.txt @@ -30,6 +30,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 6. +Attention. The task is for students whose students id remainder of the division by 27 is 6. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 6/27 diff --git a/TaskC34/description.txt b/TaskC34/description.txt index b8992a1..7c6fed1 100644 --- a/TaskC34/description.txt +++ b/TaskC34/description.txt @@ -31,6 +31,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 7. +Attention. The task is for students whose students id remainder of the division by 27 is 7. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 7/27 diff --git a/TaskC35/description.txt b/TaskC35/description.txt index a20478f..95900e9 100644 --- a/TaskC35/description.txt +++ b/TaskC35/description.txt @@ -31,6 +31,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 8. +Attention. The task is for students whose students id remainder of the division by 27 is 8. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 8/27 diff --git a/TaskC36/description.txt b/TaskC36/description.txt index 46a3fd1..fc85767 100644 --- a/TaskC36/description.txt +++ b/TaskC36/description.txt @@ -27,6 +27,8 @@ string, if the string is not a time. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 27 z resztą 9. +Attention. The task is for students whose students id remainder of the division by 27 is 9. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 9/27 diff --git a/TaskC37/description.txt b/TaskC37/description.txt index 2b2d2dc..c873bfb 100644 --- a/TaskC37/description.txt +++ b/TaskC37/description.txt @@ -30,6 +30,8 @@ If the string does not fulfill the condition, you should print "". UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 7 z resztą 2. +Attention. The task is for students whose students id remainder of the division by 7 is 2. + POINTS: 2 DEADLINE: 2020-11-22 23:59 REMAINDER: 2/7 diff --git a/TaskC38/description.txt b/TaskC38/description.txt index 4bbe013..dbc2bca 100644 --- a/TaskC38/description.txt +++ b/TaskC38/description.txt @@ -33,6 +33,8 @@ If the string does not fulfill the condition, you should print "". UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 7 z resztą 3. +Attention. The task is for students whose students id remainder of the division by 7 is 3. + POINTS: 2 DEADLINE: 2020-11-22 23:59 REMAINDER: 3/7 diff --git a/TaskC39/description.txt b/TaskC39/description.txt index f2bb712..be85ef6 100644 --- a/TaskC39/description.txt +++ b/TaskC39/description.txt @@ -29,6 +29,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 7 z resztą 4. +Attention. The task is for students whose students id remainder of the division by 7 is 4. + POINTS: 2 DEADLINE: 2020-11-22 23:59 REMAINDER: 4/7 From f39632d16916bfa13a7c0039bccf0757fc96a150 Mon Sep 17 00:00:00 2001 From: Jakub Pokrywka Date: Thu, 12 Nov 2020 11:26:03 +0100 Subject: [PATCH 9/9] remainder C4* --- TaskC40/description.txt | 2 ++ TaskC41/description.txt | 2 ++ TaskC42/description.txt | 2 ++ TaskC43/description.txt | 2 ++ TaskC44/description.txt | 2 ++ TaskC45/description.txt | 2 ++ TaskC46/description.txt | 2 ++ TaskC47/description.txt | 2 ++ TaskC48/description.txt | 2 ++ 9 files changed, 18 insertions(+) diff --git a/TaskC40/description.txt b/TaskC40/description.txt index 359773b..3f0e78c 100644 --- a/TaskC40/description.txt +++ b/TaskC40/description.txt @@ -32,6 +32,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 7 z resztą 5. +Attention. The task is for students whose students id remainder of the division by 7 is 5. + POINTS: 2 DEADLINE: 2020-11-22 23:59 REMAINDER: 5/7 diff --git a/TaskC41/description.txt b/TaskC41/description.txt index 27738ee..b09b824 100644 --- a/TaskC41/description.txt +++ b/TaskC41/description.txt @@ -29,6 +29,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 7 z resztą 6. +Attention. The task is for students whose students id remainder of the division by 7 is 6. + POINTS: 2 DEADLINE: 2020-11-22 23:59 REMAINDER: 6/7 diff --git a/TaskC42/description.txt b/TaskC42/description.txt index 9e06268..3cac76c 100644 --- a/TaskC42/description.txt +++ b/TaskC42/description.txt @@ -32,6 +32,8 @@ If the string fulfills the condition, you should print 'yes' on the standard out UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 7 z resztą 0. +Attention. The task is for students whose students id remainder of the division by 7 is 0. + POINTS: 2 DEADLINE: 2020-11-22 23:59 REMAINDER: 0/7 diff --git a/TaskC43/description.txt b/TaskC43/description.txt index bc66d37..0dd23e5 100644 --- a/TaskC43/description.txt +++ b/TaskC43/description.txt @@ -37,6 +37,8 @@ If the string fulfills the condition, you should print 'yes' on the standard out UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 7 z resztą 1. +Attention. The task is for students whose students id remainder of the division by 7 is 1. + POINTS: 2 DEADLINE: 2020-11-22 23:59 REMAINDER: 1/7 diff --git a/TaskC44/description.txt b/TaskC44/description.txt index a51faaa..6fe4830 100644 --- a/TaskC44/description.txt +++ b/TaskC44/description.txt @@ -35,6 +35,8 @@ 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. +Attention. The task is for students whose students id remainder of the division by 5 is 4. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 4/5 diff --git a/TaskC45/description.txt b/TaskC45/description.txt index 9ba0cc4..532fa39 100644 --- a/TaskC45/description.txt +++ b/TaskC45/description.txt @@ -34,6 +34,8 @@ 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. +Attention. The task is for students whose students id remainder of the division by 5 is 0. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 0/5 diff --git a/TaskC46/description.txt b/TaskC46/description.txt index 4eebb9c..b78294c 100644 --- a/TaskC46/description.txt +++ b/TaskC46/description.txt @@ -36,6 +36,8 @@ 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. +Attention. The task is for students whose students id remainder of the division by 5 is 1. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 1/5 diff --git a/TaskC47/description.txt b/TaskC47/description.txt index bbceb95..6c1fe3b 100644 --- a/TaskC47/description.txt +++ b/TaskC47/description.txt @@ -31,6 +31,8 @@ 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. +Attention. The task is for students whose students id remainder of the division by 5 is 2. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 2/5 diff --git a/TaskC48/description.txt b/TaskC48/description.txt index 713dd95..93007e9 100644 --- a/TaskC48/description.txt +++ b/TaskC48/description.txt @@ -33,6 +33,8 @@ standard output and 'no' otherwise. UWAGA! Zadanie przeznaczone dla studentów, których numer indeksu dzieli się przez 5 z resztą 3. +Attention. The task is for students whose students id remainder of the division by 5 is 3. + POINTS: 3 DEADLINE: 2020-11-22 23:59 REMAINDER: 3/5