摘要: 旧键盘上坏了几个键,于是在敲一段文字的时候,对应的字符就不会出现。现在给出应该输入的一段文字、以及坏掉的那些键,打出的结果文字会是怎样? 输入格式: 输入在 2 行中分别给出坏掉的那些键、以及应该输入的文字。其中对应英文字母的坏键以大写给出;每段文字是不超过 1 个字符的串。可用的字符包括字母 [a 阅读全文
posted @ 2021-01-24 15:33 CheapTrick 阅读(85) 评论(0) 推荐(0)
摘要: On a broken keyboard, some of the keys are worn out. So when you type some sentences, the characters corresponding to those keys will not appear on sc 阅读全文
posted @ 2021-01-24 13:43 CheapTrick 阅读(63) 评论(0) 推荐(0)
摘要: A long-distance telephone company charges its customers by the following rules: Making a long-distance call costs a certain amount per minute, dependi 阅读全文
posted @ 2020-01-31 17:03 CheapTrick 阅读(215) 评论(0) 推荐(0)
摘要: To evaluate the performance of our first year CS majored students, we consider their grades of three courses only: C - C Programming Language, M - Mat 阅读全文
posted @ 2020-01-29 15:11 CheapTrick 阅读(193) 评论(0) 推荐(0)
摘要: About 900 years ago, a Chinese philosopher Sima Guang wrote a history book in which he talked about people's talent and virtue. According to his theor 阅读全文
posted @ 2020-01-26 18:43 CheapTrick 阅读(153) 评论(0) 推荐(0)
摘要: Programming Ability Test (PAT) is organized by the College of Computer Science and Technology of Zhejiang University. Each test is supposed to run sim 阅读全文
posted @ 2020-01-26 14:43 CheapTrick 阅读(253) 评论(0) 推荐(0)