三颗骰子
You cannot submit for this problem because the contest is ended. You can click "Open in Problem Set" to view this problem in normal mode.
题目描述
Timi掷了三个骰子。 它们在顶面上显示数字。
求底面上数字的总和。
这里的每个骰子都是标准立方骰子,相对面上的数字之和为 。
输入格式
第一行包含三个整数 ,表示三颗骰子顶面的数字。
输出格式
输出一个整数,表示三个骰子底面上的数字之和。
1 4 3
13
提示
【样例解释】
底面上的数字是。此时有。
【数据范围】
对于所有数据,保证:。
C23本部开学赛
- Status
- Done
- Rule
- IOI
- Problem
- 6
- Start at
- 2024-3-7 12:35
- End at
- 2024-3-7 14:11
- Duration
- 1.6 hour(s)
- Host
- Partic.
- 23