| 시간 제한 | 메모리 제한 | 제출 | 정답 | 맞힌 사람 | 정답 비율 |
|---|---|---|---|---|---|
| 1 초 | 1024 MB | 463 | 339 | 310 | 74.879% |
We love our UCF and we are going to change everything to UCF!
Given a string, change the string to UCF as follows:
Assume the string will contain at least one “U”, at least one “F” after that U, and at least one character between the U and F.
There is only one input line; it contains a string of uppercase letters. The string will have at least 3 and at most 50 characters.
Print the input string converted to UCF.
ABUDEGHFXYZ
--UCCCCF---
CCUZF
--UCF
ABFABCUABABFABUABFABUAB
------UCCCCCCCCCCF-----
UABCFABCDE
UCCCF-----