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.