CF281A.Word Capitalization
入门
通过率:0%
时间限制:2.00s
内存限制:256MB
AC君温馨提醒
该题目为【codeforces】题库的题目,您提交的代码将被提交至codeforces进行远程评测,并由ACGO抓取测评结果后进行展示。由于远程测评的测评机由其他平台提供,我们无法保证该服务的稳定性,若提交后无反应,请等待一段时间后再进行重试。
题目描述
Capitalization is writing a word with its first letter as a capital letter. Your task is to capitalize the given word.
Note, that during capitalization all the letters except the first one remains unchanged.
大写是指将一个单词的首字母改为大写字母。你的任务是将给定的单词进行大写处理。
注意:在大写处理过程中,除第一个字母外,其余所有字母均保持不变。
输入格式
A single line contains a non-empty word. This word consists of lowercase and uppercase English letters. The length of the word will not exceed 103.
一行包含一个非空单词。该单词由小写和大写英文字母组成。单词的长度不超过 103。
输出格式
Output the given word after capitalization.
输出给定单词的首字母大写形式。
输入输出样例
输入#1
ApPLe
输出#1
ApPLe
输入#2
konjac
输出#2
Konjac
输入解题思路,AI测评打分。不知道怎么写?