【例6.2】捡石头

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.

说明

幼儿园小朋友昨天捡到3块小石头,想再去捡一块小石头,让这44块石头正好一共重2020斤,请问他应该去捡一块多少斤的石头?

输入格式

三个整数 aa bb cc,是这三块石头的重量(斤)。(0<a,b,c,a+b+c200 < a,b,c,a+b+c≤20)

输出格式

一个整数,是第四块石头的重量(斤)。

样例

3 5 7
5

语法组 8.4~8.6作业 顺序结构

Not Claimed
Status
Done
Problem
44
Open Since
2023-8-4 9:45
Deadline
2023-8-7 0:00
Extension
0 hour(s)