АВТ
Language:

Remote Training on Programming

Problems On-line status Contests FAQ
For authors:
Register  ||  Login
 
Hello, Guest! Login or register.

157. Searching of Letter in String

Time Limit: 1 seconds
Memory Limit:64000KB
Points:2
View Problem Statistics Submit Problem added Administrator

Поиск буквы в строке

Напишите программу, подсчитывающую количество вхождений заданной вами буквы в введенной строке без учета регистра. Буквы латинские!

Входные данные

Строка не более 256 символов.
Символ.

Выходные данные

Количество вхождений

Пример входных данных

This is very simple programm. It's true.
t

Пример выходных данных

3
Автор: Барламов А.Г. aka SpIInner

View Problem Statistics Submit Author/source:
Educational Courses / Programming and Basics of Algorithmization / Strings /
162. Removing of k'st Symbol 157. 158. Searching of Phrase in String 124. Shortest Word 159. Uppercasing
We can all benefit by doing occasional "toy" programs, when artificial restrictions are set up, so that we are forced to push our abilities to the limit. The art of tackling miniproblems with all our energy will sharpen our talents for the real problems. Donald E. Knuth.
time generating 0.046 sec.
© Copyright VSTU, AVT, Nosov D.A.