QOJ.ac

QOJ

Time Limit: 2.0 s Memory Limit: 1024 MB Total points: 100 Hackable ✓

#10973. 前缀积的位数

Statistics

这是一个只读输出问题。不提供输入。

请输出一个包含 10 个正整数的序列 $(a_1, a_2, \dots, a_{10})$,使其满足以下所有条件。所有整数应以标准十进制表示,且不含前导零。

  • $a_1, a_2, \dots, a_{10}$ 中的每一个都不包含数字 0。
  • $a_1, a_2, \dots, a_{10}$ 中的每一个都至少有 100 位数字。
  • $a_1, a_2, \dots, a_{10}$ 的总位数不超过 $10^5$。
  • 对于每个 $i$ ($1 \le i \le 10$),令 $b_i = a_1 \times a_2 \times \dots \times a_i$。那么在每个 $b_i$ 中,每一对相邻的数字必须不同(即没有两个相邻的数字相同)。

输出序列 $a_1, a_2, \dots, a_{10}$,每行一个数字,使用不含前导零的十进制表示。

说明

定义 $(a_1, a_2, \dots, a_{10}) = (28, 19, 2, 19, 15, 3, 14, 14, 29, 27)$ 会得到:

  • $b_1 = 28$
  • $b_2 = 532$
  • $b_3 = 1064$
  • $b_4 = 20216$
  • $b_5 = 303240$
  • $b_6 = 909720$
  • $b_7 = 12736080$
  • $b_8 = 178305120$
  • $b_9 = 5170848480$
  • $b_{10} = 139612908960$

该输出满足条件 1、3 和 4。然而,它不满足条件 2,因此被判定为错误。

Discussions

About Discussions

The discussion section is only for posting: General Discussions (problem-solving strategies, alternative approaches), and Off-topic conversations.

This is NOT for reporting issues! If you want to report bugs or errors, please use the Issues section below.

Open Discussions 0
No discussions in this category.

Issues

About Issues

If you find any issues with the problem (statement, scoring, time/memory limits, test cases, etc.), you may submit an issue here. A problem moderator will review your issue.

Guidelines:

  1. This is not a place to publish discussions, editorials, or requests to debug your code. Issues are only visible to you and problem moderators.
  2. Do not submit duplicated issues.
  3. Issues must be filed in English or Chinese only.
Active Issues 0
No issues in this category.
Closed/Resolved Issues 0
No issues in this category.