用户输出
o
系统信息
Exited with return code 0
编号 | 题目 | 状态 | 分数 | 总时间 | 内存 | 代码 / 答案文件 | 提交者 | 提交时间 |
---|---|---|---|---|---|---|---|---|
#2696 | #1001. 中心字母 | Accepted | 100 | 374 ms | 2836 K | Python 3 / 229 B | s230026068 | 2023-11-20 23:19:06 |
# 从标准输入读取字符串
s = input().strip()
# 计算字符串的长度
length = len(s)
# 计算中心索引
center_index = length // 2
# 输出中心字符
center_char = s[center_index]
print(center_char)
用户输出
h
系统信息
Exited with return code 0
用户输出
m
系统信息
Exited with return code 0
用户输出
a
系统信息
Exited with return code 0
用户输出
i
系统信息
Exited with return code 0
用户输出
j
系统信息
Exited with return code 0
wxbwexnagmaygzyfnzpqftobtaotuayxmwvzllkujidhukzwzcltgqngguftuahalwvjwqncksizgzajkhyjujlkseszafzjmdt
用户输出
c
系统信息
Exited with return code 0