Skip to content

Commit 1de4ff9

Browse files
committed
[Bronze V] Title: 직사각형, Time: 204 ms, Memory: 17660 KB -BaekjoonHub
1 parent da99755 commit 1de4ff9

8 files changed

Lines changed: 52 additions & 0 deletions

File tree

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# [Bronze V] 직사각형 - 27323
2+
3+
[문제 링크](https://www.acmicpc.net/problem/27323)
4+
5+
### 성능 요약
6+
7+
메모리: 17660 KB, 시간: 204 ms
8+
9+
### 분류
10+
11+
수학, 기하학, 사칙연산
12+
13+
### 제출 일자
14+
15+
2023년 3월 28일 23:31:11
16+
17+
### 문제 설명
18+
19+
<p>정수 <var>A, B</var> 가 주어진다. 세로 길이가 <var>A</var> cm, 가로 길이가 <var>B</var> cm 인 아래와 같은 직사각형의 넓이를 cm<sup>2</sup> 단위로 구하시오.</p>
20+
21+
<p style="text-align: center;"><img alt="" src=""></p>
22+
23+
### 입력
24+
25+
<p>표준 입력에 다음과 같은 형태로 입력이 주어진다.</p>
26+
27+
<pre><var>A</var>
28+
<var>B</var></pre>
29+
30+
### 출력
31+
32+
<p>세로 길이가 <var>A</var> cm, 가로 길이가 <var>B</var> cm인 직사각형의 넓이를 cm<sup>2</sup> 단위로 구하고, 단위 (cm<sup>2</sup>)를 생략하여 출력한다.</p>
33+
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2
2+
3
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
100
2+
1
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
4
2+
4
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
6
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
100
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
16
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import java.util.Scanner;
2+
public class Main {
3+
public static void main(String[] args) {
4+
5+
Scanner sc = new Scanner(System.in);
6+
int a = sc.nextInt();
7+
int b = sc.nextInt();
8+
System.out.println(a*b);
9+
}
10+
}

0 commit comments

Comments
 (0)