mirror of
https://github.com/xlucn/PAT.git
synced 2026-11-06 12:37:56 +08:00
21 lines
1.2 KiB
HTML
21 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
<style type="text/css">
|
|
.katex-html {display: none;}
|
|
.katex-mathml {font-size: 0px;}
|
|
.katex-mathml math mrow {font-size: 16px;}
|
|
</style>
|
|
<h1>旧键盘</h1>
|
|
<div class="ques-view"><p>旧键盘上坏了几个键,于是在敲一段文字的时候,对应的字符就不会出现。现在给出应该输入的一段文字、以及实际被输入的文字,请你列出肯定坏掉的那些键。</p>
|
|
<h3 id="-">输入格式:</h3>
|
|
<p>输入在 2 行中分别给出应该输入的文字、以及实际被输入的文字。每段文字是不超过 80 个字符的串,由字母 A-Z(包括大、小写)、数字 0-9、以及下划线 <code>_</code>(代表空格)组成。题目保证 2 个字符串均非空。</p>
|
|
<h3 id="-">输出格式:</h3>
|
|
<p>按照发现顺序,在一行中输出坏掉的键。其中英文字母只输出大写,每个坏键只输出一次。题目保证至少有 1 个坏键。</p>
|
|
<h3 id="-">输入样例:</h3>
|
|
<pre><code class="lang-in">7_This_is_a_test
|
|
_hs_s_a_es
|
|
</code></pre>
|
|
<h3 id="-">输出样例:</h3>
|
|
<pre><code class="lang-out">7TI
|
|
</code></pre>
|
|
</div> |