No.2234 palindromer
レベル : / 実行時間制限 : 1ケース 2.000秒 / メモリ制限
: 512 MB / 標準ジャッジ問題
タグ : / 解いたユーザー数 170
作問者 :
csharpython
/ テスター :
👑
seekworser
タグ : / 解いたユーザー数 170
作問者 :
問題文最終更新日: 2023-01-25 13:36:49
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 379
(順位表)
の他の問題:
Problem Statement
You are given a string $A$. Output one of the shortest palindromes that start with $A$. If there are multiple possible answers, you may output any of them.
Input
$A$
$1\le Aの長さ \le 100$
$A$ is a string consisting of lowercase English letters.
Output
Output as described in the problem statement.
Print a newline at the end.
Sample
Sample 1
Input
palindrome
Output
palindromemordnilap
Sample 2
Input
nolemonn
Output
nolemonnomelon
Sample 3
Input
abcdcba
Output
abcdcba
The input may be a palindrome.
提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。