Home
О нас
Products
Services
Регистрация
Войти
Поиск
Katreen1
@Katreen1
July 2022
1
8
Report
Паскаль.
Дана строка, содержащая слова, разделенные одним пробелом. Напечатать все слова, предварительно преобразовав каждое из них по следующему правилу: удалить из слова все последующие вхождения первой буквы
Please enter comments
Please enter your name.
Please enter the correct email address.
Agree to
terms of service
You must agree before submitting.
Send
Answers & Comments
HRAshton
var
s: string;
begin
readln(s);
foreach w: string in s.Split(' ') do
write(w[1] + w.Replace(w[1], '') + ' ');
end
.
0 votes
Thanks 0
×
Report "Паскаль.Дана строка, содержащая слова, разделенные одним пробелом. Напечатать вс..."
Your name
Email
Reason
-Select Reason-
Pornographic
Defamatory
Illegal/Unlawful
Spam
Other Terms Of Service Violation
File a copyright complaint
Description
Helpful Links
О нас
Политика конфиденциальности
Правила и условия
Copyright
Контакты
Helpful Social
Get monthly updates
Submit
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
s: string;
begin
readln(s);
foreach w: string in s.Split(' ') do
write(w[1] + w.Replace(w[1], '') + ' ');
end.