您的任务是在Columbo情节标题中找到两个丢失的角色。
输入值
69个哥伦布剧集标题之一(如下所列),正好两个字符替换为*
。
范例:
"Ran*om for a *ead Man"
输出量
您可以返回完整的情节标题,也可以仅以任何合理的格式返回两个缺失的字符,前提是字符的顺序是明确的。
一些有效的输出:
"Ransom for a Dead Man"
"sD"
["s", "D"]
集数
请点击此链接以获取未格式化的列表。
Prescription: Murder Swan Song Murder, Smoke and Shadows
Ransom for a Dead Man A Friend in Deed Sex and the Married Detective
Murder by the Book An Exercise in Fatality Grand Deceptions
Death Lends a Hand Negative Reaction Murder: A Self Portrait
Dead Weight By Dawn's Early Light Columbo Cries Wolf
Suitable for Framing Troubled Waters Agenda for Murder
Lady in Waiting Playback Rest in Peace, Mrs. Columbo
Short Fuse A Deadly State of Mind Uneasy Lies the Crown
Blueprint for Murder Forgotten Lady Murder in Malibu
Etude in Black A Case of Immunity Columbo Goes to College
The Greenhouse Jungle Identity Crisis Caution: Murder Can Be Hazardous to Your Health
The Most Crucial Game A Matter of Honor Columbo and the Murder of a Rock Star
Dagger of the Mind Now You See Him... Death Hits the Jackpot
Requiem for a Falling Star Last Salute to the Commodore No Time to Die
A Stitch in Crime Fade in to Murder A Bird in the Hand...
The Most Dangerous Match Old Fashioned Murder It's All in the Game
Double Shock The Bye-Bye Sky High IQ Murder Case Butterfly in Shades of Grey
Lovely But Lethal Try and Catch Me Undercover
Any Old Port in a Storm Murder Under Glass Strange Bedfellows
Candidate for Crime Make Me a Perfect Murder A Trace of Murder
Double Exposure How to Dial a Murder Ashes to Ashes
Publish or Perish The Conspirators Murder With Too Many Notes
Mind Over Mayhem Columbo Goes to the Guillotine Columbo Likes the Nightlife
澄清和规则
- 存储情节列表(或存储足够的信息以猜测丢失的角色)是挑战的一部分。换句话说,您不会“免费”获得列表。如果使用外部文件,则必须将其长度添加到字节数中。
- 您的程序/功能必须完全支持上面列出的标题:
- 每个字母的大小写必须完全匹配。
- 标点符号也必须完全匹配。
- 等等...
- 标题中的所有字符都可以替换为
*
,而不仅仅是字母。它们可能是连续的。 - 您可能期望使用另一个“空白”字符代替
*
,只要该字符不出现在任何标题中的任何位置。(如果是这样,请在您的答案中提及它。)
啊,还有一件事。我差点忘了...
- 这是代码高尔夫球,因此最短答案以字节为单位!
测试集
error-correction
我认为适合的标签。
A
和a
中存在的唯一字符串列表。
',-.:ABCDEFGHIJLMNOPQRSTUWYabcdefghiklmnopqrstuvwxyz
和<space>
,当然)。