Skip to content

Commit b5f423f

Browse files
committed
[Bronze V] Title: Conveyor Belt Sushi, Time: 8 ms, Memory: 69100 KB -BaekjoonHub
1 parent e7ca070 commit b5f423f

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
let rgb = (0..<3).map { _ in Int(readLine()!)!}
2+
print(rgb[0]*3 + rgb[1]*4 + rgb[2]*5)
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# [Bronze V] Conveyor Belt Sushi - 32326
2+
3+
[문제 링크](https://www.acmicpc.net/problem/32326)
4+
5+
### 성능 요약
6+
7+
메모리: 69100 KB, 시간: 8 ms
8+
9+
### 분류
10+
11+
사칙연산, 수학
12+
13+
### 제출 일자
14+
15+
2025년 2월 24일 21:11:50
16+
17+
### 문제 설명
18+
19+
<p>There is a new conveyor belt sushi restaurant in town. Plates of sushi travel around the restaurant on a raised conveyor belt and customers choose what to eat by removing plates.</p>
20+
21+
<p>Each red plate of sushi costs <span>$</span>3, each green plate of sushi costs <span>$</span>4, and each blue plate of sushi costs <span>$</span>5.</p>
22+
23+
<p style="text-align: center;"><img alt="" src="https://upload.acmicpc.net/77e6d02a-8f8b-43c9-85e4-4a497f89ba40/-/preview/" style="width: 462px; height: 75px;"></p>
24+
25+
<p>Your job is to determine the cost of a meal, given the number of plates of each colour chosen by a customer.</p>
26+
27+
### 입력
28+
29+
<p>The first line of input contains a non-negative integer, R, representing the number of red plates chosen. The second line contains a non-negative integer, G, representing the number of green plates chosen. The third line contains a non-negative integer, B, representing the number of blue plates chosen.</p>
30+
31+
### 출력
32+
33+
<p>Output the non-negative integer, C, which is the cost of the meal in dollars.</p>
34+

0 commit comments

Comments
 (0)