#A. 三颗骰子

    Type: Default 1000ms 256MiB

三颗骰子

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掷了三个骰子。 它们在顶面上显示数字a,b,ca,b,c

求底面上数字的总和。

这里的每个骰子都是标准立方骰子,相对面上的数字之和为 77

输入格式

第一行包含三个整数 a,b,ca,b,c,表示三颗骰子顶面的数字。

输出格式

输出一个整数,表示三个骰子底面上的数字之和。

1 4 3
13

提示

【样例解释】

底面上的数字是6,3,46,3,4。此时有6+3+4=136+3+4=13

【数据范围】

对于所有数据,保证:1a,b,c61\leq a,b,c \leq 6

C23本部开学赛

Not Attended
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