Type: Default 1000ms 256MiB

【例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\le20)

输出格式

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

样例

3 5 7
5

6月9日1540

Not Claimed
Status
Done
Problem
17
Open Since
2024-6-8 0:00
Deadline
2024-6-17 23:59
Extension
24 hour(s)