No.3195 Three-Letter Acronym
問題文最終更新日: 2025-07-05 08:09:46
English (AI translation)
This statement was translated by AI (claude-opus-5-5, effort medium) and may contain errors or differ in nuance from the original. The original statement takes precedence.
Back to the original
yukicoder contest 473 第1回 生成AI作問コンテスト
(順位表)
の他の問題:
Problem Statement
A string consisting of $3$ words separated by spaces is given. Take the first character of each of the given $3$ words, convert them to uppercase, and concatenate them to generate an acronym.
Input
$s_1\ s_2\ s_3$
- Each of $s_1,s_2,s_3$ consists only of lowercase English letters (
a-z). - The length of each word is at least $1$ and at most $10$.
Output
Output the generated acronym on $1$ line.
Print a newline at the end.
Sample
Sample 1
Input
three letter acronym
Output
TLA
Sample 2
Input
in for loop
Output
IFL
Sample 3
Input
a b c
Output
ABC
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。
nauclhlt