長方形 (Rectangle)
Unrated
日本語
Language
Contribute a translation- Time limit
- 2000 ms
- Memory limit
- 1024 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
整数 \(A, B\) が与えられる.縦の辺の長さが \(A\:\mathrm{cm}\),横の辺の長さが \(B\:\mathrm{cm}\) である下図のような長方形の面積は何 \(\mathrm{cm}^2\) か求めよ.
Constraints
- \(1 \leqq A \leqq 100\).
- \(1 \leqq B \leqq 100\).
- \(A, B\) は整数である.
Input
入力は以下の形式で標準入力から与えられる.
\(A\)
\(B\)
Output
縦の辺の長さが \(A\:\mathrm{cm}\),横の辺の長さが \(B\:\mathrm{cm}\) である長方形の面積は何 \(\mathrm{cm}^2\) か,単位 (\(\mathrm{cm}^2\)) を省いて出力せよ.
Examples
Sample input 1
2 3
Sample output 1
6
縦の辺の長さが \(2\:\mathrm{cm}\),横の辺の長さが \(3\:\mathrm{cm}\) である長方形の面積は \(6\:\mathrm{cm}^2\) であるから,\(6\) を出力する.
Sample input 2
100 1
Sample output 2
100
Sample input 3
4 4
Sample output 3
16
Notes
JOI 2023 · JCIOI · CC BY-SA 4.0
Tags
No tags yet