Logo
(追記) (追記ここまで)

6855번 - The New CCC (Canadian Calorie Counting) 다국어

시간 제한메모리 제한제출정답맞힌 사람정답 비율
1 초 128 MB71281967.857%

문제

At Chip’s Fast Food emporium there is a very simple menu. Each food item is selected by entering a digit choice.

Here are the three burger choices:

  1. Cheeseburger (461 Calories)
  2. Fish Burger (431 Calories)
  3. Veggie Burger (420 Calories)
  4. no burger

Here are the three drink choices:

  1. Soft Drink ( 130 Calories)
  2. Orange Juice (160 Calories)
  3. Milk (118 Calories)
  4. no drink

Here are the three side order choices:

  1. Fries (100 Calories)
  2. Baked Potato (57 Calories)
  3. Chef Salad (70 Calories)
  4. no side order

Here are the three dessert choices:

  1. Apple Pie (167 Calories)
  2. Sundae (266 Calories)
  3. Fruit Cup (75 Calories)
  4. no dessert

Write a program that will compute the total Calories of a meal.

입력

The program should prompt the user for a number for each type of item then calculate and display the Calorie total. You may assume that each input will be a number from 1 to 4. That is, each customer has to pick exactly one number from each of the four options out of each of the four categories.

출력

The program prints out on the screen the total Calories of the selected meal, and stops executing after this output.

제한

예제 입력 1

2
1
3
4

예제 출력 1

Your total Calorie count is 649.

힌트

출처

Olympiad > Canadian Computing Competition & Olympiad > 2006 > CCC 2006 Junior Division 1번

(追記) (追記ここまで)

출처

대학교 대회

  • 사업자 등록 번호: 541-88-00682
  • 대표자명: 최백준
  • 주소: 서울시 서초구 서초대로74길 29 서초파라곤 412호
  • 전화번호: 02-521-0487 (이메일로 연락 주세요)
  • 이메일: contacts@startlink.io
  • 통신판매신고번호: 제 2017-서울서초-2193 호

AltStyle によって変換されたページ (->オリジナル) /