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.