AT_scpc2026_div3_a.Find the Missing Letter
入门
通过率:0%
时间限制:2.00s
内存限制:1024MB
AC君温馨提醒
该题目为【atcoder】题库的题目,您提交的代码将被提交至atcoder进行远程评测,并由ACGO抓取测评结果后进行展示。由于远程测评的测评机由其他平台提供,我们无法保证该服务的稳定性,若提交后无反应,请等待一段时间后再进行重试。
题目描述
flakepym was typing the string SCSC on his computer and accidentally omitted one character. Find the missing character.
flakepym 在电脑上输入字符串 SCSC 时,不小心遗漏了一个字符。找出缺失的字符。
输入格式
The input is given from Standard Input in the following format:
S
输入从标准输入中以如下格式给出:
S
输出格式
Output the omitted character as an uppercase letter.
输出缺失的字符,用大写字母表示。
输入输出样例
输入#1
CSC
输出#1
S
输入#2
SSC
输出#2
C
说明/提示
表示言語
/ /
Constraints
- The string S has length 3 and consists only of the uppercase letters
SandC. - The given string can be obtained by removing exactly one character from
SCSC.
表示语言
/ /
限制条件
- 字符串 S 的长度为 3,且仅由大写字母
S和C组成。 - 给定的字符串可通过从字符串
SCSC中恰好删除一个字符得到。
输入解题思路,AI测评打分。不知道怎么写?