#A. A - Repression

    传统题 1000ms 256MiB

A - Repression

该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。

A - Repression

Score : $100$ points

Problem Statement

There are three cards on the desk, each with a positive integer written on it. The integers on the cards are $A$, $B$, and $C$.

You have chosen two cards and picked them up.

Find the maximum possible sum of the integers written on the picked cards.

Constraints

  • $1 \leq A,B,C \leq 100$
  • All values in input are integers.

Input

Input is given from Standard Input in the following format:

AA BB CC

Output

Print the answer as an integer.


3 4 5
9

If you pick up two cards with $4$ and $5$, the sum of the integers will be $4+5=9$.

There is no way to pick up cards with a greater sum, so we should print $9$.


6 6 6
12

Whichever two cards you choose, the sum of the integers will be $12$.


99 99 98
198

2025寒假ATC码力训练营第十次练习(提前)

未参加
状态
已结束
规则
IOI
题目
5
开始于
2025-2-2 8:00
结束于
2025-2-2 9:30
持续时间
1.5 小时
主持人
参赛人数
1