AtCoder Grand Contest 070
翻译中…
Problem Statement
翻译中…
This problem is output-only. No input is given.
翻译中…
Present one pair $(X, S)$ of a positive integer $X$ and a string $S$ that satisfies all of the following conditions.
翻译中…
$X$is a positive integer at least$10^{50}$and less than$10^{5000}$.$S$is a string of length at most$5000$, consisting of digits from0to9.- For every integer
$i$such that$1 \leq i \leq 1000$, the following condition is satisfied: - The decimal representation of
$X$multiplied by$i$is a (contiguous) substring of$S$.
翻译中…
Input
翻译中…
No input is given for this problem.
翻译中…
Output
翻译中…
Print a pair $(X, S)$ satisfying the conditions stated in the problem in the following format (there exists at least one such pair $(X, S)$).
You may include leading zeros when outputting $X$, but in that case, make sure that the string representation of $X$ has length at most $5000$.
翻译中…
X
S
翻译中…
Sample Output
翻译中…
Below is an example of output that does not satisfy the conditions in the problem statement.
翻译中…
5
105
翻译中…
This sample output does not satisfy the problem statement for the following reasons:
翻译中…
- The value of
$X$does not meet the first condition of the problem statement regarding its range. - For
$i = 1$and$2$,5and10are substrings of$S$. However, for$i = 3$,15is not a substring of$S$. Thus,$(X, S)$fails to meet the third condition of the problem statement.
翻译中…
题目信息
题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。