#P7583. [COCI 2012/2013 #1] DOM

    ID: 8349 远端评测题 1000ms 32MiB 尝试: 0 已通过: 0 显示难度入门 上传者: 标签>模拟字符串2012COCI(克罗地亚)

[COCI 2012/2013 #1] DOM

Problem Description

Given a word that contains only uppercase letters, delete the following nine letters from the word: C,A,M,B,R,I,D,G,E\texttt{C,A,M,B,R,I,D,G,E}.

Input Format

One line with one string, representing the given word.

Output Format

One line with one string, representing the string after deleting the letters.

LOVA
LOV
KARIJERA
KJ

Hint

Constraints

For 100%100\% of the testdata, it is guaranteed that 33 \le the word length 100\le 100.

Notes

The score for this problem is set according to the original COCI problem, with a full score of 5050.

This problem is translated from COCI2012-2013 CONTEST #1 T1 DOM.

Translated by ChatGPT 5