ÀÂÒ
Language:

Remote Training on Programming

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

628. Removing the word

Time Limit: 1 seconds
Memory Limit:1000KB
Points:2
View Problem Statistics Submit Problem added Undefined

Removing the word

Delete the word, finishing on letter "k" if they there is. The Spare gaps are from line to delete. The Words to write in latin script. In source and got lines must not be kept the sign of the punctuation and some symbol.

 

Input data

Line of text

 

Output data

Line of text, in which are removed all word finishing on "k"

 

Example input data

Kino advokat luchik

Example output data

Kino advokat

 


View Problem Statistics Submit Author/source:
Educational Courses / New problems in testing /
669. Rearrangement of lines in a matrix 628. 1078. Sovershennie chisla 637. The Givenned number a,b,c to define how much of them equal. 663. The least and last elements of a file
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.484 sec.
© Copyright VSTU, AVT, Nosov D.A.