QOJ.ac

QOJ

時間限制: 2 s 記憶體限制: 1024 MB

#23965. שטח

统计

כאשר מגדילים צורה ששטחה $x$ פי $a$, שטחה הופך ל-$x a^2$.

מצאו את השטח כאשר מגדילים צורה ששטחה $Y$ פי $B$.

מגבלות

  • $1 \le Y \le 100$.
  • $1 \le B \le 100$.
  • כל ערכי הקלט הם מספרים שלמים.

קלט

הקלט ניתן בפורמט הבא:

Y B

פלט

הדפיסו את השטח המתקבל כאשר מגדילים צורה ששטחה $Y$ פי $B$.

אל תדפיסו דבר מלבד התשובה. (אל תדפיסו משפטי הנחיה לקלט וכדומה.)

דוגמאות

קלט 1

3 2

פלט 1

12

הערה 1

כאשר מגדילים צורה ששטחה $3$ פי $2$, שטחה הופך ל-$3 \times 2^2 = 12$. לכן מדפיסים $12$.

קלט 2

10 5

פלט 2

250

הערה 2

כאשר מגדילים צורה ששטחה $10$ פי $5$, שטחה הופך ל-$10 \times 5^2 = 250$. לכן מדפיסים $250$.

קלט 3

1 1

פלט 3

1

הערה 3

כאשר מגדילים צורה ששטחה $1$ פי $1$, שטחה הופך ל-$1 \times 1^2 = 1$. לכן מדפיסים $1$.

קלט 4

100 100

פלט 4

1000000

הערה 4

כאשר מגדילים צורה ששטחה $100$ פי $100$, שטחה הופך ל-$100 \times 100^2 = 1000000$. לכן מדפיסים $1000000$.

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.