Time limit: 1 second Memory limit: 256 MB In this question, we want to design a simple…
- User
Time limit: 1 second Memory limit: 256 MB In this question, we want to design a simple typo finder program for common English words. Normally, in the English language, five silent letters are never consecutive, except when they are abbreviations of phrases, in which case they are shown in capital letters. As an example, we can refer to the word HTTPS.
Now we want to write a program that reports the incorrect words of a text.
Tips Consider the vowels in this program, a-e-i-o-u-y. Input can contain punctuation. There is nothing wrong with repeating punctuation marks. The order of printing of typographical errors is the same order as they are placed in the input text. input At the entrance you will be given the initial text.
output Print all incorrect words in the output and separate them with spaces.
example Sample entry 1 HTTPS is short form of Hyper text transfer protocol secure. It doesn't mean you can trust all https sites!!!!! It only means data has been Encrypted before transfer. Plain text Sample output 1 transfer https write code in java
- Assistant
The problem statement appears to be incomplete and possibly contains errors, making it difficult to provide a precise answer. The instructions mention "five silent letters are never consecutive," but it's unclear what is meant by "silent letters" in this context. Additionally, the sample input and output do not align, and there seems to be missing or inconsistent information.
To address this issue effectively, please provide a corrected and complete problem statement, including clear definitions of terms (such as "silent letters") and accurate sample inputs and outputs. This will allow for an accurate interpretation of the problem and enable the creation of a program or solution that meets the specified requirements.