問題一覧 > 通常問題

No.3778 pow2!!pow2!!pow2!!

レベル : / AI推定難易度 : 130 / 実行時間制限 : 1ケース 2.000秒 / メモリ制限 : 1024 MB / 標準ジャッジ問題
タグ : (AC するまで非表示) / 解いたユーザー数 29
作問者 : 瀧口工房 / テスター : sabawo
お気に入りにしたユーザー ProblemId : 14196 / 自分の提出
問題文最終更新日: 2026-10-24 10:07:35
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
単体公開 (順位表) の他の問題:

Problem Statement

You are given a positive integer $N$.

Let $M$ be the number of digits of $N$.

Starting with the initial value $ans = N$, repeat the following operation $M-1$ times.

  • Update $ans$ to $ans \times 10^M + N$.

Output $ans$ after the operations are finished.

Input

$N$

The input satisfies the following constraints.

  • $1 \leq N < 10^{100}$

Output

Output $ans$ after the operations are finished.

Print a newline at the end.

Sample

Sample 1
Input
1
Output
1
Sample 2
Input
12
Output
1212
Sample 3
Input
123
Output
123123123

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