QOJ.ac

QOJ

حد الوقت: 2 s حد الذاكرة: 1024 MB

#23969. 家庭作业 2

الإحصائيات

葵正在做数学作业。作业共有 $A$ 道题,葵每 $1$ 道题可以用 $B$ 秒解出。

求葵解出所有题目需要多少秒。

约束条件

  • $1 \le A \le 100$。
  • $1 \le B \le 100$。
  • 输入的值均为整数。

输入格式

输入按以下格式给出:

A
B

输出格式

输出葵解出所有题目所需的时间,省略单位(秒)。

除答案外不要输出任何内容。(也不要输出提示输入的文字等。)

样例

样例输入 1

5
9

样例输出 1

45

样例解释 1

作业共有 $5$ 道题,葵每 $1$ 道题可以用 $9$ 秒解出。此时,葵可以用 $45$ 秒解出所有题目。

样例输入 2

1
25

样例输出 2

25

样例解释 2

作业共有 $1$ 道题,葵每 $1$ 道题可以用 $25$ 秒解出。此时,葵可以用 $25$ 秒解出所有题目。

样例输入 3

100
100

样例输出 3

10000

样例解释 3

作业共有 $100$ 道题,葵每 $1$ 道题可以用 $100$ 秒解出。此时,葵可以用 $10000$ 秒解出所有题目。

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.