ГлавнаяСборникиТурнирыРазделыФорумыУчастникиПечатьПомощьО системе

Разделы > Unsorted > задача:


50962 - Find the Character

Задачи раздела

• 50961 - Order of 3 Runner
• 50963 - Append Two Arrays
• 50968 - Number of Letters
• 50969 - Chef and Feedback
• 50888 - Extracting Digits
• 50893 - Print All Numbers
• 51109 - Integer to English
• 50905 - Convert KPH to MPH
• 50962 - Find the Character
• 50974 - Area of the circle
• 51110 - The area of a circle
• 50967 - Finding Square Roots
• 50953 - ASCII Codes - Reverse
• 50960 - Number of Heart Beats
• 50885 - Calculate the Average
• 51108 - First Unique Character
• 50887 - Average of Test Scores

Обратная связь

Если у вас есть предложения или пожелания по работе Contester, посетите форум сайта www.contester.ru.

Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб.

Find the Character

 

Write a program for finding the amount of a specific character inside a string until full stop’.’ encountered.

Input: In the first line you will get a text (string) ended with a full stop’.’ and in the second line the character.

Output: Total number of specific character in the given text until full stop.

Sample Input1:

Sample Input2:

merhaba dunya.

a

I love programming. It is fun.

n

Sample  Output1:

Sample  Output2:

3

1

 

Для отправки решений необходимо выполнить вход.

www.contester.ru