問題一覧 > 通常問題

No.597 concat

レベル : / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 128 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 656
作問者 : koyumeishi / テスター : mai
お気に入りにしたユーザー ProblemId : 1761 / 自分の提出
問題文最終更新日: 2026-06-26 06:07:49
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 178 (順位表) の他の問題:

Problem Statement

You are given $N$ strings. Output the string obtained by concatenating them in order.

Input

$N$
$S_1$
$S_2$
$\vdots$
$S_N$

$1 \leq N \leq 10$
$1 \leq |S_i| \leq 20$

$S_i$ consists only of 'a'-'z'.

Output

Output the concatenated string $S_1S_2\dots$. Do not insert spaces or other characters between them.

Sample

Sample 1
Input
2
con
cat
Output
concat

Sample 2
Input
3
servalcat
sandcat
margaycat
Output
servalcatsandcatmargaycat

Sample 3
Input
4
ko
un
ko
un
Output
kounkoun

good luck

提出するには、Twitter 、GitHub、 Googleもしくは右上の雲マークをクリックしてアカウントを作成してください。