-
[브론즈 Ⅴ] 21300번 :: Bottle Return / Java백준/브론즈 2022. 4. 29. 20:02
문제
https://www.acmicpc.net/problem/21300
코드
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int beer = scan.nextInt(); int malt = scan.nextInt(); int wine = scan.nextInt(); int drinks = scan.nextInt(); int setzer = scan.nextInt(); int water = scan.nextInt(); scan.close(); System.out.println((beer+malt+wine+drinks+setzer+water)*5); } }
'백준 > 브론즈' 카테고리의 다른 글
[브론즈 Ⅴ] 23234번 :: The World Responds / Java (0) 2022.04.29 [브론즈 Ⅴ] 22193번 :: Multiply / Java (0) 2022.04.29 [브론즈 Ⅴ] 20492번 :: 세금 / Java (0) 2022.04.28 [브론즈 Ⅴ] 20254번 :: Site Score / Java (0) 2022.04.28 [브론즈 Ⅴ] 18301번 :: Rats / Java (0) 2022.04.28