Another English Words

面对即将到来的微软知识产权审查,田纳西州劳登的Loydds公司推出了一项名为“审计保险”的服务,旨在帮助企业应对突如其来的软件审查。此外,该公司正与红帽合作建立一支专门队伍,能在紧急情况下迅速安装Linux并清除所有Windows痕迹。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >


Insurance Company To Offer Microsoft Audit Protection Plans

保险公司给微软提供审计保护方案(计划)

LOUDON, TENNESSEE -- Companies, organizations, and government agencies all
across the world are facing a disaster of epic proportions: the impending
invasion of the Microsoft Intellectual Property Police. The counter this
menace, Loydds of Loudon, Tennessee, the prestigious insurance firm, has
started to offer "Audit Insurance" to protect against unexpected "random"
audits from everybody's favorite software monopoly.

"We've received numerous inquiries about this type of protection," company
co-founder Bob Loydds said. "Businessmen are no longer worried about
earthquakes, fires, or other natural disasters. The big fear of the 21st
Century comes from Redmond."

The insurance firm is currently in negotiations with Red Hat to form the
"Red Berets", an elite squad of Linux geeks trained to rapidly install
Linux and hide all traces of Windows on every computer within an
organization. During a Defcon 95 emergency, Loydds will airlift the
squadron and a crate of Linux CDs to any position in the country within
hours. The Red Berets will wipe away all vestiges of Microsoft software so
that when the auditors show up they won't have anything to audit.

We have come up with the best possible language here at Google, called Googlerese. To translate text into Googlerese, we take any message and replace each English letter with another English letter. This mapping is one-to-one and onto, which means that the same input letter always gets replaced with the same output letter, and different input letters always get replaced with different output letters. A letter may be replaced by itself. Spaces are left as-is. For example (and here is a hint!), our awesome translation algorithm includes the following three mappings: 'a' -> 'y', 'o' -> 'e', and 'z' -> 'q'. This means that "a zoo" will become "y qee". Googlerese is based on the best possible replacement mapping, and we will never change it. It will always be the same. In every test case. We will not tell you the rest of our mapping because that would make the problem too easy, but there are a few examples below that may help. Given some text in Googlerese, can you translate it to back to normal text? 输入 The first line of the input gives the number of test cases, T. T test cases follow, one per line. Each line consists of a string G in Googlerese, made up of one or more words containing the letters 'a' - 'z'. There will be exactly one space (' ') character between consecutive words and no spaces at the beginning or at the end of any line. 1 ≤ T ≤ 30. G contains at most 100 characters. None of the text is guaranteed to be valid English. 输出 For each test case, output one line containing "Case #X: S" where X is the case number and S is the string that becomes G in Googlerese. 样例 输入样例 1 复制 3 ejp mysljylc kd kxveddknmc re jsicpdrysi rbcpc ypc rtcsra dkh wyfrepkym veddknkmkrkcd de kr kd eoya kw aej tysr re ujdr lkgc jv 输出样例 1 Case #1: our language is impossible to understand Case #2: there are twenty six factorial possibilities Case #3: so it is okay if you want to just give up给出这个问题的思路,用C语言
06-11
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值