coci 2013 contest1_tasks(2)

2021-02-21 17:46

coci试题

1st round, October 20th, 2012 Author: Adrian Satja Kurdija

In a small country far, far away, all the best and brightest high schoolers apply to universities abroad (even further away). The exact cause is always different and hard to find. Of course, the country's leaders aren't happy about that since they care deeply about their gifted (read profitable) youth.

That's why the Education Ministry has started research into various subliminal messages to coax high schoolers into staying in their homeland. Their first try was handing out booster packs for the recent Magic: The Gathering expansion known as Return to Ravnica1 as competition prizes. Then they started to play Tony Cetinski's song “Ostani zauvijek”2 on math radio all the time. Finally, there is this task! Given a word, remove from it all letters contained in the word CAMBRIDGE.

INPUT

The first and only line of input contains a single word consisting of at least 3 and at most 100 uppercase English letters.

OUTPUT

The first and only line of output should contain the word obtained by removing all the letters in CAMBRIDGE from the given word. Test data will ensure that the solution contains at least one letter.

SAMPLE TESTS

1 In Croatian, “ravnica” means “plain” (noun – level terrain; in MTG, white mana land type) 2 “Stay Forever”


coci 2013 contest1_tasks(2).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:人教版六年级数学下册《第四单元达标测试卷》(附答案)

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: