Обработка символьных строк. Handling character strings. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Обработка символьных строк. Handling character strings.

Given a string of N characters. Groups of characters separated by spaces (one or more) and not containing spaces inside themselves will be called words. Find the number of words for which the first and last characters are the same. Дана строка из N символов. Группы символов, разделенные пробелами (одним или несколькими) и не со-держащие пробелов внутри себя, будем называть словами.Найти количество слов, у которых первый и последний символы совпадают между собой

2nd Apr 2018, 2:03 PM
Cheerful dead man
Cheerful dead man - avatar
1 Answer
0
актуальна задача?
30th Jun 2018, 12:22 PM
Юрий Исаев
Юрий Исаев - avatar